Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: menu on As Top with HalfHeightCaption
Message
From
28/09/2005 09:11:45
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
BUG: menu on As Top with HalfHeightCaption
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01053884
Message ID:
01053884
Views:
55
Expected:
MENU BAR and HalfHeightCaption are mutually exclusive ( uses the same area )
then :
an Error "Form attribute incompatible" and ignore the command

Observed: VFP try to put the menu, but it have a paint collision in NC area
( go over the form icon and you see the pad's prompt "Open")

Repro:
PUBLIC FTOP
FTOP = NEWOBJECT("ASTOP")
FTOP.SHOW

DEFINE CLASS ASTOP AS Form
	
	showwindow = 2
	Caption = "PAINT COLLISION NC"

	PROCEDURE LOAD
		DEFINE MENU ASTOP1  BAR IN (thisform.name)
		DEFINE PAD open OF ASTOP1 PROMPT "open"

		thisform.HalfHeightCaption = .T.
		ACTIVATE MENU ASTOP1
*		thisform.HalfHeightCaption = .T.
		
	PROCEDURE UNLOAD
		RELEASE MENU ASTOP1
		
ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform