Search:     Advanced search

Function RandomColor

Article ID: 322
Last updated: 24 Sep, 2010
Views: 917
Posted: 30 Dec, 2008
by Thomas B.
Updated: 24 Sep, 2010
by Murray D.

Description:

Returns a new random color.

Notes:

Copy and past code into a new PlanSwift script.

Pascal Example:

AItem := CurrentItem;
SetItemColor(AItem, RandomColor);

Visual Basic Example:

AItem := CurrentItem;
SetItemColor(AItem, RandomColor);


Enterprise and Developer editions

This article was:  
Prev  Not what you're looking for? Suggest a topic  Next
Function ImageHeight     function RGB(Red, Green, Blue)