ATTR_LABEL_FONT (Control)
Type: | Control attribute |
Description: | The name of the font for the control label. To determine the size of the buffer to pass when you are obtaining the font name, call GetCtrlAttribute and specify the ATTR_LABEL_FONT_NAME_LENGTH attribute. You can use a LabWindows/CVI-supplied font; any host font—such as Arial or Courier—supported on your system; or a user-defined metafont saved by a previous call to functions such as CreateMetaFont and CreateMetaFontEx. Always set the font before setting the size or style. |
Control Types: | ActiveX controls, binary switches, canvases, color numerics, command buttons, digital graphs, graphs, LEDs, list boxes, numerics, picture buttons, picture rings, pictures, radio buttons, rings, numeric slides, ring slides, strings, strip charts, tables, text boxes, text buttons, timers, toggle buttons, trees. |
Data Type: | string |
Default Value: | VAL_DIALOG_META_FONT |
LabWindows/CVI Compatibility: |
LabWindows/CVI 3.0 and later |
Values
VAL_MENU_FONT | Default font style for LabWindows/CVI menus. This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style. |
VAL_DIALOG_FONT | Default font style for LabWindows/CVI dialog boxes and control text. This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style. |
VAL_EDITOR_FONT | Default font style for the LabWindows/CVI Source window. This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style. |
VAL_APP_FONT | Default font style for the LabWindows/CVI Workspace window. This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style. |
VAL_MESSAGE_BOX_FONT | Default font style for LabWindows/CVI message boxes. This font contains typeface information only. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font style. |
VAL_MENU_META_FONT | Default font for LabWindows/CVI menus. Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font. |
VAL_DIALOG_META_FONT | Default font for LabWindows/CVI dialog boxes and control text. Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font. |
VAL_EDITOR_META_FONT | Default font for the LabWindows/CVI Source window. Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font. |
VAL_APP_META_FONT | Default font for the LabWindows/CVI Workspace window. Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font. |
VAL_MESSAGE_BOX_META_FONT | Default font for LabWindows/CVI message boxes. Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms. This value is an alias to an operating system font. Therefore, the operating system and user preferences on your machine determine this font. |
VAL_7SEG_META_FONT | Font that provides compatibility with LabWindows for DOS. Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms. |
VAL_SYSTEM_META_FONT | Font that provides compatibility with function panels and user interface panels from LabWindows for DOS that use extended IBM PC characters. Because other fonts may not contain these extended characters, cut/paste operations may fail. Metafonts contain typeface information, point size, and text styles such as bold, shadow outline, underline, italics, and strikeout. Because metafonts contain character size information, strings that use metafonts are more likely to have the same width across platforms. |