Hi
I am using CreateObject to create a form. Everything runs fine except when I try and include Screen=OFF in my config.fpw to get rid of the main VFP screen and then my form flashes on the screen. When I try and set the .showwindow=2 it tells me that is read only at runtime.
I have been able to do this in the past when designing a form but this is the first time using createobject.
Below is part of the code.
Myfrm = CreateObject("Form"
Myfrm.ALWAYSONTOP = .F.
Myfrm.AutoCenter=.T.
Myfrm.WindowType = 1
Myfrm.Height = 180
Myfrm.Width = 300
Thanks for the help!
Anthony
I am using CreateObject to create a form. Everything runs fine except when I try and include Screen=OFF in my config.fpw to get rid of the main VFP screen and then my form flashes on the screen. When I try and set the .showwindow=2 it tells me that is read only at runtime.
I have been able to do this in the past when designing a form but this is the first time using createobject.
Below is part of the code.
Myfrm = CreateObject("Form"
Myfrm.ALWAYSONTOP = .F.
Myfrm.AutoCenter=.T.
Myfrm.WindowType = 1
Myfrm.Height = 180
Myfrm.Width = 300
Thanks for the help!
Anthony