A problem to display last column using oBrw:GoRightMost()

A problem to display last column using oBrw:GoRightMost()

Postby ukoenig » Thu Nov 26, 2015 12:42 pm

Hello,

because of many columns, I use oBrw:GoRightMost() on buttonaction to show the end-results.
The last column is not shown complete.
Normal crolling shows the full size of the last column.

Image

any idea, to solve the problem ?

best regards
Uwe :?:
Last edited by ukoenig on Thu Nov 26, 2015 1:20 pm, edited 2 times in total.
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: A problem using oBrw:GoRightMost()

Postby hmpaquito » Thu Nov 26, 2015 12:50 pm

Mr Ukoenig,

Perhaps, a workaround:

Code: Select all  Expand view
#define GO_RIGHT_MOST ( oBrw:GoRightMost(), oBrw:Right() )


Regards
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: A problem to display last column using oBrw:GoRightMost()

Postby ukoenig » Thu Nov 26, 2015 1:00 pm

I added :

oBrw:GoRight()

NO difference, only a part of the last column is shown.

best regards
Uwe :roll:
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: A problem to display last column using oBrw:GoRightMost()

Postby hmpaquito » Thu Nov 26, 2015 1:13 pm

Ok,

Now try:

Code: Select all  Expand view
#define GO_RIGHT_MOST ( oBrw:GoRightMost(), oBrw:GoLeft(), oBrw:GoRight() )
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: A problem to display last column using oBrw:GoRightMost()

Postby ukoenig » Thu Nov 26, 2015 1:15 pm

I found a solution :

COLUMNS { "NACHNAME", "VORNAME", "RTYP", ;
"KOST_RZH", "KOST_BEI", "KOST_PRI", ;
"KRK", "KRX", ;
"FK0", "PFX0", "PFK1", "PFX1", "PFK2", "PFX2", "PFK3", "PFX3", ;
"B1X", "PBK", "PBX", "B2X", ;
"PRA", "VPK", "VPX", "PRI", "BERG", "SUMME", "PKT_SUMME", "RECH_DATUM", "RECH_DATUM" } ;

It works with the last column defined twice and column-size 1

oCol := oBrw1:oCol( "RECH_DATUM" )
oCol:bStrData := { || (cMUmsName)->RECH_DATUM }
oCol:cHeader := "Erstellt"
oCol:nWidth := 90
oCol:nDataStrAlign := AL_CENTER
oCol:nHeadStrAlign := AL_CENTER


oCol := oBrw1:oCol( "RECH_DATUM" )
oCol:bStrData := { || (cMUmsName)->RECH_DATUM }
oCol:cHeader := ""
oCol:nWidth := 1
oCol:nDataStrAlign := AL_CENTER
oCol:nHeadStrAlign := AL_CENTER


Image

maybe any other solution ?

best regards
Uwe :?:
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: A problem to display last column using oBrw:GoRightMost()

Postby ukoenig » Thu Nov 26, 2015 1:54 pm

Thank You very much.
The solution with the combination works fine.

The GORIGHT - selection :

REDEFINE BTNBMP oBtn3 OF oFld:aDialogs[ 1 ] ;
ID 302 PIXEL 2007 ;
BORDER ;
FILENAME c_Pfad1 + "Rechts.Bmp" ;
ACTION ( oBrw1:GoRightMost(), oBrw1:GoLeft(), oBrw1:GoRight(), oBrw1:Refresh() ) ;
CENTER

best 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: A problem to display last column using oBrw:GoRightMost()

Postby hmpaquito » Thu Nov 26, 2015 2:30 pm

you're welcome

best regards
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 28 guests