Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set a read only property of form created with code
Message
From
03/01/2011 05:15:45
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
03/01/2011 05:06:06
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01494408
Message ID:
01494409
Views:
107
This message has been marked as the solution to the initial question of the thread.
>Hi All,
>
>That doesn't work. What can I do?
>
>
>oCalForm = CreateObject('form')
>ocalform.showwindow=1
>
From Help:
Available at design time; read-only at run time.

set class showwindow=1 at design time

if you need the form in both ways you need to create a childclass of 'form' with the "other" Value and instantiate the one or the other as needed.

HTH

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform