Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox question
Message
 
 
À
11/12/2008 23:28:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01366823
Message ID:
01366830
Vues:
8
I see, I think I was incorrect. 1 means value. First time I read it I thought you're using fields.

>>If RowSourceType is 1 then your combo is not set up correctly. As far as I recall 6 is the type for fields and 1 is for alias.
>
>The CboGateType control below (with RowSourceType = 1) works fine. Of course it only has one character in each value.
>
>Taking out the InputMask property didn't help.
>
>Peter
>
>
>
>RowSourceType Property
>nValue  Description  
>0  None. (Default) 
>1  Value. 
>2  Table alias. 
>3  SQL statement. 
>4  Query (.qpr) file. 
>5  Array. 
>6  Fields. 
>7  Files.
>8  Field structure of a table. 
>9  Pop-up. Included for backward compatibility. 
>10 Collection object.
>
>define class CboGateType as CboList
>    name                = "CboGateType"
>    ColumnCount         = 2
>    columnwidths        = "20,120"          
>    DisplayCount        = 5
>    inputmask           = "X"
>    rowsource           = "C,contractor,E,employee,F,facility,R,reservation,W,whole lot"
>    value               = "F"
>    width               = 1 CBO_12
>    statusbartext = "Enter: C-contractor, E-employee, F-facility (day), R-reservation (overnight), W-whole lot"
>    tooltiptext   = "Gate type: C, E, F, R, W"
>enddefine    && CboGateType  *************************************************
>
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