Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG ? - X not enabled
Message
From
16/02/2005 22:59:43
Suhas Hegde
Dental Surgeon
Sirsi, India
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Miscellaneous
Thread ID:
00987428
Message ID:
00987750
Views:
46
>You have WindowType = 1 which is MODAL which is probably why your _screen close button is disabled. Change the WindowType to 0, recompile and see if that fixes the problem.
>
Hi Mark,

If i set windowtype = 1 the application just flashes and disappears.

Can someone Please try and confirm ? it will take only 3 minutes
Create a formset.
add a form
form2.visible = .f.
form1.visible = .t.
form1.titlebar = 0
form2.titlebar = 0
formset.windowtype = 1 && needed otherwise there will be no read events. the formset will just splash and disappear
formset.load()
 on shutdown quit
add a button on form1
form1.cmd1.click()
 thisformset.release
Build the form into a exe

Run the exe , minimise and restore check the 'X' on the right top corner??

Thanx

Suhashegde
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform