Search found 34 matches: lmover

Return to advanced search

Re: Another for Btnbmp

... I tried also with For n= 1 to len(oBtn) obtn[n]:bClrGrad := < |u,oBtn| local clr := RGB( 245,245,235) if oBtn:lActive if oBtn:lMOver clr := {{ 1, RGB( 250,250,245),RGB( 250,250,245) }} elseif oBtn:lPressed clr := RGB( 180,136,85 ) else clr := RGB( 245,245,235) endif endif return ...
by Silvio.Falconi
Wed Mar 20, 2024 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5114

Re: Another for Btnbmp

Antonio Linares wrote:Silvio,

Have you tried to remove this line ?

obtn[n]:nClrBorder := RGB(195,195,185)


I remeber it wanted a codeblock with lMover but I 'm searching on forum now
by Silvio.Falconi
Wed Mar 20, 2024 11:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5114

Select one btnbmp into a scrollpanel

... FLAT RIGHT; FONT oFontSmall ; PROMPT cDesc ; OF oElements action Msginfo() aBtnEle[n]:ocursor:= oHand aBtnEle[n]:nClrBorder := { |obtn| (IIF(obtn:lMOver,CLR_BLUE,CLR_HGRAY)) } aBtnEle[n]:bClrGrad = { | lInvert | If( ! lInvert,; { { 1, CLR_WHITE, CLR_WHITE } },; { { 1, RGB( 229,241,251 ), RGB( ...
by Silvio.Falconi
Mon Jun 12, 2023 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select one btnbmp into a scrollpanel
Replies: 1
Views: 110

PaintBorder of Btnbmp ( fwteam)

... 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)         hWhitePen := GetStockObject (WHITE_PEN)         hOldPen   := ...
by Silvio.Falconi
Sat Jun 10, 2023 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PaintBorder of Btnbmp ( fwteam)
Replies: 1
Views: 157

Re: btnbmp state

... 2007 aBtnBrow[3]:bClrGrad := { |lInvert| If( lInvert, aBru[ 2 ]:hBrush, aBru[ 1 ]:hBrush ) } aBtnBrow[3]:nClrBorder := { || (IIF(aBtnBrow[3]:lMOver,,CLR_GRAY)) } aBtnBrow[3]:disable()
by Silvio.Falconi
Thu Feb 09, 2023 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp state
Replies: 2
Views: 207

border color of btnbmp

https://i.postimg.cc/htPSMbSz/dddddd.jpg I made AEval( aBtn, { |o| o:nClrBorder := IIF(o:lMOver,rgb(119,162,217),CLR_GRAY) } ) how I can make to change the size of border ? another image https://i.postimg.cc/vmjtJbDm/Immagine.jpg this happen ...
by Silvio.Falconi
Fri Feb 07, 2020 3:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: border color of btnbmp
Replies: 2
Views: 752

Re: Selecting numbers

I don't Know .. remember Antonio sad me ...
try with ocontrol:nClrBorder := { || (IIF(ocontrol:lMOver,nColorBorder,nRgb(225, 225, 225))) }
by Silvio.Falconi
Sat May 25, 2019 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Selecting numbers
Replies: 11
Views: 1121

Re: Selecting numbers

... ) Do case Case ntype = 2007 ... ... //2007 ocontrol:bClrGrad = { | lInvert | If( ! lInvert,; ... ocontrol:nClrBorder := { || (IIF(ocontrol:lMOver,nColorBorder,nRgb(225, 225, 225))) } :?: regards Uwe :?:
by ukoenig
Sat May 25, 2019 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Selecting numbers
Replies: 11
Views: 1121

Simulate btnbmp Window 10

... FLAT NOBORDER ; COLOR nClrText, nClrBack WITH OBJECT oBtnPrint :bAction := dummy() :nClrBorder := nClrBorder :bColorMap := { | o | o:lBorder := o:lMOver, nCBorder } :oFontBold := oBold :lRound := .F. END SomeOne can help me please
by Silvio.Falconi
Mon Feb 18, 2019 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Simulate btnbmp Window 10
Replies: 5
Views: 814

codeblock (for color border) on btnbmp

to show a color border on btnbmp when I move over with the mouse I made aBmps[nY,nX]:nClrBorder := { || (IIF(aBmps[nY,nX]:lMOver,CLR_WHITE,CLR_GRAY)) } But I not see any border colored and the border is allways black https://i.postimg.cc/x8Jbmrkq/hh.png test sample #include"fivewin.ch"#define ...
by Silvio.Falconi
Mon Jan 21, 2019 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: codeblock (for color border) on btnbmp
Replies: 2
Views: 614

Re: 3 problems with touch.prg from the fwh/samples

... newest FIVEWIN version and original FW classes evolved much. It is difficult for me to keep up my changes. Best regards Otto method paint ... if ::lMOver .and. nTypeButton != 3 do case case nTypeButton == TYPE_NORMAL if ::lSelected GradientFill( ::hDC, 1, 1, ::nHeight, ::nWidth - If(::lRound,2,0), ...
by Otto
Thu Nov 08, 2018 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3 problems with touch.prg from the fwh/samples
Replies: 18
Views: 3834

Re: btnbmp style win10

Probable bug for the color border at line 1590 of btnbmp class it not change the color border if obtn:lMover:= .t. I wish btnbmp as this https://s14.postimg.org/6vi5t400h/button.png with images the buuton with clear blue is showed when I put the mouse over ...
by Silvio.Falconi
Wed Feb 14, 2018 7:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp style win10
Replies: 17
Views: 4115

Re: btnbmp style win10

Try it this way:

oBtn2:nClrBorder := { || (IIF(oBtn2:lMOver,,CLR_GRAY)) }
by Antonio Linares
Sat Feb 03, 2018 12:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp style win10
Replies: 17
Views: 4115

Re: btnbmp style win10

... oDlg ;      COLOR CLR_BLACK,CLR_WHITE   GRADIENT bGrad2015 NOBORDER      oBtn1:nClrBorder := (IIF(oBtn1:lMOver,,CLR_GRAY))      oBtn1:oCursor := cCursorBtn @ 10,60 BTNBMP oBtn2 FILENAME "DLG_IMG.bmp" CANCEL;  ...
by Silvio.Falconi
Sat Feb 03, 2018 12:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp style win10
Replies: 17
Views: 4115

Re: BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad

Mr Rao can you make a test for use LMover data because here make me error
pls see the last message at
viewtopic.php?f=3&t=34150&start=0
by Silvio.Falconi
Fri Jun 02, 2017 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad
Replies: 1
Views: 662
Next

Return to advanced search