Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OnScreenDisplay - Font style
#2
Replace line 14.
Function OSD_Main
Code:
Copy      Help
v.hfont.Create(v.fname iif(v.fsize v.fsize 24) v.flags>>8&3)

It adds flags 0x100 and 0x200 for bold and italic.

Example
Macro Macro1330
Code:
Copy      Help
OnScreenDisplay "Bold" 0 0 200 "" 12 0 0x100
OnScreenDisplay "Italic " 0 0 250 "" 12 0 0x200 ;;note: there is a space at the end of the string, to avoid clipping

It is how will be in next QM.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)