Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modeless - modal - modeless - x doesn't work?
Message
From
13/04/2007 13:07:50
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01215603
Message ID:
01215616
Views:
17
>>>Hi everybody,
>>>
>>>I'm wondering if this is a known issue. I have a modeless form (Search), which calls Modal form (Search results), which can call modeless form (Ticket). Doing it in this sequence causes the Ticket form to not respond on pressing x in the upper right corner.
>>>
>>>Am I wrong in this sequence? Should I try to make the Ticket form Modal if called from Modal form?
>>
>>This is what I would do. The Modal/Modeless property can be changed in the init of the form
>>
>>cheers,
>
>Hi Gregory,
>
>Would it work if I make the Ticket form Modal on the fly? Need to find the techinique for that, I forgot.

Yes,

I think you can change the WindowType property as long as the form has not been displayed

What I do.... My standard form class has two parameters in the init. CallingObject and WindowType

I may set/override the form's WindowType property in the init of the form
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform