FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse help
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
xbrowse help
Posted: Wed Dec 11, 2013 05: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.

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xbrowse help
Posted: Wed Dec 11, 2013 11:12 PM

Have you tried:

oBrw:bKeyChar:=...

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: xbrowse help
Posted: 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
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Re: xbrowse help
Posted: Fri Dec 13, 2013 04: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.





Thanks in advance.
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xbrowse help
Posted: Sun Feb 23, 2014 03:48 PM
Wanderson,

Did you ever solve this?

I found this in the xbrowse.prg file:

Code (fw): Select all Collapse
   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 (fw): Select all Collapse
nMoveType:= 5

Might solve your problem.

Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: xbrowse help
Posted: Mon Feb 24, 2014 03: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

Continue the discussion