Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Boxes & Form Objects
Message
De
27/07/2004 10:53:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00928046
Message ID:
00928306
Vues:
26
David is correct. I created a new form visually, dropped a listbox control on it and set its properties. I then created a form property to hold the array of files. Then I edited the form's init to populate the form's array with the file listing I wanted (in this case just *.*) using adir(). Following that I just saved the form as a class so that I could easily grab the code and post it here for you to see. I slightly modified the code at the top only to run the form and also so it closes correctly when exited so you could cut and paste the code out of the message and run it and then see how it works.

Tracy

>Your code implies I have to create a new class (never done that yet).
>I wanted to find a way for the Form Control Listbox item to display tables within a database. Am I to understand that this can't be done? Thanks,
>Barne Wheeler
>Tall Timbers
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform