Hi,
I would like to ask the status of the fix, as I reported the wrong behaviour in december.
Thank you.
function XbrVScroll
field NAME
local oDlg, oBrw, oFont
USE STATES NEW VIA "DBFCDX"
SET ORDER TO TAG NAME
SET FILTER TO NAME >= "A" .AND. NAME <= "D"
GO TOP
DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-14
DEFINE DIALOG oDlg SIZE 400,300 PIXEL TRUEPIXEL FONT oFont TITLE "VSCROLLBAR"
@ 20,20 XBROWSE oBrw SIZE -20,-20 PIXEL OF oDlg ;
DATASOURCE "STATES" ;
COLUMNS "RECNO()", "CODE", "NAME" ;
PICTURES "999" ;
CELL LINES NOBORDER
WITH OBJECT oBrw
:CreateFromCode()
END
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont
return nil
DEFAULT ::bKeyNo := ::bBookMark, ;
::bKeyCount := { || ( ::cAlias )->( LastRec() ) }
DEFAULT ::bKeyNo := ::bBookMark, ;
DBFILTER()
ORDSETFOCUS()
::bKeyNo := ::bBookMark
DEFAULT ::bKeyNo := { |n| ( ::cAlias )->( SqlRddKey( n ) ) }
...
...
static function SqlRddKey( x )
if Empty( DBFILTER() ) .and. Empty( OrdSetFocus() )
if x != nil
DBGOTO( x )
endif
return RECNO()
endif
return 0
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 33 guests