... lReadOnly: lReadOnly can be toggled during runtime also. * function RoundBox() new 11th parameter nPenStyle, default PS_SOLID Syntax: RoundBox( hDC, nLeft, nTop, nRight, nBottom, ; nRound1, nRound2, nPenColor, nPenSize, ; nFillColor, nPenStyle ) * BtnBmp: Alpha Color support Support for alpha ...
... fw_saytext function works well in fact it shows the initial message then if you see well I replaced the getlabeldim function with CalcTextHeight( hDC, cText, oFont, nWidth ) corrected by Nageswarao On your sample: oPaneltext cannot be the same name of a Panel I propose to usare oTExt MEMOTEXT ...
I tried also with oPanel1:bPainted := { |hDc| Mostra_testo_boxed(cMessageMemo,oPanel1) } Function Mostra_testo_Boxed(cMessageMemo,oPanel1) local oItem1,oItem2 local old_Height:= oPanel1:nBodyHeight local nLineswidth:= 250 local ...
... height are stored in the rect structure. Please look for DT_CALCRECT in FWH *.prg source code for code examples yes, I allredy found DrawTextEx( ::hDC, cMessage , {nTop,nLeft,nBottom,nRight} ) but when I have the new cMessage ( edited) I must modify 3 controls on line 1. the TaskPanel 2. the first ...
... Mr.Otto said. I save an emf file and then reopen add the number and print it. We can modify an emf file in two ways: 1. Open the emf file into hDC and directly overprint the new text and save. But this has to be done by the programmer. 2. For very minor changes, like over-writing the number ...
If you want to paint on the dialog then you must use the hDC of the dialog, don't use the hDC of the control Function MakeBox(oControl,oDlgEdit) local oBox local aRect := GetClientRect(oControl:hWnd ) local ...
... local nhoja := 0 .... if lsigo PRINT oPrn NAME "Ventas de Formularios" PREVIEW MODAL if Empty( oPrn:hDC ) MsgStop( "Impresora Fuera de Linea" ) return nil endif .... while !CliFor->(Eof()) cMensaje := left(CliFor->RazonSoc,15) oMensaje:Refresh() ...
hi, Sign are from SQL-Server, which is configure as UTF-8, are paint into hDC "as it is" and display UTF-8 "same" Data display in XBROWSER show Sign "right" as DEWIN so "somewhere" must be a "translate" ... but ...