Difference between revisions of "ListenTo"
(Created page with "==Purpose== ListenTo is a concept in {{UBIK}} Studio, that allows to connect and therefore cascade controls in an arbitrary mannner. The basic idea is, that each control can h...") |
(→Example) |
||
Line 7: | Line 7: | ||
# Open a ClassBrowser in an area of {{UBIK}} Studio | # Open a ClassBrowser in an area of {{UBIK}} Studio | ||
# Open an ObjectEditor in another area | # Open an ObjectEditor in another area | ||
− | # Drag an object from the ClassBrowser with the left mouse button and drop it on the header of the | + | # Drag an object from the ClassBrowser with the left mouse button and drop it on the header of the tab where the Object Editor is in. The header text should now display a "+" sign and the text of the dropped object. |
Revision as of 09:53, 11 March 2013
Purpose
ListenTo is a concept in UBIK® Studio, that allows to connect and therefore cascade controls in an arbitrary mannner. The basic idea is, that each control can have a "Master" control, meaning another control to which selection changes it is constantly listening. This master is referred as the its ListenTo-Source.
Example
Let's assume a Class Browser shall be the master control and we want an Object Editor to always allow us to edit the currently selected object of this Class Browser.
- Open a ClassBrowser in an area of UBIK® Studio
- Open an ObjectEditor in another area
- Drag an object from the ClassBrowser with the left mouse button and drop it on the header of the tab where the Object Editor is in. The header text should now display a "+" sign and the text of the dropped object.