Buttons Component
Fnd_Bttn_SetTextProperties
Fnd_Bttn_SetTextProperties (font name; font size; font style)
Parameters
| Parameter | Type | Description |
|---|---|---|
| font name | Text | Font name |
| font size | Longint | Font size |
| font style | Longint | Font style (use 4D constants) |
Description
Fnd_Bttn_SetTextProperties sets the text properties for the button labels. Call this routine before calling the Fnd_Bttn_CreateButton, Fnd_Bttn_GetPicture, or Fnd_Bttn_GetPictureWidth methods.
Fnd_Bttn_SetTextProperties ("Avant Garde";15;Plain )
4D’s font style constants should be used for the font style parameter.
Extracted source text
Fnd_Bttn_SetTextProperties (font name; font size; font style)
Parameter Type Description
font name Text Font name
font size Longint Font size
font style Longint Font style (use 4D constants)
Fnd_Bttn_SetTextProperties sets the text properties for the button labels. Call this routine before
calling the Fnd_Bttn_CreateButton, Fnd_Bttn_GetPicture, or Fnd_Bttn_GetPictureWidth
methods.
Fnd_Bttn_SetTextProperties ("Avant Garde";15;Plain )
4D’s font style constants should be used for the font style parameter.