Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Forms
Message
 
To
22/01/1997 03:22:42
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00017849
Message ID:
00018074
Views:
74
>>>>Your forms are not modal, are they?
>>>>
>>>>Marc
>>>
>>>Marc:
>>>
>>>No, the forms are modeless. Only the form mentioned in 2) above is modal, as is the MessageBox, of course. The problem appears to occur whenever I try to invoke a modal form on top of a screen containing two modeless forms.
>>>
>>>Any ideas? Thanks for kicking in . . . .
>>>
>>>John
>>
>>John,
>> Just a thought, but do you have the AlwaysOnTop property set to .T. in your modeless forms?
>>
>>Bill
>
>Bill and Mark,
>
>No, the AlwaysOnTop property is .F. for both modeless forms. The second form (the visible one) contains a pageframe with a tab for expenses. The tab also contains a command button for payments. The Click() event for that button pops up a modal form for entering data into the selected record--pretty straightforward stuff. The form is visible, but I get no cursor unless I Hide() the second form before popping up the payment form.
>
>I pop up the MessageBox for confirmation whenever the user wants to delete an expense record. It is often (but not always) invisible unless I Hide() the second form. The workaround is successful, if somewhat ugly. I just can't figure out what's going on.
>
>Thanks to both of you for helping. Any ideas?
>
>John

I am not sure if it suits in your case, but what if you try to use containers instead of forms, which may be invisible and pop-up when you need them?

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform