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.