Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview.SelectedItem
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00885264
Message ID:
00886867
Views:
14
Hi Terry.

Then why won't the following show a form when I comment out "PUBLIC frmForm"?

Because there is no READ EVENTS < s >. Try this instead
* myForm.PRG
PRIVATE frmForm
frmForm=CREATEOBJECT('subForm')
frmForm.Show()
READ EVENTS

DEFINE CLASS subForm AS FORM
CAPTION=[Form name needs to be public]
ADD OBJECT text1 AS textbox
text1.value=[Hello world]

PROCEDURE queryunload
  this.release
ENDPROC
ENDDEFINE
Previous
Reply
Map
View

Click here to load this message in the networking platform