Perhaps I found a solution for the border I would like to propose these changes to the fwteam #define WHITE_PEN 6 // add this on top METHOD PaintBorder() CLASS TBtnBmp local nAdjustBorder := 0 local nWidth, nAdj, oCli local nRound := If( ::lRound, ...
... was compiled in 2018 on the right in 2023 how is this possible? https://i.postimg.cc/DyWGLxs8/ffffff.jpg I mean for the color of border and for the gradient when I move the mouse look this videos 2018 https://i.postimg.cc/Vv2WnpkW/2018.gif 2023 https://i.postimg.cc/vHRP1xxF/2023.gif ...
... nLeft, nBottom, nRight } in pixels Defaults to ClientRect All co-ordinates are relative to Client Rect. Coordinates: nil --> default to the border >= 1 --> Pixels from Top or Left as the case may be >0 & < 1 --> Percentage of width or height < 0 : Pixels from right ...
Hello Silvio, It possibile have the border only on bottom and not on top ? Maybe the solution You are looking for ? You can use any colour, pensize or transparent level. http://www.service-fivewin.de/images/Btnbar5.png // Translucent ...
at the beginning when i load the test i see in the dialog the btnbmp with a black border (which shouldn't be there) then if I move the dialog to another position I see the border with the right color and this also when I press the btnbmpo to scroll the popup menu ...
... ; SIZE 4,4 INCHES ENDPAGE ENDPRINTreturn nil Sorry Nages I need to print an Image with Border or not with Border and I have the x,y and sizes on cm I made: I have nTop,nLeft,nRight,nBottom on cm meausure nTop:= 0.10 nLeft := 0.50 nRight:= ...
Silvio.Falconi wrote:Mr. Rao, I meant that if you see well the button has problems when using the gradient or the brush with diagonal lines, in both cases they come out of the border when they shouldn't.
Mr. Rao, I meant that if you see well the button has problems when using the gradient or the brush with diagonal lines, in both cases they come out of the border when they shouldn't.
Rao, I modify your test inserting the gradient I use and the color of border #include "fivewin.ch"function test() local oDlg, oBtn, hBmp := LinesBmp() local lEnabled := .t. DEFINE DIALOG oDlg SIZE ...
... > ) RELEASE BRUSH oBrushreturn hBmp https://imagizer.imageshack.com/img923/4312/h2yqQG.gif Good Mr Rao ....and the Border of Btbnbmp ? it is allways black oBtn:nClrBorder := RGB( 245,245,235) on init go ok then I wish modify it
surely there is a problem , you could see how to solve the border color problem of a btnbmp , because as I wrote in this post https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42757&start=0&sid=fbf48af6683902a2f56acaff4f02ef02 ...
... "BDIAGONAL" ) Cross SetBrush( "CROSS" ) DiagCross SetBrush( "DIAGCROSS", nRGB( 0, 100, 255 ) ) then to remake the border use the Uwe's solution DEFINE DIALOG oDlg..... oDlg:bPainted := < |hDC| oBtn:setsize(20,17.6) // this because the obtn is more big with png ...