Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box Change Rowsource array to alias
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Combo box Change Rowsource array to alias
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01469526
Message ID:
01469526
Vues:
100
Hi,

I have a control that is based on a combobox class. For a long time I have been using an array as RowSourceType and setting RowSource to the array property of this control (e.g. RowSource = "this.aLookup"). Obviously I have to populate this array in the INIT method of the control. So, to speed up the process, I decided to change it and set the RowSourceType to 2-Alias and set the RowSource to the columns of the alias (e.g. MYCURSOR.COL1, COL2). My question is, why didn't I do it back years ago? Was there a problem with using the Alias as RowSourcetype? That is, I want to avoid possible problem if I go from array to alias.

TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform