Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Combo Question
Divers
Thread ID:
00950768
Message ID:
00950768
Vues:
56
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform