Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array with control
Message
 
À
24/06/1999 00:29:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00233290
Message ID:
00233441
Vues:
35
>>I know this should be simple, but I'm not getting it to work.
>>
>>I have a form with a pageframe, 3 pages and a control on page 2 that I want to populate with APRINTERS(gaPrinters). The user will select one of the printers. How do I make it work?
>>
>>TIA
>
>I assume that the control you want to populate is a listbox or combo? In either case, you can use code in the control's init:
>
>APRINTERS(laPrinters)
>
>FOR EACH lcPrinter IN laPrinters
>THIS.AddItem(lcPrinter)
>ENDFOR

Or set the value of a property on the form to the return of APRINTERS...

APRINTERS(Thisform.laPrinters)

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform