Hi!
How can I force a CardItem to be visible?
CardBox:nIndex sets the focus to a card but does not scroll to it when the card is not visible.
Regards, Timm
CardBox: Force a card to be visible
- ignacio
- Site Admin
- Mensajes: 9256
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: CardBox: Force a card to be visible
Hi Timm,
I see what I can do and I let you know ASAP.
Regards,
I see what I can do and I let you know ASAP.
Regards,
- ignacio
- Site Admin
- Mensajes: 9256
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Re: CardBox: Force a card to be visible
Hi,Timm escribió:Hi!
How can I force a CardItem to be visible?
CardBox:nIndex sets the focus to a card but does not scroll to it when the card is not visible.
Regards, Timm
I expect you only have problems with the TDBCardBox. If is that the case you can fix it with this simple code on XDBCardBox class:
Código: Seleccionar todo
METHOD SetIndex( Value ) CLASS XDBCardBox
::oDataSet:GoTo( Value )
RETURN ::Super:SetIndex( Value )
Regards,
Re: CardBox: Force a card to be visible
Hi!
Works, many thanks!
Regards, Timm
Works, many thanks!
Regards, Timm
Re: CardBox: Force a card to be visible
Thank you Ignacio, this solves my problem too.
BiSoft Desarrollo de software profesional
http://www.bisoft.es
http://www.bisoft.es