... [ <oGroup> ]; [ LABEL | PROMPT <cLabel> ]; [ ID <nId> ]; [ OF | WINDOW | DIALOG <oWnd> ]; [ COLOR <cClrFore> [, <nClrBack> ] ]; [ FONT <oFont> ]; [ TRANSPARENT ] <nTop> , <nLeft> To specify the top and left coordinates. <oGroup> The variable ...
From Whatnew * TWindow Method SayText( cText, aRect, cAlign, oFont, nClrText, nClrBack, lBorder ) Applies to all derived classes like dialogs and controls To be used in o:bPainted. function FW_SayText( hDC or oWnd, cText, aRect, cAlign, oFont, nClrText, nClrBack, ...
... nFormat es nulo, el formato se devuelve en este parámetro. * Nuevo: Nueva función FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1. npImage: Opcional. hBitmap o puntero de imagen GDI+. Si es nulo, por defecto hBitmap desde el portapapeles, ...
... passed by ref and nFormat is nil, the format is returned in this parameter. * New: FW_ImageToBlob( [npImage], [cType], [nJpgQuality], ; [lAlpha], [nClrBack], [nWidth], [nHeight] ) ; --> cBlob - 1.npImage: Optional. hBitmap or GDI+ image pointer If nil, defaults to hBitmap from Clipboard, if ...
... If( oCol:oBrw:KeyNo % 2 == 0, aClr1, aClr2 ) ) }END 2) We know bClrStd returns a color pair { nClrText, nClrBack } If instead of returning a single color as nClrText, if we return an array of colors, those colors are used in the place of aClrText. This ...
Dear Tim, This is the syntax for Class TPrinter Method SayText() METHOD SayText( nRow, nCol, cText, nWidth, nHeight, oFont, cAlign, nClrText, nClrBack, cUnits, ; nOutLineClr, nPenSize ) Please notice that you can use ANY font in oFont parameter, different colors, pensize... That is RTF power :-)
Dear Mr. Nages, I put the SetBkMode (hDC, 1) straight into the function and it worked. If nClrBack != NIL nBkMode := SetBkMode( hDC, OPAQUE ) nOldClr := SetBkColor( hDC, nClrBack ) Else SetBkMode( hDC, 1 ) EndIf Thank you very much. Att., Oliveiros Junior
... IIF(nstatus=2," Occupato"," Libero")) local cIcon := IcoTooltip(cCliente,nstatus) local nClrFore := CLR_HRED local nClrBack := CLR_YELLOW return {cText, cTitle , cIcon , nClrFore, nClrBack } then on Tootip created it not espect the colors I inserted as you can see ...
... gradient brushes also. - Text with outlined fonts (hollow fonts): METHOD SayText( nRow, nCol, cText, nWidth, nHeight, oFont, cAlign, nClrText, nClrBack, cUnits, nOutLineClr, nPenSize ) The last 2 parameters, nOutlineClr and [ nPenSize (default 1)] are added. If specified, the text is printed ...