dotNet sample - Windows Form with 3 Tabs and embedded controls

Started by Deana, March 07, 2014, 01:34:44 PM

Previous topic - Next topic


Use a Windows dotNet Form with a Tab Control. This code sample creates a TabControl with three tab pages. Each tab page contains several controls.
Deana F.
Technical Support
Wilson WindowWare Inc.


Nice example.  As an FYI, Sapien Technologies has a FREE PrimalForms Community Edition which allows you to design a windows form and insert most of the objects. It returns powershell script code, but that is easily converted to WB.  For example

$System_Drawing_Size = New-Object System.Drawing.Size
$System_Drawing_Size.Height = 262
$System_Drawing_Size.Width = 284
$form1.ClientSize = $System_Drawing_Size
$form1.DataBindings.DefaultDataSourceUpdateMode = 0
$form1.Name = "form1"
$form1.Text = "Primal Form"

Converts to

Code (WINBATCH) Select

Form1.ClientSize = ObjectClrNew('System.Drawing.Size',284,262)
Form1.Name = "Form1"
Form1.Text = "Primal Form"

Take one of Deana's scripts as a template to set up all the WB specific CLR options.... it's good practice and less intimidating than Visual Studio.

.02  Stan