XBrowse 16.04 : Right Freeze

XBrowse 16.04 : Right Freeze

Postby nageswaragunupudi » Tue Apr 26, 2016 10:20 am

We can freeze one or more columns on the left. There can be occasions when we need to freeze a column on the Right. Typical situations are the right most column is horizontal total of many detail-columns all of which can not fit the browse window.

From 16.04 it is possible to freeze one column on the right. This can be in addition to freezing columns on the left. All other columns scroll horizontally between the left and right freeze columns.

Usage is very simple:
oBrw:oRightCol := oCol
This can be cancelled or changed to another column at any time during run-time.

Sample:
Image

Another use is to display contents of a column like photos or memos with full height on the right.

This requires just one statement:

oBrw:oRightCol:lFullHeight := .t.
and this can be toggled at runtime.

Image

Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBrowse 16.04 : Right Freeze

Postby Silvio.Falconi » Tue Apr 26, 2016 12:20 pm

GULP

you're fantastic
and you can make a list of rtf files and show at left the page rtf on the xbrowse ?
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: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: XBrowse 16.04 : Right Freeze

Postby joseluisysturiz » Tue Apr 26, 2016 5:00 pm

Excelente trabajo...!
Dios no está muerto...

Gracias a mi Dios ante todo!
User avatar
joseluisysturiz
 
Posts: 2064
Joined: Fri Jan 06, 2006 9:28 pm
Location: Guatire - Caracas - Venezuela

Re: XBrowse 16.04 : Right Freeze

Postby FranciscoA » Tue Apr 26, 2016 6:50 pm

Great!
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: XBrowse 16.04 : Right Freeze

Postby nageswaragunupudi » Tue Apr 26, 2016 10:23 pm

and you can make a list of rtf files and show at left the page rtf on the xbrowse ?

We want to do that. Not only rtf but any type of file.
But we need to do more work on this.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBrowse 16.04 : Right Freeze

Postby richard-service » Wed Apr 27, 2016 9:55 am

Hi
How about build a function to know Title width?
Ex. Ctrl + Mouse Left key and show title width message. easy to change our code

Code: Select all  Expand view

::oCol := ::oBrw:AddCol()
 ::oCol:nWidth        := 20
 
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: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: XBrowse 16.04 : Right Freeze

Postby nageswaragunupudi » Wed Apr 27, 2016 10:39 am

It may be easier to do something like this:

oCol:nWidth := oBrw:GetWidth( "這是一個句子". oFont )

You may also try
oCol:AutoFit()
or
oBrw:AutoFit()
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: XBrowse 16.04 : Right Freeze

Postby richard-service » Wed Apr 27, 2016 11:30 am

nageswaragunupudi wrote:It may be easier to do something like this:

oCol:nWidth := oBrw:GetWidth( "這是一個句子". oFont )

You may also try
oCol:AutoFit()
or
oBrw:AutoFit()

I see.
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: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 94 guests