I tried a test I found on this forum https://i.postimg.cc/8Ct5JFkV/f.png #include "fivewin.ch"// colorize btnbmp with diagonalFunction test()local oDlglocal oBtnlocal lmenu:=.f.DEFINE DIALOG oDlg SIZE 400,400@ 10, 10 BTNBMP oBtn SIZE 50, 50 PIXEL OF oDlg ...
I tried a test I found on this forum https://i.postimg.cc/8Ct5JFkV/f.png #include "fivewin.ch"// colorize btnbmp with diagonalFunction test()local oDlglocal oBtnlocal lmenu:=.f.DEFINE DIALOG oDlg SIZE 400,400@ 10, 10 BTNBMP oBtn SIZE 50, 50 PIXEL OF oDlg ...
I tried a test I found on this forum https://i.postimg.cc/8Ct5JFkV/f.png #include "fivewin.ch"// colorize btnbmp with diagonalFunction test()local oDlglocal oBtnlocal lmenu:=.f.DEFINE DIALOG oDlg SIZE 400,400@ 10, 10 BTNBMP oBtn SIZE 50, ...
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.
is it possible to draw with tGDIPlus a rectangle ( drawrect) with a gradient brush having a style like diagonal lines, around a Get or another control ? I made a test but not work Function test()local oDlglocal oGet,oSaylocal cGet:= space(10)nColor1:= RGB( ...
... , 0, 1, Rgb(195,195,185), .t. ) RETURN NIL > ACTIVATE DIALOG oDlg.... Result ( in my opinion it is better to see the bmp bits with diagonal lines (and it is disabled) than having a disabled btnbmp with a figure that is not nice to see ) https://i.postimg.cc/cCkTDtXt/ok.png ...