Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET LIBRARY TO in subclassed textbox
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00678034
Message ID:
00678111
Views:
16
Sergey,

>Also, the init of the form fires after all controls on the form are created. The load would be the better place to put SET LIBRARY TO focus ADDITIVE.

If the textbox is the entity that needs the functionality, it's better encapsulation to let the textbox put the library into the environment, intstead of forcing the form to "know" that it's going to use a textbox that needs those functions.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform