Click or drag to resize
CGUIiColorForm Method
Select a colour.

Available since Oasis montaj version: 5.0.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Colour value is set on input, and new value returned. If the input colour type is C_TRANSPARENT, then the color is set to white, if any other type is input the output is guaranteed to be of the same type. If the third flag is GS_TRUE is used, then on exit, if white is selected, the user is prompted: 'Do you want white (Yes) or "None" (No) ?' and the colour is converted as requested. If this is not the case, the C_TRANSPARENT is converted to white (if "Ok" is selected) and no choice is offered.
Syntax
public static int iColorForm(
	ref int i1,
	int i2
)

Parameters

i1
Type: SystemInt32
Colour (modified)
i2
Type: SystemInt32
Ask about C_TRANSPARENT if white is selected (1: yes, 0: no)?

Return Value

Type: Int32
0 - Ok 1 - Cancel
See Also