Create a color popup dialog control that displays the 256 color palette associated with the active document.
The widthInCharacters argument specifies the width of the control. Pass -1 to request the default size, which will be consistent with other attribute controls (currently defaults to 14). This argument allows for special circumstances like a small popup for the Fore and Back color associated with the Pattern attribute control.
PROCEDURE CreateColorPopup(
dialogID : LONGINT;
itemID : LONGINT;
widthInCharacters : LONGINT);def vs.CreateColorPopup(dialogID, itemID, widthInCharacters):
return None| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | |
| itemID | LONGINT | |
| widthInCharacters | LONGINT |
Availability: from VectorWorks12.0