Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: menu on In Top desktop with HalfHeightCaption
Message
De
28/09/2005 09:15:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
BUG: menu on In Top desktop with HalfHeightCaption
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01053888
Message ID:
01053888
Vues:
50
This is not documented.
But the cause is the same of the Message #1053884

Expected:
MENU BAR and HalfHeightCaption are mutually exclusive ( uses the same area )
then :
an Error "Form attribute incompatible" and ignore the command

Observed: Visual FoxPro 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 = 1
	Desktop	   = .t.
	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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform