JoPPS/JCALL/JScripter
Mimics the windows MessageBeep API function.
î The optional D-type argument specifies the sound type
& Refer to the Windows SDK documentation for more information. (MessageBeep)
BrowseDataDlg(Ddlg,Scode[,…[,Dfltr[,Dlock[,Dpage[,Dhide]]]])
JoPPS/3.27
Launches browse dialogue to select data through scripting
î Ddlg determines which data dialogue to show
DLG_CLIENT
DLG_FINISH
DLG_SYSTEM
DLG_PRODUCT
DLG_PROFILE
DLG_COMBINATION
DLG_GLAZINBEAD
DLG_REINFORCEMENT
DLG_ACCESSORY
DLG_SET
DLG_ACCSET
DLG_FILLING
DLG_FINISHES
DLG_PRICEBLOCK
DLG_PRICE
DLG_PRICESTANDARD
DLG_PRICETARIFF
DLG_NORM
DLG_TASK
DLG_ACTION
DLG_OPERATION
DLG_UPROFILE
DLG_UFILLING
DLG_CEDATA
DLG_JOB
DLG_FRAME
DLG_VENT
î SCode,… key field values to show a specific record
The number and the type of fields will depend on the key fields of the table. If the key field values is blank / zero the first record is selected
î Dfltr determines which categories will be activated
32-bit value where each bit with value = 1 represents an activated category
î Dlock determines whether the user may change categories
0 = user can modify categories
1 = user can NOT modify categories
î Dpage determines the tab of the browser dialog to show
PAGE_FORM
PAGE_LIST
PAGE_REMARK
PAGE_OUTLINE
PAGE_THUMBS
PAGE_FILTERS
PAGE_SPECIAL
î Dhide
True=categories will be hidden
False= categories will be visible
7 Example :
/* show client dialog */
sCode := 'TECHWIN';
sKey := BrowseDataDlg(DLG_CLIENT,sCode,0,True,PAGE_LIST,True);
if sKey <> '' then { ShowMessage(sKey); };