>>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
Thank you,
You right... :)