From: Alexander S.K. <al...@be...> - 2004-11-14 15:44:34
|
Hi, if you prefer to use millimeters with HPrinter ( sure, this is a best choice ), you should use a method HPrinter():Addfont( fontName, nHeight ,lBold, lItalic, lUnderline ) to define a font for printing, where nHeight is a height of a character in millimeters and then HPrinter():Setfont(). If you want to provide your bitmaps for preview dialog buttons, use HPrinter():Preview( cTitle, aBitmaps, aTooltips ), where aBitmaps is an array of bitmap names, first item is .T. in case of the bitmaps are in the resource file: aBitmaps := { .T., "bmp_exit","bmp_print","bmp_top","bmp_next","bmp_prev","bmp_bottom","bmp_zoomout","bmp_zoomin" } aTooltips is an array of a tooltip strings in the same order. Regards, Alexander http://kresin.belgorod.su |