Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CListObjEdit override
Message
From
03/08/1999 11:18:56
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00247732
Message ID:
00249245
Views:
16
>>I'm using the cListObjEdit class in a cBizObjForm. The SetButtonEnabledStatus method of this class contains a SetFocus to the cmdAdd button which voids some of the functionality of my form. What should be the best workaround other than copying and pasting the code (without the SetFocus) into the subclass or modifying the MMF class?>
>
>You could place code something like the following in the SetButtonEnabledStatus method:
>
>DODEFAULT()
>
>
>Regards,

Hi Kevin

If I place the DODEFAULT() it'll be the only line into that subclass method, so I may don't even to place it there.

I need almost the complete functionality of the original MM class except for a line of code that issues a SetFocus() and is in the middle of this original method code.

Your next line of your reply is invisible at the thread because it is enclosed between some markers.

There is some elaborated code to keep the focus in a ComboBox and allow the user to navigate into a hierarchy that display its children records very nicely by the use of the cListObjEdit class. I’ll try it anyway a SetFocus after the DODEFAULT().

Thanks and regards.

Oscar
Previous
Reply
Map
View

Click here to load this message in the networking platform