Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms not Loading
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00362745
Message ID:
00362842
Views:
14
Paul,
What types of forms are these that don't sho? Are they SCX or VCX based? SCX-based forms default to Visible = .T.. If they are VCX-based, the default is to not show the form. Look at the call to oForm.DoForm. The third parameter should be .T. to show the form.

WRT your ON KEY LABEL probkems. The XXFWMAIN program creates a cusotm class and stores all the ON KEY LABEL information to array properties of that class. These settings are set to VFP defaults and then restored on application exit. You will need to set this ON KEY LABEL in the application subclass of your ctrApp in the SetupKeyboard method.

HTH.

>Hi,
>
>I went through upgrading one of my Visual Maxframe Pro 3.01 apps to 4.0 last Thur and Fri. Today I notice that alot of my forms won't run from the menu anymore. So far they seem to be subclassed from the frmdataentry class. In following the code through the debugger...I am noticing that the forms that don't load have their visible property set to .F. when oForms.DoForm() calls oMenu.AddWindowMenuItem(THIS.iaFormInstances[lnThisArrayRow,1]). I do not set the visible property .f. anywhere from within the code.
>
>The other problem I am running into is that I have an On Key Label command in my scmain program as follows: ON KEY LABEL CTRL+F2 DO FORM COMMAND. This no longer works either...I put a set step on in the load event of my command form and that never even fires...so I don't know if my OKL is no longer working or what?
>
>Any input would be greatly appreciated,
>
>Paul Acton
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform