Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG using HalfHeightCaption = .T. & COntrolBox = .F.
Message
 
 
To
13/10/2003 12:00:51
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00838151
Message ID:
00838162
Views:
20
It's a bug in VFP8SP1. I don't see it in VFP7SP1. To work around this bug, set following properties
MinButton = .F.
MaxButton = .F.
>Hi All
>Using HalfHeightCaption = .T. and COntrolBox = .F. in a form i noticed that pressing on the title where the control box normally is displayed (near the right end of the title) is ossible to minimize and maximize the form.
>Infact for a piece of a moment pressing over a "hidden" button i see the button.
>
>Below the example code.
>I'm Using VFP 8 SP1
>
>
>
>o = CREATEOBJECT('form1')
>o.show(1)
>RETURN
>DEFINE CLASS form1 AS form
>	ControlBox = .F.
>	HalfHeightCaption = .T.
>
>	ADD OBJECT command1 AS commandbutton WITH ;
>		Top = 168, ;
>		Left = 60, ;
>		Height = 27, ;
>		Width = 84, ;
>		Caption = "exit", ;
>		Name = "Command1"
>
>
>	PROCEDURE command1.Click
>		RELEASE thisform
>	ENDPROC
>ENDDEFINE
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform