xbrowse help

xbrowse help

Postby Wanderson » Wed Dec 11, 2013 5:28 pm

Hi all,

How i can avoid xbrowse jumps to another column when i press <enter>, cause i want to use a enter key to another thing.

Thanks in advance.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: xbrowse help

Postby James Bott » Wed Dec 11, 2013 11:12 pm

Have you tried:

oBrw:bKeyChar:=...

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xbrowse help

Postby cnavarro » Wed Dec 11, 2013 11:51 pm

Wanderson wrote:Hi all,

How i can avoid xbrowse jumps to another column when i press <enter>, cause i want to use a enter key to another thing.

Thanks in advance.


You can try:

::lEnterKey2Edit := .F.
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6504
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: xbrowse help

Postby Wanderson » Fri Dec 13, 2013 4:59 pm

Thanks but doesn't work.

See the images above, first i search in browse and select the record, second i press <enter> in record to transfer to another empty browser, its ok but look in image 2 the first browse jumps to second column, i want to avoid this.

Image

Image

Thanks in advance.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: xbrowse help

Postby James Bott » Sun Feb 23, 2014 3:48 pm

Wanderson,

Did you ever solve this?

I found this in the xbrowse.prg file:

Code: Select all  Expand view
  DATA nMoveType;      // 1 Move Right
        AS NUMERIC      // 2 Move Left
                        // 3 Move Up
                        // 4 Move down
                        // 5 No Move
                        // 6 Move Right with lFastedit features, only work with lFastEdit := .t.
                        // 7 Move left with lFastedit features, only work with lFastEdit := .t.
 

So it seems like doing:

Code: Select all  Expand view
nMoveType:= 5

Might solve your problem.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xbrowse help

Postby Rick Lipkin » Mon Feb 24, 2014 3:18 pm

James

In your pre or post xBrowse code blocks you can tell the cursor to go to any column ..

oBrw:nColsel(5) // 5 is the column to jump to

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2634
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] and 28 guests