Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create a TextBox in code at runtime form a button
Message
De
17/09/1997 13:44:08
 
 
À
17/09/1997 13:23:26
Frank Shaw
Runestones Development Corporation
Ipswich, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00050429
Message ID:
00050433
Vues:
36
>I want to create a textbox in code from a command button use the textbox to enter so text and then destory the
>text box after I am done with it. I want to know If it is posiable to do this in visual foxpro 5.0a. If so what would the code look like to do it? I do realize that I could create the text box at design time and play with the
>visiable properity. But I want to create the textbox at runtime not design time.
>
>
>Frank H. Shaw
>fshaw@runestones.com

**** cmd Click event
thisform.addobject("text12","textbox")
with thisform.text12
.left=5
.width=100
.top=15
.visible=.t.
endwith
**** another cmd Click event
thisform.removeobject("text12")
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform