Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Combo boxes
Message
From
02/10/2002 21:04:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Problem with Combo boxes
Miscellaneous
Thread ID:
00707177
Message ID:
00707177
Views:
56
HI all,

I am having a problem with the VFP 7 comboboxes. The problem is that the combo box loses focus when the number of characters you have typed in reaches a certain percentage of the actual width of the combo box.
Example:
Combo Box Width (pixels)       Number of characters
200                            34
350                            64
500                            94
Screen Shot


Here is the code to get the problem:
DEFINE CLASS comboprobclass AS form


	Top = 0
	Left = 0
	Height = 130
	Width = 535
	DoCreate = .T.
	Caption = "Form1"
	Name = "Form1"


	ADD OBJECT combo1 AS combobox WITH ;
		Height = 24, ;
		Left = 12, ;
		Top = 12, ;
		Width = 200, ;
		Name = "Combo1"


	ADD OBJECT combo2 AS combobox WITH ;
		Height = 24, ;
		Left = 12, ;
		Top = 48, ;
		Width = 350, ;
		Name = "Combo2"


	ADD OBJECT combo3 AS combobox WITH ;
		Height = 24, ;
		Left = 12, ;
		Top = 84, ;
		Width = 500, ;
		Name = "Combo3"


ENDDEFINE
Can anybody please help me with this problem ?

Thank you

Chris Ormerod
Have a nice day :)
Next
Reply
Map
View

Click here to load this message in the networking platform