Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal forms
Message
 
To
17/05/2001 14:31:57
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00508456
Message ID:
00508559
Views:
20
lets say you have three forms, all model.
menu
search
detail.

menu is model, you click a menu option, but the menu says there.(working fine huh)

now search, (once again model) unless you release it, you cant make it go away. thats usually becuase it has to stay active, because you have activated the form three, detail. form.

One work arround is to use the thisform.hide() for the search form to not only make it not functioning, but also not visible.

you really dont want to close the find... becuase its what calls your detail form, and remembering what happens with OOP, that could cause problems, with danglinging refrences.


for whats its worth, I found that working with modeless forms really was much eaiser, and provide cleaner user interface. IE in your instance( and I have few like that as well) if the user goes back to the search screen again.(and they will, I just check for that. and use release the detail screen then.

this allows them to seach for something, see it wasnt what they wanted, go right back to the seach, witout having to think about closing the detail page. when they find a new record. a new detail page is shown.

Long story short, when you put a new model form active, at that point nothing in the prev screen, is even active, in code or users controled. only the controls and function avail on the new screen. (I might be wrong on this) and please someone correct me if I am.) but that at least been my experience.

bob Lee


forms>Thisform.RELEASE doesn't work? I have all my forms in Modal settings
(so can not use other selections in the menu, but that's not the only reason). I have a 'Find' form to locate varies stuff and then want to CLOSE that form and open the next form. Right now, I have both form open (the second form covers the little form behind it). I even have Thisform.RELEASE right before opening the second form, no effect!?!? I could make those two forms Modalless, that's the only way? How to do it otherwise (and keep the Modal)?
>
>Chuck
In the beginning, there was a command prompt, and all was well.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform