Invokes a dialogue to select a windows color.
Call(‘GxSelColor’, selected, default[, ret-value]) | [ret-value =] GxSelColor(selected, default)
Where:
selected
Numeric type. Is the output selected color.
default
Numeric type. Is the input default color.
ret-value
Numeric type. Is the error code returned by the function.
Type Returned:
Numeric
Objects: Procedure, Transaction, Work Panel
Generators: .NET, Java, Visual FoxPro (up to GeneXus X Evolution 3)
In order to use the second syntax, the object property “Standard Functions” must be set with the value “Allow non-standard functions”.
Event 'SelColor'
&def = 65408
Call('GxSelColor', &sel, &def)
EndEvent
Event 'SelColor'
&def = 65408
&ret = GxSelColor(&sel, &def)
EndEvent
Common dialog functions