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
