4D v13.4OBJECT SET FONT |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
OBJECT SET FONT
OBJECT SET FONT
OBJECT SET FONT sets the form objects specified by object to be displayed using the font whose name or number you pass in font. If you specify the optional * parameter, you indicate an object name (a string) in object. If you omit the optional * parameter, you indicate a field or a variable in object. In this case, you specify a field or variable reference (field or variable objects only) instead of a string. For more information about object names, see the section Object Properties. The following example sets the font for a button named bOK: OBJECT SET FONT(bOK;"Arial") The following example sets the font for all the form objects whose name contains "info": OBJECT SET FONT(*;"@info@";"Times") The following example assigns the special %password font, which can be used for entry and display of “password” type fields (characters are hidden). OBJECT SET FONT([Users]Password;"%password") Compatibility note: Although it is still supported, the use of the %password font is no longer recommended. It is more appropriate to manage the entry of passwords via the FILTER KEYSTROKE command. |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D v6 SEE ALSO
FONT LIST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||