Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: SelectedBackcolor for textbox with EnableHyperlinks
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01235547
Message ID:
01235754
Views:
19
Hi Fred,
I try this and don't see problem
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
*************************************************
*-- ParentClass:  form
*-- BaseClass:    form
*-- Time Stamp:   06/26/07 08:35:14 PM
*
DEFINE CLASS form1 AS form
	DoCreate = .T.
	Caption = "Form1"
	Themes = .F.
	Name = "Form1"

	ADD OBJECT text1 AS textbox WITH ;
		Value = "www.microcomplex.com", ;
		Height = 39, ;
		Left = 46, ;
		Top = 66, ;
		Width = 317, ;
		EnableHyperlinks = .T., ;
		SelectedBackColor = RGB(0,0,0), ;
		Themes = .T., ;
		Name = "Text1"

	ADD OBJECT command1 AS commandbutton WITH ;
		Top = 163, ;
		Left = 110, ;
		Height = 28, ;
		Width = 166, ;
		Caption = "Command1", ;
		Name = "Command1"
ENDDEFINE
*
*-- EndDefine: form1
**************************************************
>>>When EnableHyperlinks is true in a textbox, the SelectedBackcolor becomes always black. Anybody knows how to set it to a specific color?
>>>
>>>Ben
>>
>>Hi Ben,
>>I cann't reproduce this behavior in vfp9 SP1.
>>Post a example.
>
>If you create a TextBox and set the .EnableHyperLinks property, the selected backcolor is always black, no matter what you may have in the .SelectedBackColor property. If you disable the .EnabledHyperLinks property, the .SelectedBackColor will be whatever you have chosen.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform