Category Custom user interface, Object ProUIDrawingarea

Function ProUIDrawingareaFgcolorSet


Description
Set the foreground drawing color for new graphics to be drawn in the drawing area. This color is used to draw lines, shapes, and text on the drawing area.
Synopsis
#include <ProUIDrawingarea.h>
ProErrorProUIDrawingareaFgcolorSet(
char* dialog
/* (In)
The name of the dialog that contains the drawing area.
*/
char* component
/* (In)
The name of the drawing area component.
*/
ProUIColor value
/* (In)
Foreground drawing color.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
See Also
ProUIDrawingareaBackgroundcolorSet
ProUIDrawingareaBgcolorSet

Manual References:

  1. User Interface: Dialogs: Drawing Area Attributes