Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 836 Bytes

File metadata and controls

37 lines (30 loc) · 836 Bytes

GetColorButton

Description

Gets the color of a modern dialog color button.

PROCEDURE GetColorButton(
				dialogID  : LONGINT;
				itemID    : LONGINT;
				VAR red   : LONGINT;
				VAR green : LONGINT;
				VAR blue  : LONGINT);
def vs.GetColorButton(dialogID, itemID):
    return (red, green, blue)

Parameters

Name Type Description
dialogID LONGINT The index of the dialog layout containing the control.
itemID LONGINT The index of the color button.
red LONGINT The red component of the color.
green LONGINT The green component of the color.
blue LONGINT The blue component of the color.

See Also

VS Functions: SetColorButton

Version

Availability: from VectorWorks10.0

Category