Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with the ColumnWidths
Message
 
 
À
11/05/2006 16:48:00
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01121143
Message ID:
01121154
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform