Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force to lost focus
Message
From
07/06/2001 07:02:20
Dino Liberale
Ministero Lavori Pubblici
Trieste, Italy
 
 
To
07/06/2001 06:23:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00516198
Message ID:
00516205
Views:
18
>>I have a form with a navigation toolbar, when in textbox you insert something and don't press TAB or ENTER or click on a object of form, but you click on a btn of toolbar the pointer moves and inserted data in textbox will be lost.
>>This is all because the value of textbox goes in the field when lostfocus, with toolbar the focus isn't lost in textbox.
>>
>>How to force this process ?
>>
>>T.I.A.
>>
>>Dino
>
>
if type('_screen.activeform.activecontrol')= 'O' and ;
> !isnull(_screen.activeform.activecontrol)
> _screen.activeform.activecontrol.valid
>endif
Cetin

Thenks Cetin,

I try your code, put it in click event of my CmdNext button of toolbar, but the focus remain on textbox and its value doesn't replace the data field. So it doesn't work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform