Parameters for multiselectiondew
I like to create a multiselection at a text field PG2 editor.
Where can i find the information about the parameters for this or has an example.
Greeting and thanks
Test_Selection is the property you are reading/writing
1 is the value
" Test" is the Text for the Button
???? is Enable/Disable for the button.
The Text Element is just a place holder for the MultiSelectionDew - it does not do any of the read or write handling. However you can also make the Text Dynamic by reading values back from the properties that the Dew writes to.
There is an example of using MultiSelectionDew in the Process Graphics Manual Section 8, Advanced Tutorial, How to Use the MultiSelectionDew.
How to use the MultiSelectionDew input item
–GP_Int1 (Data Type = Integer).
–GP_Real (Data Type = Real).
–GP_Str (Data Type = String).
–GP_Int2 (Data Type = Integer).
–GP_Int3 (Data Type = Integer).
1.Drag and drop a Text primitive ((Toolboxes > Graphic Primitives) into the edit panel.
2.Add the item hosted input item MultiSelectionDew for the Text primitive.
3.Assign values to the following properties of MultiSelectionDew.
–ContentAlignment = Horizontal
–Items = MultiSelection (ItemContent (GP_Int1, 1234, "Item1", Enabled), ItemContent (GP_Real, 567.987, "Item2", Disabled), ItemContent (GP_Str, "Hello", "Item3", Enabled)
In runtime, click the Text item to invoke the configured MultiSelectionDew. This appears as shown in Figure 177.
Click Item1 to write the value 1234 to the general property GP_Int1. Similarly, click Item3 to write the value Hello to the general property GP_Str. Item2 appears disabled.This is an example of a MultiSelectionDew containing the selection items aligned horizontally. This section provides an example to use the MultiSelectionDew input item. Create a General Properties aspect with the following properties: