webForumDet fria alternativet
Logga in / Bli medlem

No fonts exist

.NET

1 svar · 185 visningar · startad av der Kaiser

Medlem sedan okt. 200217 inlägg
Frågan#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?

Medlem 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.

264 ms totalt · 4 externa anrop · v20260731065814-full.14655e19
127 ms — deklarationer (db)
0 ms — hämta statistik (cache)
132 ms — hämta tråd, inlägg och bilagor (db)
129 ms — ändringar (db)