Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loss of form Close under menu
Message
From
24/06/2001 08:14:09
 
 
To
24/06/2001 03:55:12
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00522862
Message ID:
00522869
Views:
8
You can control the for top by creating two mothods.

top_access, top_assign

in the top_assign method place this code:
LPARAMETERS vNewVal
if vnewval < 0
	vNewval = 0
ENDIF
THIS.TOP = m.vNewVal
in the top_access method:
return this.top
this will prevent the user from moving the form under the first row of the toolbar. You can adjust the "minimum" values to your liking.



>Sometimes when (large) forms get pushed up too high on the screen, the close box goes under the menu and can't be accessed. If there is no other exit/close button on the form, I can't close it - the only answer is to crash the db. Is it possible to stop this form behaviour? Many thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform