Up | Example 01 - ComboBox | Example 02 - ListBox | Example 03 - Labels class derived from Winforms.Panel | Example 04 - Button with Resize Event | Example 05 - CheckBox | Example 06 - GroupBox | Example 07 - Modeless Status Dialog | Example 08 -Timer | Example 09 -TextBox | Example 10 - Custom Button Class | Example 11 - Product Selection ComboBox | Example 12 - Simple ListView

 

  

 
Example 06 - GroupBox
The following defines the creation of a GroupBox in a Panel or Form derived class.
# Create the groupBox
self.groupBox = WinForms.GroupBox()
self.groupBox.Parent = self
self.groupBox.Size = Size(400,200)
self.groupBox.Location = Point(10,10)
self.groupBox.Text = "Group"


Note: controls contained in the groupbox shall set the Parent to the groupbox

self.checkBox = WinForms.CheckBox()
self.checkBox.Parent = self.groupBox
 

Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.