Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Long drop down list text ignored by columnwidths
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00764092
Message ID:
00764282
Views:
28
>Tim,
>In previous version of VF I found that the column width only really worked if you had more than 1 column. I used to add a dummy column to ensure sizing was correct. Make sure you set the second column to 0 and turn columnlines off
.ColumnCount=2
>.ColumnLines=.F.
>.ColumnWidth=100,0
>HTH
>Caroline

COOL, that just fixed something which has been going on my nerves for the longest time and i thought it was a bug from Vfp6.0.
I am populating the drop down with an array. All i had to do add the 2nd column to the drop down, add a 2nd empty column to the array, ColumnCount=2, ColumnLines=.F.. i didn't even had to set the column width, just leaved it blank - WORKS GREAT.

thank you Caroline. UT is absolutely great!

>
>>Hi I have a combo with some long text in it...
>>When the user clicks the drop down list its huge and carries across the screen...
>>
>>How come I cant control this with columnwidths?
>>
>>I cant use substr because the whole text must be inserted in the field...
>>(its like a comment drop down list...)
>>
>>What more can I do...
>>
>>Can reproduce this with a combo on a form then set the properties..
>>columwidths=10
>>columncount=1
>>rowsource=test test test test test test test test test test test tesdsaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat test test test test test test test test ,test test test test test test test test test test test test
>>rowsource type=1
>>
>>
>>VFP8
>>
>>BR
>>Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform