Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you make a UDW Modal?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Can you make a UDW Modal?
Miscellaneous
Thread ID:
00073571
Message ID:
00073571
Views:
93
I have a Browse Window -BW- activated from a toolbar for current table or view.
On the Toolbar is an exit for that Browse.
A ‘creative user’ moved the BW, activated an inactive screen, clicked the exit =Error.
I added “show window BW” at the beginning of EXIT to get rid of the invalid reference Err.

I believe a PROPER (or at least cleaner) way to handle this would be to make BW MODAL
Snippets follow -
*Startup
Define Window BW NAME 'BW' FROM 0,0 TO 34,80;
HALFHEIGHT IN SCREEN && Main Brow Wind
ACTIVATE WINDOW BW noshow
HIDE WINDOW BW
...
SHOW WINDOW BW
...
*Exit for the Browse
HIDE WINDOW 'BW'
WINDOWNAME= ALIAS()
RELEASE WINDOW &WINDOWNAME

Ready for suggestions, for a better programming tomorrow. Ed B
Edgar L. Bolton, B.S. B.B.A.
Next
Reply
Map
View

Click here to load this message in the networking platform