lm_linkobj(hobj, hframe, property, value, property, value,...) lm_linkobj(hobj, hframe, struct(property, value))
Add a component to a modelit.layout.Frame (legacy syntax)
| hobj | any | object or array of handles or jacontrol object |
| hframe | any | frame to link to |
| property | any | char string containg property name |
| value | any | corresponding property value. Note: property/value combinations
may als be passed on as a tructure.
<propertye, value>:
clipframe
see lm_resize
clipping [0 or 1]
clip object if out of frame borders
enable
Default: enable status is copied from application data
"enable" from frame.
Note
<on> and <off> is supported. <inactive> is not supported.
Object | Frame
enabled | enabled status
'Frame=on' 'Frame=off' 'Frame=inactive'
==========================================
0 ==> 'off' 'off' <not supported>
1 ==> 'on' 'off' <not supported>
2 ==> 'inactive' 'off' <not supported>
3 ==> 'off' 'off' <not supported>
4 ==> 'on' 'on' <not supported>
5 ==> 'inactive' 'inactive' <not supported>
keeppixelsize : is 1 maintain pixel height and width while alignigning in matrix
keepypos: if 1 ==> position of slider has no effect on this
object
normpos [X,Y,WIDTH,HEIGHT]
normalized position relative to LL corner of frame
pixelpos [X,Y,WIDTH,HEIGHT]
pixel position relative to LL corner of frame
NOTE: if "normpos" has been set to [0 0 1 1], set
"pixelpos" to:
[LEFTMARGIN, LOWERMARGIN, -LEFTMARGIN-RIGHTMARGIN,
-LOWERMARGIN-TOPMARGIN]
visible
0 ==> do not show
1 ==> show
row: align on position (row,col) in matrix
col: align on position (row,col) in matrix
|
none
IMPORTANT