Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Drop Down Appearance problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00585690
Message ID:
00585695
Views:
21
I'm not sure I've understood correctly but you can specify the width of the combo by setting the ColumnWidths property.

However, I have notised that this only works when you have a 2 column combo so...
with loCombo
  .RowsourceType=6
  .RowSource=table.Text,SomeOtherField
  .ColumnCount=2
  .ColumnLines=.F.
  .ColumnWidth=150,0
endwith
Where 150 is your desired width.

HTH

>Hi, I have a picky detail I would like to solve...
>
>In my comboboxe's dropdown I set the rowsource (if it has not already been set..)
>
>So I do the following.
>-check if the drop down has been pressed.
>-if not create a cursor and set it as the rowsource...
>
>The only problem is the firsts time I popuplate the rowsource cursor..
>The width of the drop down list is much smaller ...Then the second time
>I press the drop down it looks normal..That is the length of the drop down
>does not exactly much the size of the drop down list...And sometimes
>I get a scrollbar when I have a large number of records...
>
>
>For example:
>
>text
>....
>
>vs:
>
>text
>.............
>
>Hope what I am saying makes sense...
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform