UIForm allows you to collect input from multiple controls. It won't update the model until you click "OK" whereupon it executes all of them.
Parameter Rules
cancelButtonText: | Text entered here will show up in the 'Cancel' button. |
Example: | "Cancel" |
okButtonText: | Text entered here will show up in the 'OK' button. |
Example: | "OK" |
Mixins
UIContainerMixin
UIControlMixin
UIStyleMixin
BaseNode
BaseModel
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
cancelButtonText |
string |
"Cancel" |
UI |
Cached |
okButtonText |
string |
"OK" |
UI |
Cached |
Project Example:
In your kBridge Examples Projects folder open the project called ‘MyTable’.
Reference Location:
“world.mytable.tableui.tableui0.inputscontainer.inputscontainer0.contentfieldset.contentfieldset0.contentpanel.contentpanel0.myblockuipopup.leftpanel.popupcontrol.form”
Link: https://knowledgebridge.engineer/projects
Open the MyTable project.
Press the UI start icon to start the User Interface.
Select the 'Test1 from the radiobuttons at the top of the screen.
Toward the bottom of the screen select the 'Show Popup Blocks' and the 'Show Popup Cone' and click 'OK'.
The Cone and 3 blocks will show up on the table top. Notice that the model will not update until the 'OK' button is selected.