Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple READ EVENTS question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00095596
Message ID:
00095823
Vues:
34
>There are some minor problems with this code, but they shouldn't make much harm. Anyway, try to start your form in more uniformed way, i.e. create custom property in main form, e.g. frmSearch and start search form with command
>DO FORM search NAME Mainform.frmSearch LINKED
>Doing you will make sure that scope is OK because you linked it to main form property. Also, you better use This or Thisform keywords in your INIT, ACTIVATE events (they are events not methods)


Well Ed, Things are good now! I created a custom property in my main form called frmsearch and the value is also frmsearch.

DO FORM search NAME THISFORM.frmSearch LINKED &&Calling form

One question though. How do I refer to this search form other than by THISFORM reference while in that form (after instanciating). Do I use mainform.frmsearch.? or is there another reference?

Thanks!

John.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform