Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create a TextBox in code at runtime form a button
Message
From
17/09/1997 13:44:08
 
 
To
17/09/1997 13:23:26
Frank Shaw
Runestones Development Corporation
Ipswich, Massachusetts, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00050429
Message ID:
00050433
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform