webForumDet fria alternativet

No fonts exist

1 svar · 183 visningar · startad av der Kaiser

der KaiserMedlem sedan okt. 200217 inlägg
#1

hej!
När jag kör en commondialog.ShowFont så säger den att jag inte har några fonter installerade... vad kan jag göra åt problemet?

nikoMedlem sedan juni 20022 599 inlägg
#2

Saxat från MSDN:

Before you use the ShowFont method, you must set the Flags property of the CommonDialog control to one of three constants or values: cdlCFBoth or &H3, cdlCFPrinterFonts or &H2, or cdlCFScreenFonts or &H1. If you don't set Flags, a message box is displayed advising you that "There are no fonts installed," and a run-time error occurs.

124 ms totalt · 3 externa anrop · v20260731065814-full.fb544a5a
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
122 ms — hämta tråd, inlägg och bilagor (db)