Search found 2580 matches: btnbmp

Return to advanced search

Re: also error with btnbmp SHOWPOPUP

Dear Silvio,

> Called from: source\comuni\Pcomuni.prg => END( 0 )

Look for an End() call in source\comuni\Pcomuni.prg
by Antonio Linares
Fri Mar 29, 2024 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1753

also error with btnbmp SHOWPOPUP

... END   Args:     [   1] = U   Stack Calls===========   Called from: source\comuni\Pcomuni.prg => END( 0 )   Called from: Lib\btnbmp.prg => TBTNBMP:SHOWPOPUP( 2183 )   Called from: source\comuni\Pcomuni.prg => (b)COMUNI( 220 ) on the source I have ...
by Silvio.Falconi
Fri Mar 29, 2024 2:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1753

Problem with datepick - Resolved -

... PICTURE "ddd dd mmm yyyy"  ;     VALID ( DoSwitch( ddatacambio, oBtnGetExchange) ) STYLE DTS_SHOWNONE @ nRow-0.2,  320 BTNBMP oBtnGetExchange ;              PROMPT "Aggiorna on line"  OF oDlgSub;              SIZE 120, 24 PIXEL FLAT GDIPLUS ;              BITMAP ...
by Silvio.Falconi
Tue Mar 26, 2024 12:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with datepick - Resolved -
Replies: 2
Views: 534

Re: Another for Btnbmp

Mr Silvio Please make a small modificatin in btnbmp.prg: Please locate these lines in the method PaintBorder            RoundBox( ::hDC, 1, 1, ::nWidth - 2, ::nHeight - 1, nRound, nRound, XEval( ::nClrBorder, ::lMover, Self ) )  ...
by Silvio.Falconi
Tue Mar 26, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

Mr Silvio Please make a small modificatin in btnbmp.prg: Please locate these lines in the method PaintBorder            RoundBox( ::hDC, 1, 1, ::nWidth - 2, ::nHeight - 1, nRound, nRound, XEval( ::nClrBorder, ...
by nageswaragunupudi
Tue Mar 26, 2024 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

Silvio, If you need a focus rectangle in a specific color, you would have to implement the drawing yourself. You can do this by drawing a rectangle using functions like WndBoxClr, where you can specify the brush or pen color. Otto local hPen, oCli := ::GetCliRect() hPen = CreatePen( PS_SOLID, 1, nRG...
by Otto
Tue Mar 26, 2024 12:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

the btnbmp class takes the color of the text to create the internal box when it has focus Yes, for painting focusrect in case of FLAT style buttons. but it shouldn't be like this....the box must be dotted and not necessarily ...
by Silvio.Falconi
Mon Mar 25, 2024 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

the btnbmp class takes the color of the text to create the internal box when it has focus

Yes, for painting focusrect in case of FLAT style buttons.
by nageswaragunupudi
Mon Mar 25, 2024 12:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

When an element, such as a button, is focused on a webpage, the browser typically outlines it with a dotted or solid border. This behavior is akin to the "FocusRect" you mentioned. The focus outline is crucial for accessibility, as it assists users, especially those using keyboard navigat...
by nageswaragunupudi
Mon Mar 25, 2024 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

Nages, I think there is an error the btnbmp class takes the color of the text to create the internal box when it has focus for a sample I set the nClrText :nClrText := { |lOver,o| If( o:HasFocus(), RGB( 219, 230, 244), If( lOver, RGB( 219, ...
by Silvio.Falconi
Mon Mar 25, 2024 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

... 3 ]   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-20   DEFINE DIALOG oDlg SIZE 650,300 PIXEL TRUEPIXEL FONT oFont   @  50, 50 BTNBMP    aBtn[ 1 ] PROMPT "BtnBmp-1"  SIZE 150,80 PIXEL OF oDlg FLAT NOBORDER GDIP NOROUND   @  50,250 BTNBMP    aBtn[ 2 ] ...
by Silvio.Falconi
Mon Mar 25, 2024 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

Dear Mr. Rao, When an element, such as a button, is focused on a webpage, the browser typically outlines it with a dotted or solid border. This behavior is akin to the "FocusRect" you mentioned. The focus outline is crucial for accessibility, as it assists users, especially those using key...
by Otto
Mon Mar 25, 2024 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Re: Another for Btnbmp

... 3 ]   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-20   DEFINE DIALOG oDlg SIZE 650,300 PIXEL TRUEPIXEL FONT oFont   @  50, 50 BTNBMP    aBtn[ 1 ] PROMPT "BtnBmp-1"  SIZE 150,80 PIXEL OF oDlg FLAT NOBORDER GDIP NOROUND   @  50,250 BTNBMP    aBtn[ 2 ] ...
by nageswaragunupudi
Mon Mar 25, 2024 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022

Error en Listbox.

... 270 ) Called from: ABMBASES.prg => MOVALIQVS( 3643 ) Called from: Sistema.prg => (b)BARBOTONES( 749 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 465 ) Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 656 ) Called from: .\source\classes\CONTROL.PRG ...
by José Camilo
Sun Mar 24, 2024 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error en Listbox.
Replies: 1
Views: 317

Re: Another for Btnbmp

Silvio

FLAT NOROUND GDIP

When these attributes are used, it doesn't work.
I have done tests without them, then it works.
There are so many ifs in the class that it would seem better to me to make a new one without all this legacy.
Best regards,
Otto

I used: C:\fwh2023\source\classes\btnbmp.prg
by Otto
Sun Mar 24, 2024 5:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Another for Btnbmp
Replies: 26
Views: 5022
PreviousNext

Return to advanced search