Inserts a widget into the OI palette.
See the <a href=http://www.vectorlab.info/index.php?title=Events>VectorLab article on object events.
FUNCTION vsoInsertParamWidget(
position : LONGINT;
parameterID : LONGINT;
text : STRING;
data : LONGINT):BOOLEAN;def vs.vsoInsertParamWidget(position, parameterID, text, data):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| position | LONGINT | |
| parameterID | LONGINT | |
| text | STRING | |
| data | LONGINT |
This function inserts a widget into the OIP. Unlike the vsoAppendParamWidget which just appends the widget to the end of the OIP, this call allows the user to define the position in the OIP parameter list.
position: the position in OIP parameter list to insert the widget. parameterID: the corresponding ordinal value of the parameter in the object's parameter list.
text: the widget label. data: not implemented yet.
If GetLocalizedPluginParameter('NewModelWindowMain','TopShape',temp_s) then
Begin
result := vsoInsertParamWidget(1,1,temp_s,eventData);
end;Availability: from All Versions
This is drop-in function.