xbrowse freeze and goto column

xbrowse freeze and goto column

Postby Rick Lipkin » Fri Jun 04, 2010 4:06 pm

To All

I am trying to migrate all my listboxes to xbrowse .. specifically 2 commands in Hernans txbrowse ..

I need to go to a specific column on dialog init .. oBrow:GoToCol(nCOL )

Code: Select all  Expand view

ACTIVATE DIALOG oEMP NOWAIT    ;
    ON INIT ( oEMP:Move( 0, 0 ),;
              IF( (xSUPER = 'Y'.or. xMGR = 'Y' .or. xADMIN = 'Y'), ,oBTN4:HIDE() ), ;
                  oBROW:GoToCol(nCOL) )
 


and to freeze 5 columns to the left of the scrolling listbox ..

oBROW:nFREEZE := 5

Thanks in advance

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: xbrowse freeze and goto column

Postby nageswaragunupudi » Sat Jun 05, 2010 11:09 am

XBrowse:

oBrw:nFreeze := 5 // same syntax in xbrowse too

Instead of oBrw:GotoCol, XBrowse has a more powerful method:

oBrw:SetPos( nRow, nCol, [ lPixel DEFAULT .f. ] )

You can say oBrw:SetPos( 1, 6 ) to position cursor in the 1st row 6th column.
Regards

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

Re: xbrowse freeze and goto column

Postby Rick Lipkin » Sat Jun 05, 2010 2:46 pm

Rao

Good to hear back from an old friend .. I have been out of the FWH community for some time and have decided to do some contracting work and perhaps market many of my applications I have built over the many years ..

Human Resources, Time and reporting, Inventory, Sales and route mgmt, Accounts receivable\payables, Property Mgmt, fleet Vehicle reservations, church and organizational memberships, purchasing and requisitions ..

Thinking about forming a company ( limited liability corporation 'llc' ) and need a business partner .. if you have a desire to come to South Carolina, USA .. let me know !!!

I have a new e-mail address r1.1955@live.com ..

Thanks for your quick help !

Rick Lipkin

Image

Image
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], jmartial, Marc Venken and 112 guests