Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@&^#%#^%# ListBoxs!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00009961
Message ID:
00010143
Vues:
71
>>if #1 is a combo box in a toolbar,
>>the answer for # 1 is.....
>>
>>put the following in your formset init
>>
>>thisformset.djrealbar.combo1.value =3
>>thisformset.djrealbar.combo1.refresh
>
>Well I am not using a formset but get the idea. What is djrealbar? What does Value = 3 supposed to do?
>
>Anyway I tried what I could in the Toolbar with no luck.
>
>Thanks
>Tom

if a toolbar, aren't you asked to create a formset (i am, maybe you're doing something different). djrealbar is a subclass of a toolbar.
ignoring those, combo1.value=3 tells the combobox to select the third item. you might use combo1.value=paMyArray[1].

this should go in the form/formset init after your array is initialized. refresh the object and you'll see what you're looking for.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform