Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i make the the textbox value added to listbox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00546050
Message ID:
00546055
Vues:
12
This message has been marked as the solution to the initial question of the thread.
This assumes that the listbox's row source is set to 0 or 1.

In the click event of the textbox use something like:
with this.parent
  .lstMyList.AddListItem(alltrim(.txtMyTextbox.value))
endwith
Cheers,

Andrew

>can any one help me?
>
>how can i make my the value of my textbox added to the listbox i've created when i click the button i made....../ thanks


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform