Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Than I do a skip ... As the selected workarea than is not the original workarea skipping takes place through the grid iso the 'base' table.
* In the grid's When
THISFORM.cAlias = ALIAS()
* In the grid's Mousewheel (or other) event
IF NOT EMPTY THISFORM.cAlias
SKIP IN (THISFORM.cAlias)
ENDIF
* skip forward
LPARAMETERS tBottom
LOCAL llOK, lnOldSelect, lcPrimTable
llOK = .T.
WITH this
IF !thisform.lCanNavigate
RETURN
ENDIF
.saveForm()
lnOldSelect = SELECT()
IF !EMPTY(.cPrimairytable)
.beforeskip()
SELECT (.cPrimairyTable)
IF tBottom
GO BOTTOM
ELSE
IF !EOF()
SKIP IN (.cPrimairytable)
ENDIF
ENDIF
IF EOF()
GO Bottom
=.message(MSG_LAST_REC,WHITE,BLACK,.Left,.width,.height)
ENDIF
.afterskip()
.refreshform()
ENDIF
SELECT (lnOldSelect)
ENDWITH
IF .lBindMousewheelToForm
Bindevent(This,"MouseWheel",Thisform,"MouseWheel")
ENDIF
*MouseWheel
LPARAMETERS nDirection, nShift, nXCoord, nYCoord
WITH thisform
IF nDirection < 0
.skipforward
ENDIF
IF nDirection > 0
.skipback
ENDIF
ENDWITH