Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add textbox in a form programatically.
Message
De
28/04/2007 11:11:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/04/2007 10:59:56
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Divers
Thread ID:
01220785
Message ID:
01220787
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>can i add a Label and Textbox programatically in Form.
>
>i want to create some user define forms, that can be changed by the users.
>
>warm regards,
>mk.
thisform.newobject("myLabel","label")
thisform.newobject("myTextBox","textbox")
with thisform.myLabel
 .Left = 10
 .Top = 10
 .Caption "Added at runtime"
 .Autosize = .t.
 .Visible = .t.
endwith
with thisform.myTextBox
 .left = thisform.myLabel.left + thisform.myLabel.width + 5
 .top = 10
 .visible = .t.
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform