Cicode Programming Reference > Cicode Function Categories > Display Functions > DspSetPopupMenuFont

DspSetPopupMenuFont

Sets the font for popup menu text at runtime.

Syntax

DspSetPopupMenuFont(hFont)

hFont:

The handle of font to be used.

Return Value

No return value.

Related Functions

DspSetTooltipFont, DspFont, DspFontHnd

Example

IF (StrEndsWith(sPage, "_HD1080") = TRUE) THEN
  hFont = DspFontHnd("SA_Menu");
ELSE
  IF (StrEndsWith(sPage, "_UHD4K") = TRUE) THEN
    hFont = DspFontHnd("SA_Menu4K");
END
 
IF (hFont <> -1) THEN
  DspSetPopupMenuFont(hFont);
END

See Also

Display Functions

Published June 2018