function DbChoice( cTitle, cSelect )
local oDlg, oBrw
DEFINE DIALOG oDlg RESOURCE "DbChoice" TITLE cTitle
REDEFINE LISTBOX oBrw ;
FIELDS ArCust->Code, ArCust->Name ;
HEADERS "Code", "Name" ;
ID 100 OF oDlg
oBrw:bKeyDown = { | nKey | If( nKey == VK_RETURN, oDlg:End(),) }
ACTIVATE DIALOG oDlg CENTERED
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 80 guests