Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 639 Bytes

File metadata and controls

24 lines (16 loc) · 639 Bytes

Simple example 4

This example shows you how to define tabs using dictionaries in the variable "self.formset".

	#Use dictionaries for tabs
	self.formset = [ {
					  	'Tab1':['_firstname','||','_middlename','||','_lastname'], 
						'Tab2': ['_fullname']
					  },
					  '=',(' ','_button', ' ') ]

Notes: Take a look between the First name, Middle name, and Last name controls, you will find a splitter which you can move. The same between the Tabs and the Button.

  • Use the sign '=' for a vertical splitter
  • Use the signs '||' for a horizontal splitter

Simple example 4