xbrowse listbox

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

xbrowse listbox

Post by byte-one »

I have a Listbox in xbrowse with items leading a,b,c,...
Now i will press z.B. c,... , the cursor turns to the third item and then i will automatically evaluate the bPostedit and leave the listbox to next cell!
Have anyone a solution for this?
Last edited by byte-one on Mon Apr 22, 2019 4:03 pm, edited 1 time in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: xbrowse listbox

Post by ukoenig »

Günther,
I have a Listbox in xbrowse with items leading a,b,c,...
Now i will press z.B. c,... , the cursor turns to the third item and the
i will automatically evaluate the bPostedit and leave the listbox to next cell!
the solution You are looking for :?:
You can move to the next column or next row ( the sample moves to the next column and same row )

Image

1. a Listbox in xbrowse with items leading a,b,c
2. selected with dblclick or return. exit with esc or button
3. automatically evaluated the bPostedit and leaves the listbox to next cell


do You want to move to the next column ( focus ) or simply down to the next row :?:

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
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: xbrowse listbox

Post by byte-one »

Uwe,
2. selected with dblclick or return. exit with esc or button
only with type a or b..... WITHOUT to press return or dblclick.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: xbrowse listbox

Post by ukoenig »

Günther,

to the next column or next row

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
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: xbrowse listbox

Post by byte-one »

Uwe, next column!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: xbrowse listbox

Post by ukoenig »

Günther,

that belongs to my test.
the next column can be in edit-mode or just getting the focus
I'm still working on the called function MyCellDlg( ..
that will calculate the needed overall-size in relation to the defined items.

WITH OBJECT :aCols[ 3 ]
:nEditType := EDIT_BUTTON
:bEditBlock := { | nRow, nCol, oCol, nKey | Retvalue := MyCellDlg( oBrw, nRow, nCol, oCol, nKey ), ;
IIF( Retvalue <> NIL, ( oCust:City := Retvalue, oBrw:RefreshCurrent(), oBrw:GoRight() ), NIL ) }
END

next column
:aCols[ 4 ]:nEditType = EDIT_GET

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.
Post Reply