Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display define windows on form
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01130481
Message ID:
01130492
Views:
9
This message has been marked as the solution to the initial question of the thread.
>Boris thanks for you reply, i run this prg "do new"
>where i will be put these codes.
>when i put in prg. i get message this can use with a method...

O, If you invoke this PRG from within a Form pass the form name as parameter:
* Within form:
Do New WITH thisform.New

** Outside form:
Do New WITH thisform.New

** Change New.Prg

LPARAMETERS lcFormName

IF VARTPE(lcFormName) == [C]
   DEFINE WINDOW ....... IN WINDOW (lcFormName)
ELSE
   DEFINE WINDOW ....... 
ENDIF
.....
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform