General information
Category:
Forms & Form designer
OBJNUM() relied on knowing which control you are using. You can do the same with object and setfocus(). I suggested bindevent() so you can do all this without having to add code to all of your classes. In my framework, I have code in all my base classes lostfocus() event to save the oLastActiveControl so I can set the focus back to a control after a save or cancel.
>>Hee Lim,
>>
>>If you are using vfp8 you can use bindevent() to do this.
>>
>>>Thanks !
>>>Is there any way to apply all controls in the form but don't have to write coding in all the controls ?
>
>You used to be able to do it very easily in FPW2.6
>
>If you are using FPW2.6 _CUROBJ=OBJNUM(m.object)-1 or +1
>
>With the advent of VFP we have gone backwards in that dept.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only