Problem Xbrowser Border

Problem Xbrowser Border

Postby Silvio.Falconi » 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: Select all  Expand view  RUN
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: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem Xbrowser Border

Postby Silvio.Falconi » Fri Mar 03, 2023 10:04 am

this morning I saw a Uwe post

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 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: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem Xbrowser Border

Postby Antonio Linares » Mon Mar 06, 2023 9:29 am

Dear Silvio,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Problem Xbrowser Border

Postby Silvio.Falconi » 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 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: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Re: Problem Xbrowser Border

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Problem Xbrowser Border

Postby Marc Venken » Mon Mar 06, 2023 1:36 pm

Mr. Rao, Take good care of yourself ....
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Problem Xbrowser Border

Postby Detlef » Mon Mar 06, 2023 2:43 pm

Yes, a quick recovery to good health for Mr. Rao.
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: Problem Xbrowser Border

Postby richard-service » Tue Mar 07, 2023 6:55 am

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
richard-service
 
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Problem Xbrowser Border

Postby ukoenig » Tue Mar 07, 2023 9: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


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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Problem Xbrowser Border

Postby Marc Venken » Tue Mar 07, 2023 4: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.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Problem Xbrowser Border

Postby carlos vargas » Wed Mar 08, 2023 2:19 pm

Espero que el sr. rao se recupere de los problemas de salud.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Problem Xbrowser Border

Postby acuellar » Wed Mar 08, 2023 5:11 pm

Speedy recovery Mr. Rao
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1644
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: wmormar and 28 guests