oBrw:nLen and oBrw:nDataRows get their values after the first Refresh/paint of the browse. Also oBrw:nDataRows changes when browse is resized. DEFINE BUTTON/BTNBMP ..... (arrows) ... WHEN ( oBrw:nDataRows >= oBrw:nLen ) would work Not%20working ...
Dear Otto, You are creating a new TWebView object on each PAINT event! You have to modify your code this way: function webshow(console,hWnd, nlink) local hPost := {} local cHtmlOrUrl := "C:\fwh2023\samples\address.html" ...
1) Text Bottom aligned and image top aligned? or 2) Paint text in foreground over image as background? or 3) Text as background and transparent image as foreground?
Rao As you know I use Functions to paint my screen Gradients .. for some reason the DarkGreyGrad() functions paints much slower than the LightGreyGrad) FUnction ... especially with FWH2310 ... older versions of FWH are not effected ... //--------------------Func ...
... oBar FILE "Efectivo.bmp" ; ACTION (oBoton1:cCaption:='Cheque',oBoton1:FreeBitmaps(),oBoton1:LoadBitMaps("Cheque4.Bmp"),oBoton1:Paint(),oBoton1:refresh(),Cobros()) ; MESSAGE "Mantenimiento de Cobros"; PROMPT "Cobros" oBoton1:lTransparent = .t. y se que solo ...
... changes to the TGet class consist of adding a new data bMandatory that returns .t. If the Get is mandatory and a call to a new method, in the ::Paint() method draw a triangle in the lower left corner of the TGet() https://i.ibb.co/GR84PXB/Snag-2da06c7.png // -------- DRAW ...
hi, when DblClick in Explorer on a *.BMP it will open *.BMP with associate App like Paint Winexec() "just" call "special" EXE while ShellExecute() is use with associate File
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 ...
Dear Yuri, when a window, dialog or control is painted, FWH evals oWnd:bPainted if defined from METHOD Paint() CLASS TWindow if ValType( ::bPainted ) == "B" uVal = Eval( ::bPainted, ::hDC, ::cPS, Self ) endif ::cPS ...