Dear Silvio, You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text. it will take into account the font you are using, etc. The resulting width and height are stored in the rect structure. ...
Dear Silvio, You can use Windows API DrawText() using the flag DT_CALCRECT to calculate the dimensions of the text rectangle without actually drawing the text. it will take into account the font you are using, etc. The resulting width and height are stored in the rect structure. ...
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, ...
... don't. There are more... When I clicked on button "acrobat", the PDF file I created show me the roundbox whith the 4 corners round and rect. (I usually use tUtilprn, thanks to Rafa TheFull) This was working FWH 22.12 Saludos Ruben Fernandez
... variable and then use it to print the image. eg., cImage := FIELD->IMAGE @ r,c PRINT TO oPrn IMAGE cImage SIZE w,h INCHES now we can directly use the field variable. eg., @ r,c PRINT TO oPrn IMAGE FIELD->IMAGE SIZE w,h INCHES * XBROWSER oAdoRecordset was giving runtime error due ...
... quieren pegar. He intentado que se pueda marcar la posición de inicio y la de final que se quiere seleccionar, añadiendo un array que contine un rect, guardando las coordenadas cuando hacen doble click (en el método LDblClick) y luego cuando hacen click (en el método LButtonDown) de manera que ...
Try specifying oBtn:aBmpRect := { t, l, b, r } in pixels. Then bitmap will be positioned inside the specified rectangle. Specify the same rect to all the buttons.
... how do you create a bitmap with round corners? there is a function similar to FillRectEx that builds a rect with round angles ? I tried with this ( inserting it at 2046 line) RectRound( hDC2, 0, 0, nWidth,nHeight, 20, 20 ) but not run
oBtn:aBmpRect := { nTop, nLeft, nBottom, nRight } in pixels relative to the BtnBmp's rect. Should work with resources also. Yes, it works with resources. Hola lo siento pero no entiendo como lo haceis. a ver yo tengo en recursos un BtnBmp situado en X Position : 180 ...
oBtn:aBmpRect := { nTop, nLeft, nBottom, nRight } in pixels relative to the BtnBmp's rect. Should work with resources also. Yes, it works with resources. Hola lo siento pero no entiendo como lo haceis. a ver yo tengo en recursos un BtnBmp situado en X Position : 180 ...