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?
xbrowse listbox
xbrowse listbox
Last edited by byte-one on Mon Apr 22, 2019 4:03 pm, edited 1 time in total.
Re: xbrowse listbox
Günther,
You can move to the next column or next row ( the sample moves to the next column and same row )
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
the solution You are looking forI 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!
You can move to the next column or next row ( the sample moves to the next column and same row )
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
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.
i work with FW.
If you have any questions about special functions, maybe i can help.
Re: xbrowse listbox
Uwe,
only with type a or b..... WITHOUT to press return or dblclick.2. selected with dblclick or return. exit with esc or button
Re: xbrowse listbox
Günther,
to the next column or next row
regards
Uwe
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.
i work with FW.
If you have any questions about special functions, maybe i can help.
Re: xbrowse listbox
Uwe, next column!
Re: xbrowse listbox
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
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.
i work with FW.
If you have any questions about special functions, maybe i can help.