I am not sure I understand. You want 2 ways to update a single piece of text presentation in a shape?
If its the same piece of text, isn't which ever method you use will over write it?
Anyway,
if you want this to be a "collision of input" then in the shapesheet, 2 functions might help you. SETF and DEPENDSOB
SETF will allow you to push something into a cell. DEPENDSON will trigger evaluation of a cell based on changes
With these, you could do some sort of "inbound text from 2 methods"
Normally, taking inputs from different input modes is done as follows via shape sheet.
Lets assume you have a square where you want to change its dimensions. Obviously could widen or heighten the square,
but lets say you want to have both an option for real precision or an option to use handles.
(square is trivial but illustrative.., for a simple square you would never do this)
First you need an way to select which input mode...add actions to square
actions.mode = setf(getref(actions.mode.checked),if(actions.moded.checked, 0,1))
Actions.mode.label = "input mode is shape data"
This will create a item for selection in the drop down (right click the shape....at the top you will see it)
Next you need some shape data
props.width
props.height
Next some controls (these allow you to graphically adjust the shape size...wont go into all these details...suffice to say
you get them working)
controls.w and controls.w.y
next some user cells
user.w = if(actions.mode.checked, props.width, controls.w)
user.h = if(actions.mode.checked, props.height, controls.w.y)
Now in the geometry section, use these user.w and user.h to define the dimensions.
ok...some advice. First, start small...make sure actions work....check field turns on and off..then shape props...then etc.
Second, use some other user cells or props cells to show values at various points (ala debug).
see attached