Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINDEVENT() and show
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018223
Message ID:
01018228
Views:
15
>Is there a problem with this command? I think it causes an C..05 error.
>
>BINDEVENT(THISFORM,"SHOW",THIS,"SET_FORM_SIZE",1)
>
>I have it in the INIT of a class that is on a form. I want to run my "SET_FORM_SIZE" method after the form INIT. Using BINDEVENT(THISFORM,"ACTIVATE",THIS,"SET_FORM_SIZE",1) does work but the form flashes before it is sized.

Why just not put:

thisform.Set_Form_Size() in Init Event of the form?

I'll try your code to see what happens.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform