Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop down doesn't show width correctly first time
Message
From
18/02/2016 07:40:55
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01631636
Message ID:
01631660
Views:
44
Still not sure I understand
this only advice I could give (from experience) is to blank out .RowSource before refill, then reassign:
.RowSource = ''
select ... into array thisForm.someArray
.RowSource = 'thisForm.someArray' && this refills .List[] where everything takes place
>>it'd be nice and usefull to know how your code populates thisForm.aQuantityTypes
>>
>It first selects data from SQL Server in the cursor and then re-selects from the cursor into the array in the method called from Form's Load.
>
>Also, I tried setting ColumnsWidth in design time and it didn't help. I haven't yet tried in run-time.
>
>But I just noticed that I have a value pre-set in this drop down. Not sure why I did that, I'm going to try removing.
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform