>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.
OffThere is no place like [::1]