StrataFrame Forum
Home
»
.NET Forums
»
General .NET Discussion
User Controls
http://forum.strataframe.net/Topic7715.aspx
By Tim Dol
-
3/26/2007
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
By Trent L. Taylor
-
3/26/2007
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)