Question to XBROWSE

Question to XBROWSE

Postby byte-one » Sun Mar 01, 2020 1:50 pm

I have a xbrowse with a normal cell to edit and oBrw:nMoveType := MOVE_DOWN. Now i will skip to the next cell with value over 10. This should functioning also with arrow-keys and V-scroll. All lines <= 10 should not be reachable.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Question to XBROWSE

Postby nageswaragunupudi » Sun Mar 01, 2020 2:36 pm

I am unable to understand what do you want please.
Regards

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

Re: Question to XBROWSE

Postby byte-one » Sun Mar 01, 2020 5:07 pm

Short: In a xbrowse a editable cell should only get the focus if a specified function gives .T., otherwise skip to the next row where the function gives the next .T..
I do with bChange but the skip should functioning in both directions with the up-/down keys and also with the V-scroll and after click enterafter editing.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Question to XBROWSE

Postby byte-one » Tue Mar 03, 2020 12:14 pm

I have solved for me!

But as suggestion for XBROWSE:
A function similar to "SKIP FOR bFor WHEN bWhen" espacially for rows with one or more editable cells.
z.B. "SKIP FOR empty(Col1)"
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 56 guests