The ExpressionEdit widget is used by the PTypeToggle to allow users to type in expressions. It can also be used on its own in cases where screen real estate is too limited for a PTypeToggle. It looks and acts similar to a SelectObject, except that instead of bringing up the Tag Browser when the user clicks the … button, an expression entry dialog is displayed. The ExpressionEdit uses Start() to resolve what the user types in, so it can be used to select an expression, a tag, or a constant.
The interface:
ExpressionEdit(X1, Y1, X2, Y2, ParmObjPtr, SetParm, ID, Root)
X1: Left or right side of graphic
Y1: Bottom or top of graphic
X2: Right or left side of graphic
Y2: Top or bottom of graphic
ParmObjPtr: The parameter being set
SetParm: Set when the parameter has been set
ID: Focus ID
Root: Calling tag to hook to