Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showwindow property in code...
Message
 
To
30/05/2001 14:22:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00512810
Message ID:
00512946
Views:
6
You mean you defined a class form in code, in a .prg?
If so, then you can set the property based on a parameter or some conditions, like:
*-- yourProg.prg
parameter tnShowWin
private nShowWin

nShowWin = iif(type('tnShowWin')='N', tnShowWin, 0)

loForm=createobject('myForm')

define class myForm as form
...
	showwindow = nShowWin
...
enddefine
>I wrote code to define a form.If design this form with Form Designer set ShowWindow property to 1(in top-level form).How make this in code ? (because this property is available at design time,read only at run time)
>
>Thanks in advance,
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform