StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
User Controls
User Controls
Post Reply
Like
0
User Controls
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Tim Dol
Tim Dol
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 340,
Visits: 1.4K
I'm just starting to play around with SF User Controls and was wondering if there was a way to dynamically load a control on a form. I tried to instantiate like a form... frm.show() and it did not work. Is there another way to accomplish this?
Thanks,
Tim
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Below shows a sample of adding a textbox to a form dynamically.
Dim loText As New MicroFour.StrataFrame.UI.WIndows.Forms.TextBox
loText.Left = 10
loText.Top = 10
MyForm.Controls.Add(loText)
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search