... #define WHITE_PEN 6 // add this on top METHOD PaintBorder() CLASS TBtnBmp local nAdjustBorder := 0 local nWidth, nAdj, oCli local nRound := If( ::lRound, ::nRound, 0 ) local hWhitePen, hGrayPen, hOldPen add these line 1752 //if ! ::lPressedif ! ::lMOver hGrayPen := CreatePen (PS_SOLID,1,::nClrBorder) ...
... ; P6_AAAA->(DbSkip()) Enddo tX := 15 ; tY := 20 nX := 225 ; nY := 0 // Header @ 0,nY TITLE oBar_AA Size 480, 28 Of oMainWnd TRANSPARENT oBar_AA:lRound := .T. @ 10, nY TITLETEXT OF oBar_AA TEXT " Daily Analysis" COLOR 16711680 FONT oDash_F // Making Box @ 30, nY TITLE oBar_AA Size 150, ...
... two or more lines separated by CRLF, the first line is drawn with the oFontBold - Border is painited as roundbox in case of flatstyle even when :lRound is set to .f. Fixed. DATA nClrBorder can now be a codeblock also. - New sample w10btns.prg to demonstrate Windows 10 Setup screen buttons using ...
Enrico, Please help me to locate the error, I am very busy with EasyReport, sorry, thanks :-) Ok. lRound is .T. because the REDEFINE BTNBMP command instructs so (NOROUND clause set lRound to .F.). Solved adding clause NOROUND. Now it seems to work fine. There is one more ...
Antonio, Enrico, ok, thats what I told you: thst only using NOROUND was working fine. Now the question is: why lRound is set to .T. by default ? Try to set it .F. by default and then it should work fine. This prints .T. no matter how I set lRound (INIT and redefine method default). ...