Description:
Creates a new color picker.
Notes:
Parameters
Left (This is an integer value for the left position of the color box on the form.)
Top (This is an integer value for the top position of the color box on the form.)
This example would create a sample form with the name label, and a color picker box. Copy and paste the code into a New PlanSwift Script.
Pascal Example:
Form := NewForm(230,150, 'Sample Form');
NewLabel(26,23,'Name:');
NewEdit(60,20,'NewArea');
ColorBox := NewColorPicker(28,48);
ColorBOX.width := 156;
if Form.ShowModal<> mrOk Then
Exit;
Visual Basic Example:
Form = NewForm(230,150, "Sample Form")
NewLabel(26,23,"Name:")
NewEdit(60,20,"NewArea")
ColorBox = NewColorPicker(28,48)
ColorBOX.width = 156
if Form.ShowModal<> mrOk Then
Exit Function
end if
Enterprise and Developer editions