Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a property and using it in a drop down box
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00952400
Message ID:
00952452
Vues:
8
Hi Claude,

1) property DisplayCount
2) property FirstElement

MartinJ

>Thanks for the repsonce.
>
> I must of had a typo for 1 (deleted and renetered the property). I have 1st 2 parts of of 2. My problem are
>
>1. get only one line in drop is displayed (There are 17 lines in the array, by checking debugguer), i.e 14 123457 is displayed (how do I get rest of the array to display (10 lines max on the screen)?
>2. after selectiing the item I only see the 14, can I dsplay 14 1234567?
>
>
>>1) In "New property" dialog: myArray(1)
>>2) On Combo:
>> combo.RowSourceType=5
>> combo.RowSource="Thisform.myArray"
>> combo.Refresh()
>>
>>MartinJ
>>
>>>VFP 7 I must be missing some thing obovious.
>>>
>>>I have a for with fields to get selection criteria. The last selection criteria will depend on on the previous ones (dattes and a vendor). I thought I could use a sql select to get the data into an arrary and then use the contents of the arrary to select a value (two related filelds, use 1st one).. I am have a problem doing this,
>>>
>>>1. how do I define an form property to be an array?
>>>2. how to I assign the array to the drop down box and display the results?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform