Página 1 de 1

Setting oSeek in TDbfBrowse ??

Publicado: Mié May 30, 2007 12:13 am
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

Setting oSeek in TDbfBrowse ??

Publicado: Mié May 30, 2007 5:44 pm
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
>
>
>
>

Setting oSeek in TDbfBrowse ??

Publicado: Jue May 31, 2007 4:44 pm
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
>>
>>
>>
>>
>
>