Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with the ColumnWidths
Message
 
 
To
11/05/2006 16:48:00
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01121143
Message ID:
01121154
Views:
8
Solved it. ColumnCount = 2 was missing.

>>Hi everybody,
>>
>>This is the code I have in the Init of my form:
>>
>>store .f. to .cboFieldRequest.visible, .lblFieldRequest.visible
>>		.cboInsurances.top = .cboFieldRequest.top
>>		.lblInsurance.top = .lblFieldRequest.top
>>		** Get list of insurances for this account
>>		=Trans_insurances_list(.oCallingForm.cTrans_pk,"c_Trans_Insurances")
>>		.cboInsurances.RowSourceType = 6 && Fields
>>		.cboInsurances.RowSource = "c_Trans_Insurances.cText, cTrans_Insurances_pk"
>>		.cboInsurances.ColumnWidths = "50,0"
>>
>>For some unknown reason when I open this combobox it displays very long text instead of specified ColumnWidths.
>>
>>Do you know what is wrong?
>
>
>What's the actual length of c_Trans_Insurances.cText? Because, the columnWidths control only the widths of columns when dropped down - not the displayvalue.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform