FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem Xbrowser Border
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Problem Xbrowser Border
Posted: Thu Mar 02, 2023 12:58 PM
I modify the sample XBRWIN7C.prg
and I add some line to draw the border of the xbrowse
Code (fw): Select all Collapse
 oBrw:lDrawBorder := .t.
      oBrw:nClrBorder := CLR_BLACK
      oBrw:lHScroll:=.f.
but i have this xbrowse



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 March-April 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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Problem Xbrowser Border
Posted: Fri Mar 03, 2023 10:04 AM
this morning I saw a Uwe post

https://forums.fivetechsupport.com/viewtopic.php?f=3&t=36937&start=0&hilit=xbrowse+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 March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem Xbrowser Border
Posted: Mon Mar 06, 2023 09:29 AM

Dear Silvio,

Mr. Rao will review it, thanks for waiting

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Problem Xbrowser Border
Posted: Mon Mar 06, 2023 11:27 AM
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 March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problem Xbrowser Border
Posted: Mon Mar 06, 2023 11:58 AM

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
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Problem Xbrowser Border
Posted: Mon Mar 06, 2023 01:36 PM

Mr. Rao, Take good care of yourself ....

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 218
Joined: Mon Feb 07, 2022 09:54 PM
Re: Problem Xbrowser Border
Posted: Mon Mar 06, 2023 02:43 PM

Yes, a quick recovery to good health for Mr. Rao.

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: Problem Xbrowser Border
Posted: Tue Mar 07, 2023 06:55 AM

Mr.Rao

Take care yourself.

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Problem Xbrowser Border
Posted: Tue Mar 07, 2023 09:08 AM
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




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.
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Problem Xbrowser Border
Posted: Tue Mar 07, 2023 04:27 PM
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
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Problem Xbrowser Border
Posted: Wed Mar 08, 2023 02:19 PM

Espero que el sr. rao se recupere de los problemas de salud.

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 1710
Joined: Tue Oct 28, 2008 06:26 PM
Re: Problem Xbrowser Border
Posted: Wed Mar 08, 2023 05:11 PM

Speedy recovery Mr. Rao

Saludos,



Adhemar C.

Continue the discussion