Invokes a dialogue to select the name, style and size of a font.
Call(‘GxSelFont’, selfont, selsize, selstyle[, ret-value]) | [ret-value =] GxSelFont(selfont, selsize, selstyle)
Where:
selfont
Character type. Is the output selected font name.
selsize
Numeric type. Is the selected font size.
selstyle
Character type. Is the selected font style.
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 Standard Functions property at Object level must be set with the value “Allow non-standard functions”.
Event 'SelFont'
Call('GxSelFont', &selfont, &selsize, &selstyle)
EndEvent
Event 'SelColor'
&ret = GxSelFont(&selfont, &selsize, &selstyle)
EndEvent
Common dialog functions