In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Setting oSeek in TDbfBrowse ??

Xailer English public forum
Responder
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Setting oSeek in TDbfBrowse ??

Mensaje por ChrisGillard »

Am experimenting with oSeek & onSeek in TDbfBrowse.
Seeking in browse works as keys are pressed.
Have had some problem setting oSeek in the property inspector .... sometimes
the property inspector does not show what is in the xfm ... see attached
..png.
This also happens if I choose a different TLabel to assign to oSeek in the
Propert Inspector ... the XFM does not always change chang to show new
choice of TLabel.
To solve problem I have now manually edited the .xfm outside of Xailer ...
but my change is NOT reflected in the property inspector ... see .png.
Top of .prg does show Property ::oSuppSeekLbl
Is it possible there is a small bug in the IDE or am I doing something
wrong.
Chris Gillard


Attached files
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9442
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Setting oSeek in TDbfBrowse ??

Mensaje por ignacio »

Crhis,
There can be a problem if the oSeek control is created after the browse. The
best way to do it, is to assign the control on the TForm:OnInitialize event.
Indeed we should take of that property from the object inspector, but we may
brake some people code.
Regards,
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=465ca54c@ozsrv2.ozlan.local...]465ca54c@ozsrv2.ozlan.local...[/email]
> Am experimenting with oSeek & onSeek in TDbfBrowse.
>
> Seeking in browse works as keys are pressed.
>
> Have had some problem setting oSeek in the property inspector ....
> sometimes
> the property inspector does not show what is in the xfm ... see attached
> .png.
>
> This also happens if I choose a different TLabel to assign to oSeek in the
> Propert Inspector ... the XFM does not always change chang to show new
> choice of TLabel.
>
> To solve problem I have now manually edited the .xfm outside of Xailer ...
> but my change is NOT reflected in the property inspector ... see .png.
>
> Top of .prg does show Property ::oSuppSeekLbl
>
> Is it possible there is a small bug in the IDE or am I doing something
> wrong.
>
> Chris Gillard
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Setting oSeek in TDbfBrowse ??

Mensaje por ChrisGillard »

Ignacio,
Understood ... manually assigning works OK.
I will work that way in future.
Regards
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:[email=465d9bc9@ozsrv2.ozlan.local...]465d9bc9@ozsrv2.ozlan.local...[/email]
> Crhis,
>
> There can be a problem if the oSeek control is created after the browse.
> The best way to do it, is to assign the control on the TForm:OnInitialize
> event. Indeed we should take of that property from the object inspector,
> but we may brake some people code.
>
> Regards,
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:[email=465ca54c@ozsrv2.ozlan.local...]465ca54c@ozsrv2.ozlan.local...[/email]
>> Am experimenting with oSeek & onSeek in TDbfBrowse.
>>
>> Seeking in browse works as keys are pressed.
>>
>> Have had some problem setting oSeek in the property inspector ....
>> sometimes
>> the property inspector does not show what is in the xfm ... see attached
>> .png.
>>
>> This also happens if I choose a different TLabel to assign to oSeek in
>> the
>> Propert Inspector ... the XFM does not always change chang to show new
>> choice of TLabel.
>>
>> To solve problem I have now manually edited the .xfm outside of Xailer
>> ...
>> but my change is NOT reflected in the property inspector ... see .png.
>>
>> Top of .prg does show Property ::oSuppSeekLbl
>>
>> Is it possible there is a small bug in the IDE or am I doing something
>> wrong.
>>
>> Chris Gillard
>>
>>
>>
>>
>
>
Responder