Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hot tracking checkbox no longer transparent
Message
De
24/06/2007 17:04:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Hot tracking checkbox no longer transparent
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01235262
Message ID:
01235262
Vues:
69
Hi All,

A graphical, hot tracking checkbox has always been 'transparent' when moving the mouse over it (not clicking) in VFP7, but no longer is so in VFP9. The setting of Themes (of the checkbox and of the form) appears to have no influence.

I have produced some code and put it hereunder. If run in VFP7, it will show the transparency. If run in VFP9, it will show the backcolor that's typical for normal buttons.

Is this a bug? Or is it by (new) design?
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show
RETURN

DEFINE CLASS form1 AS form
	Top = 0
	Left = 0
	Height = 96
	Width = 232
	DoCreate = .T.
	Caption = "Form1"
	BackColor = RGB(255,255,128)
	Name = "Form1"

	ADD OBJECT check1 AS checkbox WITH ;
		Top = 24, ;
		Left = 48, ;
		Height = 30, ;
		Width = 66, ;
		Alignment = 0, ;
		Caption = "Hello", ;
		SpecialEffect = 2, ;
		Style = 1, ;
		Name = "Check1"


	ADD OBJECT check2 AS checkbox WITH ;
		Top = 24, ;
		Left = 132, ;
		Height = 30, ;
		Width = 66, ;
		Alignment = 0, ;
		Caption = "Hello", ;
		SpecialEffect = 2, ;
		Style = 1, ;
		Name = "Check2"
ENDDEFINE
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform