Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

 

UITextBox2

Description

A UITextBox control is used to display, or accept as input, a single line of text. A UITextBox object is used to display text on a form or to get user input while a program is running. UITextBox doesn’t have a ‘title’ so you will need to add a UILabel to display a title. You may want to use the UITextInput instead because it is similar but includes the ‘title’ and the ‘titleLocation’ features.

 

Parameter Rules

bindParent: The refChain to the design where your target resides.
Example:R.rootModel

 

bindTarget:BindTarget is the name of the rule you want as the target.                
Example:"TextBoxTest"

 

sequenceNo:The sorting number within the UIContainer or UIFieldset that the design will appear.
Example:17

 

tooltip:Text put here will show  up when the user moves or hovers the mouse pointer over a trigger area.
Example:"This is a UITextBox design."

 

Mixins

BaseAssembly

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

bindParent

any

undefined

UI

Cached
Parameter

bindTarget

string

“”

UI

Cached
Parameter

sequenceNo

number

0

UI

Cached
Parameter

tooltip

string

“”

UI

Cached
Parameter

 

UITextBox1

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.inputcontainertest.inputcontainertest0.textbox.textbox0”

Link: https://knowledgebridge.engineer/projects

 

Open the MyTable project.

Press the UI start icon to start the User Interface.

 

UITextBox3

 

 

A rule was created in the root (MyTable) called ‘TextBoxTest’ which is a string type with a default of "Text Box Test".

When new text ("Text Box Display and enter text".)  is entered in the UITextInput it sets the ‘TextBoxTest to the new value.

 

UITextBox2

 

In the example image below, ("Text Box Display and enter text")  was entered.

You can tell that the rule is getting its value from the UI by the ‘world.mytable’ in the Owner column. Also the text in in bold.

 

UITextBox4

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment