Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview.SelectedItem
Message
De
16/03/2004 16:25:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00885264
Message ID:
00886867
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform