Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple READ EVENTS question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095596
Message ID:
00095949
Views:
27
>>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.

Internally, you use Thisform; externally- Mainform.frmSearch
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform