Problem Xbrowser Border

Post Reply
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Problem Xbrowser Border

Post by Silvio.Falconi »

I modify the sample XBRWIN7C.prg
and I add some line to draw the border of the xbrowse

Code: Select all | Expand

 oBrw:lDrawBorder := .t.
      oBrw:nClrBorder := CLR_BLACK
      oBrw:lHScroll:=.f.
but i have this xbrowse

Image

I not see the border after the vertical scroll , why ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem Xbrowser Border

Post by Silvio.Falconi »

this morning I saw a Uwe post

https://forums.fivetechsupport.com/view ... wse+border


and I resolved with

oDlg:bPainted := < |hDC|
DRAWBORDER( hDC, oBrw:nLeft-2, oBrw:ntop-2,;
oBrw:nWidth+2, oBrw:nHeight+62 , 0, 1, Rgb(195,195,185), .t. )
RETURN NIL
>

why do we have to resort to these tricks , while the xbrowse class should draw the border even after the vertical scroll ?
oldest xbrowse made the border after the Vscroll, What is changed ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Problem Xbrowser Border

Post by Antonio Linares »

Dear Silvio,

Mr. Rao will review it, thanks for waiting
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem Xbrowser Border

Post by Silvio.Falconi »

Antonio Linares wrote:Dear Silvio,

Mr. Rao will review it, thanks for waiting
Estoy orando por su pronta recuperación, también porque ya tengo tres problemas que resolver.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Antonio Linares
Site Admin
Posts: 42259
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Problem Xbrowser Border

Post by Antonio Linares »

Gracias Silvio,

Para quienes no lo sepais, Mr. Rao ha estado unos dias enfermo y estamos todos deseando su pronta recuperación

Mucho ánimo para Mr. Rao
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Problem Xbrowser Border

Post by Marc Venken »

Mr. Rao, Take good care of yourself ....
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
Detlef
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: Problem Xbrowser Border

Post by Detlef »

Yes, a quick recovery to good health for Mr. Rao.
User avatar
richard-service
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: Problem Xbrowser Border

Post by richard-service »

Mr.Rao
Take care yourself.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
ukoenig
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Problem Xbrowser Border

Post by ukoenig »

I'm not sure that all these options can be added to the xBrowse class


a border with any pensize
optional round corners
glowing effect
transparent level
any border distance


Image

bet regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Problem Xbrowser Border

Post by Marc Venken »

ukoenig wrote:I'm not sure that all these options can be added to the xBrowse class
Uwe :D
Maybe they can be added with a subclass ? It's not my cup of coffee to make classes, but it seems to be possible.
So the original class will always be useable as it is.
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
carlos vargas
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Problem Xbrowser Border

Post by carlos vargas »

Espero que el sr. rao se recupere de los problemas de salud.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
acuellar
Posts: 1645
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

Re: Problem Xbrowser Border

Post by acuellar »

Speedy recovery Mr. Rao
Saludos,

Adhemar C.
Post Reply