Search found 23 matches: lround

Return to advanced search

PaintBorder of Btnbmp ( fwteam)

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

Consulta sobre BTNBMP

Hola amigos, ¿es posible tener un BTNBMP que se muestre con los bordes redondeados?

Estoy haciendo pruebas con lRound:=.T. pero nada.

Image

Gracias
by AngelSalom
Fri Nov 20, 2020 11:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre BTNBMP
Replies: 5
Views: 548

How To Refresh() TITLETEXT With Arrays...???

... ; 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, ...
by RiazKhan
Mon May 25, 2020 3:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How To Refresh() TITLETEXT With Arrays...???
Replies: 2
Views: 692

Re: New FWH 19.09

Günther, the pen-calculation-factor ( GdiPlus ) //New( nTrans, nRed, nGreen, nBlue, nSize, lRound, lAlign ) //nRed := nRGBRed( nColor ) //nGreen := nRGBGreen( nColor ) //nBlue := nRGBBlue( nColor ) oPen := Pen():New( 255, 0, 0, 255 , 8 , .T.) will show a 3 mm pen 1 mm ...
by ukoenig
Wed Oct 23, 2019 12:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 5817

Re: GET logical value represented by bitmap

... bAction, oBar, lAdjust, bWhen, lUpdate,; cToolTip, cPrompt, oFont, cResName3,; cBmpFile3, lBorder , cLayout, cResName4, cBmpFile4, lTransparent,; lRound, bGradColors ) regards uwe :D
by ukoenig
Fri May 24, 2019 6:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GET logical value represented by bitmap
Replies: 6
Views: 997

Simulate btnbmp Window 10

... 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: 813

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

... if ::lMOver .and. nTypeButton != 3 do case case nTypeButton == TYPE_NORMAL if ::lSelected GradientFill( ::hDC, 1, 1, ::nHeight, ::nWidth - If(::lRound,2,0), eval( ::bClrGradSelectPress, ::lPressed ) ) else //procl if ::lRound = .t. 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

New FTDN January/Enero 2018 (FWH 18.01)

... 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 ...
by Antonio Linares
Wed Feb 14, 2018 5:03 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2018 (FWH 18.01)
Replies: 1
Views: 2618

Re: Bug in TBtnBmp

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 ...
by Enrico Maria Giordano
Fri Aug 08, 2014 3:31 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TBtnBmp [Solved]
Replies: 88
Views: 16275

Re: Bug in TBtnBmp

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). ...
by Enrico Maria Giordano
Thu Aug 07, 2014 9:50 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TBtnBmp [Solved]
Replies: 88
Views: 16275

Re: Bug in TBtnBmp

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.
by Antonio Linares
Thu Aug 07, 2014 7:10 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TBtnBmp [Solved]
Replies: 88
Views: 16275

Re: Bug in TBtnBmp

... If( ::lBorder, If( ::lBarBtn, 0, 3 ), 0 )   endif   if ::lMOver .and. ::lBoxSelect      if ! ::lRound .and. ! ::lEllipse         if ::l2007 .or. ::l2010            WndBox2007( ::hDC, nAdjustBorder, ...
by Enrico Maria Giordano
Thu Aug 07, 2014 6:04 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TBtnBmp [Solved]
Replies: 88
Views: 16275

Re: Button Bitmap with Caption at bottom.

... { { 0.20, 16763283, 16777215 }, ; { 0.20, 16777215, 16763283 } }, ; { { 0.20, 9934847, 16777215 }, ; { 0.20, 16777215, 9934847 } } ) } oSBtn[1]:lRound := .f. oSBtn[1]:lGraddirect := .F. // class-change needed for HORIZONTAL-gradient !!! oSBtn[1]:lTransparent := .t. oSBtn[1]:cToolTip = { "Select ...
by ukoenig
Sun Jun 08, 2014 7:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Button Bitmap with Caption at bottom.
Replies: 5
Views: 1050

A possible complete RESET of a TTITLE at runtime ?

... NO_SHADOW 0x00 // UP_LEFT_SHADOW 0x01 // UP_RIGHT_SHADOW 0x02 // DOWN_LEFT_SHADOW 0x03 // DOWN_RIGHT_SHADOW 0x04 oTitle:lTransparent := .F. oTitle:lRound := .F. oTitle:lVertical := .T. oTitle:nClrLine1 := RGB( 141, 178, 227 ) oTitle:nClrLine2 := RGB( 237, 242, 248 ) oTitle:Refresh() // some NEW ...
by ukoenig
Tue Oct 01, 2013 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A possible complete RESET of a TTITLE at runtime ?
Replies: 0
Views: 506

Re: Como crear una libreria?

... ClrBack, // lMouseOver, lOpaque, hBrush, nRows, lW97, // lAdjust, lMenu, lMenuPress, lFocused, // nShape, lBorder, lBox, nClip, nClrTo, lHorz, lRound ) #else HARBOUR HB_FUN_SBTNPAINT( PARAMS ) #endif Muchas Gracias. Jorge Jaurena
by Jorge Jaurena
Sat Mar 02, 2013 11:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como crear una libreria?
Replies: 6
Views: 971
Next

Return to advanced search