Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Combo Question
Miscellaneous
Thread ID:
00950768
Message ID:
00950768
Views:
55
I want to set the width of a combo in code. I have the following code:

The width of the drop down section is wider than the control. How can
I can I make it equal to the width of the control?
WITH ThisForm.combo1

  .ColumnCount = 2
  .ColumnWidths = TRANSFORM(.Width) + ",0"
  .ColumnLines = .F.
	
  .AddListItem("One", 1, 1)
  .AddListItem("One1", 1, 2)
	
  .AddListItem("Two", 2, 1)
  .AddListItem("Two2", 2, 2)

  .AddListItem("Three", 3, 1)
  .AddListItem("Three3", 3, 2)

ENDWITH

RETURN
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform