The Sys type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberAC_Dynamic
Specify this constant with SalArraySetUpperBound to change a const array to a dynamic array. Value = 2147483648
Public fieldStatic memberCF_Text
This constant represents the format value returned by a call to SalDDEExtractOptions. Value = 1
Public fieldStatic memberCM_TableCell
Specify this in SalContextMenuSetPopup to replace the default menu that Windows displays when the mouse pointer is in an editable table window cell. Value = 1
Public fieldStatic memberCOL_CellType_CheckBox
Public fieldStatic memberCOL_CellType_DropDownList
Public fieldStatic memberCOL_CellType_PopupEdit
Public fieldStatic memberCOL_CellType_Standard
TableWindow cell types.
Public fieldStatic memberCOL_CenterJustify
This table column flag indicates that you want to center text in a table window column. If this flag is set, you cannot also set the COL_CenterJustify flag at the same time. If you set neither COL_RightJustify nor COL_CenterJustify, then a left-justifies the column text by default. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 0x100
Public fieldStatic memberCOL_CheckBox_IgnoreCase
Used on check box columns to indicate that it should ignore the case of the checked and unchecked strings.
Public fieldStatic memberCOL_DimTitle
This table column flag indicates that a column title is show as disabled text. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 32
Public fieldStatic memberCOL_DropDownList_Auto
Public fieldStatic memberCOL_DropDownList_Editable
Public fieldStatic memberCOL_DropDownList_Sorted
Column flags used to define drop down columns.
Public fieldStatic memberCOL_DropDownList_VScroll
Public fieldStatic memberCOL_Editable
This table column flag lets users edit the text of a table window column. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 2
Public fieldStatic memberCOL_GetID
This table column flag indicates that you want to get a column based on its identifier. Use this constant with the SalTblGetColumnWindow function. 1 is the first column in the application outline. Value = 0
Public fieldStatic memberCOL_GetPos
This table column flag indicates that you want to get a column based on its position in the table window. Use this constant with the SalTblGetColumnWindow function. 1 is the first (left-most) column in the table window. Value = 1
Public fieldStatic memberCOL_IndicateOverflow
This table column flag fills a table window cell with the overflow character ("#") when the text does not fit in the cell. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 0x1000
Public fieldStatic memberCOL_Invisible
This table column flag indicates that a column is used to edit a password. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 16
Public fieldStatic memberCOL_LowerCase
This table column flag indicates that the cell format is lowercase. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 0x0800
Public fieldStatic memberCOL_MultilineCell
This constant is used to define a column as a multiline column.
Public fieldStatic memberCOL_ReadOnly
This table column flag indicates that the column cell is read only. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 0x0200
Public fieldStatic memberCOL_RightJustify
This table column flag right-justifies text in a column. If this flag is set, you cannot also set the COL_CenterJustify flag at the same time. If you set neither COL_RightJustify nor COL_CenterJustify, then left-justifies the column text by default. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 0x80
Public fieldStatic memberCOL_Selected
This table column flag indicates that a column is selected. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 4
Public fieldStatic memberCOL_UpperCase
This table column flag indicates that the cell format is uppercase. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 0x0400
Public fieldStatic memberCOL_Visible
This table column flag indicates that a column is visible. Use this constant with the SalTblSetColumnFlags and SalTblQueryColumnFlags functions. Value = 1
Public fieldStatic memberCOLOR_3DFace
The color of the window background (sometimes called the "button face" color). The default is light gray. However, a user can change the color of the window background by selecting a different color scheme. Specify this to make the color of the window background consistent with the color scheme set by the user. Use this constant with SalColorGet and SalColorSet. Value = 0x70000000
Public fieldStatic memberCOLOR_3DHighlight
The color of highlighted areas. The default is white. However, the user can change the color of highlighted areas by selecting a different color scheme. Specify this to make the color of highlighted areas consistent with the color scheme set by the user. Use this constant with SalColorGet and SalColorSet. Value = 0x90000000
Public fieldStatic memberCOLOR_3DShadow
The color of shadow areas. The default is dark gray. However, a user can change the color of shadow areas by selecting a different color scheme. Specify this to make the color of shadow areas consistent with the color scheme set by the user. Use this constant with SalColorGet and SalColorSet. Value = 0x80000000
Public fieldStatic memberCOLOR_Black
Public fieldStatic memberCOLOR_Blue
Public fieldStatic memberCOLOR_Burgundy
Public fieldStatic memberCOLOR_Charcoal
Public fieldStatic memberCOLOR_Chartreuse
Public fieldStatic memberCOLOR_Cyan
Public fieldStatic memberCOLOR_DarkAqua
Public fieldStatic memberCOLOR_DarkBlue
Public fieldStatic memberCOLOR_DarkGray
Public fieldStatic memberCOLOR_DarkGreen
Public fieldStatic memberCOLOR_DarkRed
Public fieldStatic memberCOLOR_Default
Public fieldStatic memberCOLOR_Gray
Public fieldStatic memberCOLOR_Green
Public fieldStatic memberCOLOR_IndexCell
This constant refers to the cell background color of the context row in a table window column. (You cannot set the color of the cell text in the Customizer). Use this constant with the SalColorGet and SalColorSet functions. Value = 108
Public fieldStatic memberCOLOR_IndexCellText
This constant refers to the cell text color of the context row in a table window column. (You cannot set the color of the cell text in the Customizer). Use this constant with the SalColorGet and SalColorSet functions. Value = 100
Public fieldStatic memberCOLOR_IndexTransparent
This constant refers to the transparent color in a picture or push button bitmap. For example, assume you have a push button that contains a bitmap that is blue, red, and green. If you set COLOR_IndexTransparent to COLOR_Blue, the blue portions of the bitmap become transparent; this allows the color of the form window underneath the push button to show through. Use this constant with the SalColorGet and SalColorSet functions. Value = 101
Public fieldStatic memberCOLOR_IndexWindow
This constant refers to the window's background color. Use this constant with the SalColorGet, SalColorGetSysColor, and SalColorSet functions. Value = 5
Public fieldStatic memberCOLOR_IndexWindowText
This constant refers to the window's text color. Use this constant with the SalColorGet, SalColorGetSysColor, and SalColorSet functions. Value = 8
Public fieldStatic memberCOLOR_Jade
Known colors
Public fieldStatic memberCOLOR_LightAqua
Public fieldStatic memberCOLOR_LightGray
Public fieldStatic memberCOLOR_LightGreen
Public fieldStatic memberCOLOR_LightPeriwinkle
Public fieldStatic memberCOLOR_Magenta
Public fieldStatic memberCOLOR_Maize
Public fieldStatic memberCOLOR_Marigold
Public fieldStatic memberCOLOR_MidnightBlue
Public fieldStatic memberCOLOR_None
This constant means that the transparent color has not been set. SalColorGet can return this constant, and you can specify this constant in SalColorSet. Value = 0x60000000
Public fieldStatic memberCOLOR_Orchid
Public fieldStatic memberCOLOR_Periwinkle
Public fieldStatic memberCOLOR_Purple
Public fieldStatic memberCOLOR_Red
Public fieldStatic memberCOLOR_RoyalBlue
Public fieldStatic memberCOLOR_Salmon
Public fieldStatic memberCOLOR_Sky
Public fieldStatic memberCOLOR_SysWindow
This constant refers to the window's background color. Use this constant with the SalColorGetSysColor function. Value = 0x10000000
Public fieldStatic memberCOLOR_SysWindowFrame
This constant refers to the color of the window's frame. Use this constant with the SalColorGetSysColor function. Value = 0x50000000
Public fieldStatic memberCOLOR_SysWindowText
This constant refers to the color of the window's text. Use this constant with the SalColorGetSysColor function. Value = 0x20000000
Public fieldStatic memberCOLOR_Teal
Public fieldStatic memberCOLOR_White
Public fieldStatic memberCOLOR_Yellow
Public fieldStatic memberCREATE_AsChild
Public fieldStatic memberCREATE_Border
Public fieldStatic memberCREATE_Hidden
Flags passed to SalCreateWindowEx
Public fieldStatic memberCURSOR_Arrow
The standard arrow cursor. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_Cross
A crosshair cursor. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_DisableDrop
The cursor that displays when in drag mode and drop is disabled. Use this constant with the SalCursorSet and SalCursorSetFile functions. Value = 3
Public fieldStatic memberCURSOR_DragDrop
The cursor that displays when in drag mode and drop is enabled. Use this constant with the SalCursorSet and SalCursorSetFile functions. Value = 2
Public fieldStatic memberCURSOR_IBeam
A text (I-beam) cursor. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_Icon
An empty icon. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_Size
A cursor that looks like a square with a smaller square in its lower right corner. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_SizeNESW
A double-pointed cursor with arrows pointing northeast and southwest. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_SizeNS
A double-pointed cursor with arrows pointing north and south. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_SizeNWSE
A double-pointed cursor with arrows pointing northwest and southeast. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_SizeWE
A double-pointed cursor with arrows pointing west and east. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_UpArrow
A vertical arrow cursor. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_Wait
An hourglass cursor. Use this constant with the SalCursorSet function.
Public fieldStatic memberCURSOR_Window
The cursor that displays when positioned over a window and drag mode is not enabled. Use this constant with the SalCursorSet and SalCursorSetFile functions. Value = 1
Public fieldStatic memberDATETIME_Null
Use this constant to set a Date/Time to a null value or to check if a Date/Time value is null.
Public fieldStatic memberDBP_AUTOCOMMIT
Use this constant to either get or set the value of a database parameter indicating the current autocommit status of the database. If autocommit is on (TRUE), the database commits changes automatically after each SQL command. If autocommit is off (FALSE), then the database commits changes only when you issue a COMMIT command. Use this constant with the SqlGetParameter, and SqlSetParameter functions. You can only use DBP_AUTOCOMMIT with databases which support this feature. Please refer to the appropriate database manuals for more information. Value = 1
Public fieldStatic memberDBP_BRAND
Use this constant to obtain the brand of the database engine. Brand is represented by the numeric value of one of these constants: DBV_BRAND_ALLBASE 10 DBV_BRAND_AS400 7 DBV_BRAND_CINCOMSUPRA 20 DBV_BRAND_DB2 2 DBV_BRAND_INFORMIX 5 DBV_BRAND_INFORMIXONLINE 24 DBV_BRAND_NETWARE 6 DBV_BRAND_ORACLE 4 DBV_BRAND_ORACLE7 28 DBV_BRAND_OS2EE 3 DBV_BRAND_SQL 1 DBV_BRAND_SYBASE 8 Use this constant with the SqlGetParameter. Value = 2
Public fieldStatic memberDBP_FETCHTHROUGH
Use this constant to either get or set the status of a database parameter indicating the current status of the FETCHTHROUGH feature. FETCHTHROUGH enables you to retrieve rows directly from the database server instead of from the client's input message buffer, thereby ensuring that you get the most up-to-date data. If FETCHTHROUGH is on (TRUE), the application fetches data one row at a time from the backend. Using this feature increases response time, so you should only use this feature when you need to get the most up-to-date information. If FETCHTHROUGH is off (FALSE), the application fetches data from the client's input message buffer whenever possible. This is the default. Use this constant with the SqlGetParameter, and SqlSetParameter, functions. You can only use this feature against SQLBase. Value = 7
Public fieldStatic memberDBP_ISOLEVEL
Isolation level: RR,RL,CS,RO,SE
Public fieldStatic memberDBP_LOCKWAITTIMEOUT
Use this constant to either get or set the value of a database parameter which specifies the number of seconds an application should wait for a database lock to be acquired before timing out. After the specified time has elapsed, SQLBase rolls back the transaction. The default timeout value is 300 seconds. Valid time out values are: 1-1800 Wait 1 second to 30 minutes -1 Wait forever 0 Never wait; immediately return a time out error. Use this constant with the SqlGetParameter and SqlSetParameter functions. You can only use this constant against databases which support the setting of lock wait timeout values. Please refer to the appropriate database manuals for more information. Value = 5
Public fieldStatic memberDBP_NOPREBUILD
Use this constant to either get or set the value of a database parameter which specifies whether result sets should be pre-built on remote databases when the application is in result set mode and is using the Release Locks isolation level. Pre-building a result set provides the advantages of being able to release shared locks and returning control to the client. The disadvantage of pre-building a result set is that the application must wait while the result set is being built. If NOPREBUILD is on (TRUE), result sets are not pre-built. A shared lock remains on the current page. This is the default setting. If NOPREBUILD is off (FALSE), result sets are pre-built on the remote database. Use this constant with the SqlGetParameter and SqlSetParameter functions. You can only use this feature against SQLBase. Value = 8
Public fieldStatic memberDBP_PRESERVE
Use this constant to get or set the value of the database parameter that specifies whether cursor context preservation is on or off. If cursor-context preservation is on (TRUE), a COMMIT does not destroy an active result set (cursor context). This enables an application to maintain its position after a COMMIT, INSERT, or UPDATE. The cursor context is not preserved after an isolation level change. The context is preserved after a ROLLBACK if both of the following are true: The application is in the Release Locks (RL) isolation level. A DDL operation was not performed. If cursor-context preservation is off (FALSE), a COMMIT does destroy an active result set. Cursor context preservation is lost. Use this constant with the SqlGetParameter, and SqlSetParameter functions. Value = 3
Public fieldStatic memberDBP_ROLLBACKONTIMEOUT
Use this constant to either get or set the value of a database parameter which specifies the rollback status when a lock timeout occurs. If the parameter is TRUE, the entire transaction rolls back when a lock timeout occurs. If it is FALSE, only the current command rolls back on a lock timeout. Use this constant with the SqlGetParameter, and SqlSetParameter. The rollbackontimeout feature can only be used against some databases. Please see the appropriate database manuals for more information. Value = 6
Public fieldStatic memberDBP_VERSION
Use this constant to get the version number of the server software. Use this constant with the SqlGetParameter, function. Value = 4
Public fieldStatic memberDBV_BRAND_ALLBASE
DBV_BRAND_ALLBASE means that the application is accessing an ALLBASE database. Value = 10
Public fieldStatic memberDBV_BRAND_APPLEDAL
DBV_BRAND_APPLEDAL means that the application is using an Apple DAL Interface. Value = 22
Public fieldStatic memberDBV_BRAND_AS400
DBV_BRAND_AS400 means that the application is accessing an AS/400 database. Value = 7
Public fieldStatic memberDBV_BRAND_CCAMODEL20
DBV_BRAND_CCAMODEL20 means that the application is accessing a CCA Model 204 database. Value = 21
Public fieldStatic memberDBV_BRAND_CINCOMSUPRA
DBV_BRAND_CINCOMSUPRA means that the application is accessing a Cincom Supra database. Value = 20
Public fieldStatic memberDBV_BRAND_DB2
DBV_BRAND_DB2 means that the application is accessing a DB2 database. Value = 2
Public fieldStatic memberDBV_BRAND_DBASE
DBV_BRAND_DBASE means that the application is accessing a DBASE database. Value = 17
Public fieldStatic memberDBV_BRAND_EDASQL
DBV_BRAND_EDASQL means that the application is accessing a Sybase database. Value = 25
Public fieldStatic memberDBV_BRAND_IMBSQLDS
DBV_BRAND_IMBSQLDS means that the application is accessing a IBM SQL/DS database. Value = 13
Public fieldStatic memberDBV_BRAND_INFORMIX
DBV_BRAND_INFORMIX means that the application is accessing an Informix database. Value = 5
Public fieldStatic memberDBV_BRAND_INFORMIXONLINE
DBV_BRAND_INFORMIXONLINE means that the application is accessing an Informix Online database. Value = 24
Public fieldStatic memberDBV_BRAND_INGRES
DBV_BRAND_INGRES means that the application is accessing a INGRES database. Value = 15
Public fieldStatic memberDBV_BRAND_INGRESSOPENSQL
DBV_BRAND_INGRESSOPENSQL means that the application is accessing a Ingres OpenSQL database. Value = 29
Public fieldStatic memberDBV_BRAND_INGRESSOPENSQLD
DBV_BRAND_INGRESSOPENSQLD means that the application is accessing a Ingres OpenSQL database with date support. Value = 30
Public fieldStatic memberDBV_BRAND_MSSQL
DBV_BRAND_NOCOMMIMER means that the application is accessing a Nocom Mimer database. Value = 102
Public fieldStatic memberDBV_BRAND_NETWARE
DBV_BRAND_NETWARE means that the application is accessing a Novell NetWare database. Value = 6
Public fieldStatic memberDBV_BRAND_NETWARESQL
Public fieldStatic memberDBV_BRAND_NOCOMMIMER
DBV_BRAND_NOCOMMIMER means that the application is accessing a Nocom Mimer database. Value = 27
Public fieldStatic memberDBV_BRAND_NONSTOPSQL
This constant is returned by SqlGetParameter when you specify DBP_BRAND means that the application is accessing a Tandem Nonstop SQL database. Value = 12
Public fieldStatic memberDBV_BRAND_ODBC
DBV_BRAND_ODBC means that the application is accessing a database using an ODBC Router. Value = 31
Public fieldStatic memberDBV_BRAND_ORACLE
DBV_BRAND_ORACLE means that the application is accessing an Oracle database. Value = 4
Public fieldStatic memberDBV_BRAND_ORACLE7
DBV_BRAND_ORACLE7 means that the application is accessing an Oracle v. 7 database. Value = 28
Public fieldStatic memberDBV_BRAND_ORACLE8
DBV_BRAND_ORACLE8 means that the application is accessing an Oracle v. 8 database.
Public fieldStatic memberDBV_BRAND_OS2EE
DBV_BRAND_OS2EE means that the application is accessing an IBM Database Manager database. Value = 3
Public fieldStatic memberDBV_BRAND_RDB
This constant is returned by SqlGetParameter when you specify DBP_BRAND CST_DBV_BRAND_RDB means that the application is accessing a DEC RDB database. Value = 11
Public fieldStatic memberDBV_BRAND_RDBII
DBV_BRAND_RDBII means that the application is accessing a Fujitsu RDBII database. Value = 19
Public fieldStatic memberDBV_BRAND_SHAREBASE
DBV_BRAND_SHAREBASE means that the application is accessing a Teradata Sharebase database. Value = 23
Public fieldStatic memberDBV_BRAND_SNIDDB4
DBV_BRAND_SNIDDB4 means that the application is accessing a SNI DDB4 database. Value = 18
Public fieldStatic memberDBV_BRAND_SNISESAM
DBV_BRAND_SNISESAM means that the application is accessing a SNI SESAM database. Value = 14
Public fieldStatic memberDBV_BRAND_SNIUDS
DBV_BRAND_SNIUDS means that the application is accessing a SNI UDS database. Value = 26
Public fieldStatic memberDBV_BRAND_SQL
DBV_BRAND_SQL means that the application is accessing a SQLBase database. Value = 1
Public fieldStatic memberDBV_BRAND_SQLACCESS
DBV_BRAND_SQLACCESS means that the application is accessing a SQL Access database. Value = 16
Public fieldStatic memberDBV_BRAND_SQLHOSTAPP
DBV_BRAND_SQLHOSTAPP means that the application using SQLHOST App Services. Value = 99
Public fieldStatic memberDBV_BRAND_SYBASE
DBV_BRAND_SYBASE means that the application is accessing a Sybase database. Value = 8
Public fieldStatic memberDBV_BRAND_SYSTEM10
SqlGetParameterreturns this constant when you specify DBP_BRAND and are accessing a Sybase System 10 database. Value = 32
Public fieldStatic memberDBV_BRAND_TERADATA
DBV_BRAND_TERADATA means that the application is accessing a Teradata dbc database. Value = 9
Public fieldStatic memberDDE_fAck
DDE status bits
Public fieldStatic memberDDE_fBusy
Public fieldStatic memberDDE_fNoData
Public fieldStatic memberDDE_fRelease
Public fieldStatic memberDDE_fResponse
Public fieldStatic memberDOCK_Any
Public fieldStatic memberDOCK_Bottom
Public fieldStatic memberDOCK_Left
Public fieldStatic memberDOCK_None
Dockable dialogs constants
Public fieldStatic memberDOCK_Right
Public fieldStatic memberDOCK_Top
Public fieldStatic memberDRIVE_CDROM
Public fieldStatic memberDRIVE_Fixed
Public fieldStatic memberDRIVE_Floppy
DRIVE_* constants
Public fieldStatic memberDRIVE_Network
Public fieldStatic memberDRIVE_RAM
Public fieldStatic memberDT_Boolean
This constant is returned by the SalGetDataType function. It indicates that the field or table window column is of type Boolean. Value = 1
Public fieldStatic memberDT_DateTime
This constant is returned by the SalGetDataType function. It indicates that the field or table window column is of type Date/Time. Value = 2
Public fieldStatic memberDT_LongString
This constant is returned by the SalGetDataType function. It indicates that the field or table window column is of type Long String. Value = 7
Public fieldStatic memberDT_Number
This constant is returned by the SalGetDataType function. It indicates that the field or table window column is of type Number. Value = 3
Public fieldStatic memberDT_String
This constant is returned by the SalGetDataType function. It indicates that the field or table window column is of type String. Value = 5
Public fieldStatic memberDW_Default
This constant is returned by the SalGetMaxDataLength function when a data field, multiline text field, or table window column is declared with a length of "Default". Value = -1
Public fieldStatic memberEVAL_Date
This constant is returned by the SalCompileAndEvaluate function when the data type of an expression evaluates to Date/Time. Value = 3
Public fieldStatic memberEVAL_Handle
This constant is returned by the SalCompileAndEvaluate function when the data type of an expression evaluates to Window Handle. Value = 4
Public fieldStatic memberEVAL_If
This constant is returned by the SalCompileAndEvaluate function when the data type of an expression evaluates to an If statement. Value = 100
Public fieldStatic memberEVAL_Number
This constant is returned by the SalCompileAndEvaluate function when the data type of an expression evaluates to Number. Value = 1
Public fieldStatic memberEVAL_Set
This constant is returned by the SalCompileAndEvaluate function when the data type of an expression evaluates to a SET expression. Value = 99
Public fieldStatic memberEVAL_String
This constant is returned by the SalCompileAndEvaluate function when the data type of an expression evaluates to String. Value = 2
Public fieldStatic memberEVAL_Template
This constant is returned by the SalCompileAndEvaluate function when the data type of an expression evaluates to Template. Value = 5
Public fieldStatic memberEVENT_ERROR
Event constants used by SalTrace
Public fieldStatic memberEVENT_INFORMATION
Public fieldStatic memberEVENT_WARNING
Public fieldStatic memberFA_Archive
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_Archive specifies that should retrieve only archived files. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 32
Public fieldStatic memberFA_Directory
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_Directory specifies that should retrieve only sub-directories within the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 16
Public fieldStatic memberFA_Drive
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_Drive specifies that should retrieve a list of drives to which the machine is currently connected. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x4000
Public fieldStatic memberFA_Exclusive
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_Exclusive specifies that should retrieve only files of the specified type. If you do not specify FA_Exclusive, files of the specified type and FA_Standard files are listed with normal files. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x8000
Public fieldStatic memberFA_Hidden
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_Hidden specifies that should retrieve all hidden files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 2
Public fieldStatic memberFA_Queued
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_Queued specifies that should retrieve queued files (such as those to be printed) in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x2000
Public fieldStatic memberFA_ReadOnly
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_ReadOnly specifies that should retrieve only read-only files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 1
Public fieldStatic memberFA_Standard
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_Standard specifies that should retrieve all read/write files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0
Public fieldStatic memberFA_System
One of the File Access constants used by the SalListFiles function to define the type of files to retrieve and place in a list box. FA_System specifies that should retrieve all system files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 4
Public fieldStatic memberFETCH_Delete
This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it had been deleted from the query set since it was last fetched. Use this constant with the SqlFetchNext, SqlFetchPrevious, and SqlFetchRow functions. Value = 3
Public fieldStatic memberFETCH_EOF
This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it reached the end of the query set. Use this constant with the SqlFetchNext, SqlFetchPrevious, and SqlFetchRow functions. Value = 1
Public fieldStatic memberFETCH_Ok
This constant is returned to one of the SqlFetch* functions to indicate that the requested row was successfully fetched from the query set. Use this constant with the SqlFetchNext, SqlFetchPrevious, and SqlFetchRow functions. Value = 0
Public fieldStatic memberFETCH_Update
This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it had been updated since it was last fetched. Use this constant with the SqlFetchNext, SqlFetchPrevious, and SqlFetchRow functions. Value = 2
Public fieldStatic memberFILE_CopyDest
This constant is returned when the SalFileCopy function fails because it can not open the destination file. Value = 2
Public fieldStatic memberFILE_CopyExist
This constant is returned when the SalFileCopy function fails because the destination file already exists and the bOverWrite parameter is FALSE. Value = 3
Public fieldStatic memberFILE_CopyOK
This constant is returned when the SalFileCopy function successfully copies the contents of the source file to the destination file. Value = 0
Public fieldStatic memberFILE_CopyRead
This constant is returned when the SalFileCopy function fails while reading the source file. Value = 4
Public fieldStatic memberFILE_CopySrc
This constant is returned when the SalFileCopy function fails because the source file can not be opened. Value = 1
Public fieldStatic memberFILE_CopyWrite
This constant is returned when the SalFileCopy function fails while writing to the destination file. Value = 5
Public fieldStatic memberFILE_SeekBegin
Use this constant with the SalFileSeek function to position the file pointer at the beginning of a file. Value = 0
Public fieldStatic memberFILE_SeekCurrent
Use this constant with the SalFileSeek function to position the file pointer at its current location in the file. Value = 1
Public fieldStatic memberFILE_SeekEnd
Use this constant with the SalFileSeek function to position the file pointer at the end of the file. Value = 2
Public fieldStatic memberFMT_Date_JapanEmperor
This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_JapanEmperor. To use the JapanEmperor format, add a [GTITOOLS] section to WIN.INI, and set sDateType to JapanEmperor. In addition, set the sCountry parameter in the [INTL] section of WIN.INI to "Japan". Value = 3
Public fieldStatic memberFMT_Date_JapanGregorian
This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_JapanGregorian. To use the JapanGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to JapanGregorian. In addition, set the sCountry parameter in the [INTL] section of WIN.INI to "Japan". Value = 2
Public fieldStatic memberFMT_Date_LongGregorian
This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_LongGregorian. To use the LongGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to LongGregorian. This defaults to the format set by FMT_Parm_sLongDate. Value = 0
Public fieldStatic memberFMT_Date_ShortGregorian
This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_ShortGregorian. To use the ShortGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to ShortGregorian. This defaults to the format set by FMT_Parm_sShortDate. Value = 1
Public fieldStatic memberFMT_Format_Currency
This constant is used to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to currency, and it is used by the function SalFmtSetFormat to set a field or column's format to currency. Value = 1
Public fieldStatic memberFMT_Format_Date
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a date field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to date, and it is used by the function SalFmtSetFormat to set a field or column's format to date. Value = 2
Public fieldStatic memberFMT_Format_DateTime
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a date/time field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to date/time, and it is used by the function SalFmtSetFormat to set a field or column's format to date/time. Value = 3
Public fieldStatic memberFMT_Format_Decimal
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to decimal, and it is used by the function SalFmtSetFormat to set a field or column's format to decimal. Value = 4
Public fieldStatic memberFMT_Format_Invisible
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to invisible, and it is used by the function SalFmtSetFormat to set a field or column's format to invisible. Value = 5
Public fieldStatic memberFMT_Format_LowerCase
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to lowercase, and it is used by the function SalFmtSetFormat to set a field or column's format to lowercase. Value = 8
Public fieldStatic memberFMT_Format_Percentage
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to percentage, and it is used by the function SalFmtSetFormat to set a field or column's format to percentage. Value = 6
Public fieldStatic memberFMT_Format_Picture
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a field or column of number or date/time data type. This constant is returned by the function SalFmtGetFormat when a field or column has been picture-formatted, and it is used by the function SalFmtSetFormat to set a field or column to be picture-formatted. Value = -1
Public fieldStatic memberFMT_Format_Time
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a time field. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to time, and it is used by the function SalFmtSetFormat to set a field or column's format to time. Value = 7
Public fieldStatic memberFMT_Format_Unformatted
Use this constant to get or set the format of a data field or table window column of any data type. This constant is returned by the function SalFmtGetFormat when the format of a field or column is set to unformatted, and it is used by the function SalFmtSetFormat to set a field or column's format to unformatted. Value = 0
Public fieldStatic memberFMT_Format_UpperCase
Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function SalFmtGetFormat when the format of the field or column is set to uppercase, and it is used by the function SalFmtSetFormat to set a field or column's format to uppercase. Value = 9
Public fieldStatic memberFMT_Parm_iCurrDigits
Use this constant to obtain and define a field's profile-driven format. It represents the number of digits in the fractional part of a currency amount. Value = 17
Public fieldStatic memberFMT_Parm_iCurrency
Use this constant to obtain and define a field's profile-driven format. When you specify FMT_Parm_iCurrency, the integer format parameter value of a field can be one of the following: FMT_Prefix_NoSeparation FMT_Suffix_NoSeparation FMT_Prefix_Separation FMT_Suffix_Separation Value = 1
Public fieldStatic memberFMT_Parm_iDateType
Use this constant to obtain and define a field's profile-driven format. When you specify FMT_Parm_iDateType, the integer format parameter value of a field can be one of the following: FMT_Date_LongGregorian FMT_Date_ShortGregorian FMT_Date_JapanGregorian FMT_Date_JapanEmperor Value = 13
Public fieldStatic memberFMT_Parm_iDigits
Use this constant to obtain and define a field's profile-driven format. It represents the number of significant digits to the right of a number's decimal point. When you specify FMT_Parm_iDigits, the integer format parameter value of a field is the number of digits. Value = 3
Public fieldStatic memberFMT_Parm_iLzero
Use this constant to obtain and define a field's profile-driven format. It indicates whether or not to use a leading zero with decimal values less than 1.0 and greater than -1.0. When you specify FMT_Parm_iLzero, the integer format parameter value of a field can be one of the following: 0 indicates no leading zero (.7) 1 indicates a leading zero (0.7) Value = 4
Public fieldStatic memberFMT_Parm_iNegCurr
Use this constant to obtain and define a field's profile-driven format. It represents the negative currency format. When you specify FMT_Parm_iNegCurr, the integer format parameter value of a field can be one of the following: 0 for ($1) 1 for -$1 2 for $-1 3 for $1- 4 for (1$) 5 for -1$ 6 for 1-$ 7 for 1$- Value = 18
Public fieldStatic memberFMT_Parm_iTime
Use this constant to obtain and define a field's profile-driven format. It represents the time format. When you specify FMT_Parm_iTime, the integer format parameter value of a field can be one of the following: FMT_Time_12Hour FMT_Time_24Hour Value = 5
Public fieldStatic memberFMT_Parm_iTLZero
Use this constant to obtain and define a field's profile driven format. It indicates whether or not hours have a leading zero. When you specify FMT_Parm_iTLZero, the integer format parameter value of a field can be 0, meaning that there is no leading zero. Value = 16
Public fieldStatic memberFMT_Parm_s1159
Use this constant to obtain and define a field's profile-driven format. It represents the trailing string for times between 0:00 and 11:59 A.M. When you specify FMT_Parm_s1159, the string format parameter value can have a length of up to 3 characters. Value = 6
Public fieldStatic memberFMT_Parm_s2359
Use this constant to obtain and define a field's profile-driven format. It represents the trailing string for times between 12:00 and 23:59 P.M. When you specify FMT_Parm_s2359, the string format parameter value can have a length of up to 3 characters. Value = 7
Public fieldStatic memberFMT_Parm_sCurrency
Use this constant to obtain and define a field's profile-driven format. It represents the currency symbol for a given country. When you specify FMT_Parm_sCurrency, the string format parameter value can have a length of up to 40 characters. Value = 8
Public fieldStatic memberFMT_Parm_sDecimal
Use this constant to obtain and define a field's profile-driven format. It represents the symbol that separates the integer and fractional parts of a number. Value = 10
Public fieldStatic memberFMT_Parm_sLongDate
Use this constant to obtain and define a field's profile-driven format. It represents a long date picture format such as d MMM, yyyy. Value = 15
Public fieldStatic memberFMT_Parm_sShortDate
Use this constant to obtain and define a field's profile-driven format. It represents a short date picture format such as M/d/yy. Value = 14
Public fieldStatic memberFMT_Parm_sThousand
Use this constant to obtain and define a field's profile-driven format. It represents the thousands separator character. Value = 11
Public fieldStatic memberFMT_Parm_sTime
Use this constant to obtain and define a field's profile-driven format. It represents the time separator character. For instance, (:) is the separator in (9:25). Value = 12
Public fieldStatic memberFMT_Pic_DateTime
This constant specifies that the picture format to validate is a date/time picture format. Use FMT_Pic_DateTime with the SalFmtIsValidPicture function. Value = 1 Valid date/time picture format values: Value Item Appearance M month 1-12 MM month 01-12 MMM month Jan-Dec MMMM month January-December d day 1-31 dd day 01-31 ddd day Mon-Sun dddd day Monday-Sunday yy year 00-99 yyyy year 0000-9999 hh hour 1-12 hhhh hour 0-24 mm minutes 0-59 ss seconds 0-59 mmmmmm microseconds 000000-999999 AMPM AM/PM The AM/PM indicator Examples of date/time picture format mappings: Date/Time Picture Meaning d MMMM, yyyy 9 January, 1992 dddd, MMMM d, yyyy Friday, February 7, 1992 M/d/yy 3/18/92 dd-MM-yyyy 18-03-1992 d "of" MMMM, yyyy 9 of January, 1992 M/d/yy-hh.mm.ss AMPM 2/3/92-12.23.15 AM
Public fieldStatic memberFMT_Pic_Number
This constant specifies that the picture format to validate is a number picture format. Use FMT_Pic_Number with the SalFmtIsValidPicture function. Value = 2 Valid number formats are: Value Description # Specifies the number of optional digits on both sides of the decimal point. 0 Specifies the number of decimal places to the right of the decimal point, and the minimum digits to the left of the decimal point. . Indicates the position of the decimal point. , Specifies the thousands separator when nested between 0's or #'s. ; Specifies that there are two picture formats. The picture format to the left of the (;) is used to format positive values, and the picture format to the right of the (;) is used to format negative values. % Specifies percentage format. E+ e+ E- e- Specifies scientific notation format. By specifying a (-), only negative numbers are displayed with a sign. Examples of number picture format mappings: Date/Time Pi
Public fieldStatic memberFMT_Prefix_NoSeparation
This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: $1. Value = 0
Public fieldStatic memberFMT_Prefix_Separation
This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: $ 1. Value = 2
Public fieldStatic memberFMT_Profile_Australia
Public fieldStatic memberFMT_Profile_Belgium
Public fieldStatic memberFMT_Profile_Brazil
Public fieldStatic memberFMT_Profile_Default
This constant represents the system default profile maintained in the WIN.INI file. The settings associated with the system default profile determine a field's format. Value = 0
Public fieldStatic memberFMT_Profile_Denmark
Public fieldStatic memberFMT_Profile_Finland
Public fieldStatic memberFMT_Profile_France
Public fieldStatic memberFMT_Profile_Germany
Public fieldStatic memberFMT_Profile_Italy
Public fieldStatic memberFMT_Profile_Japan
Public fieldStatic memberFMT_Profile_Netherlands
Public fieldStatic memberFMT_Profile_Norway
Public fieldStatic memberFMT_Profile_Program
This constant represents a special profile whose settings determine a field's format. It allows an application to individually specify each field's format. Value = -1
Public fieldStatic memberFMT_Profile_Spain
Public fieldStatic memberFMT_Profile_Sweden
Public fieldStatic memberFMT_Profile_Switzerland
Public fieldStatic memberFMT_Profile_UnitedKingdom
Public fieldStatic memberFMT_Profile_USA
Public fieldStatic memberFMT_Suffix_NoSeparation
This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: 1$. Value = 1
Public fieldStatic memberFMT_Suffix_Separation
This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: 1 $. Value = 3
Public fieldStatic memberFMT_Time_12Hour
This constant is one of two possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iTime. It defines a time value to display in the format of a 12 hour clock. Value = 0
Public fieldStatic memberFMT_Time_24Hour
This constant is one of two possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iTime. It defines a time value to display in the format of a 24 hour clock. Value = 1
Public fieldStatic memberFMT_Validate_Dialog
This constant directs to display a dialog box if a format error occurs during a call to SalFmtValidateField. Value = 1
Public fieldStatic memberFMT_Validate_None
This constant directs not to display a dialog box if a format error occurs during a call to SalFmtValidateField. Instead, the application handles the error. Value = 0
Public fieldStatic memberFONT_EnhBold
This is a font enhancement constant which instructs to bold the specified window's text. You can combine FONT_EnhBold with other font enhancement constants using the OR (|) operator. Use this constant with the SalFontGet and SalFontSet functions. Value = 8
Public fieldStatic memberFONT_EnhDefault
This is a font enhancement constant which indicates that the specified window's text should conform to the current default settings. You can combine FONT_EnhDefault with other font enhancement constants using the OR (|) operator. Use this constant with the SalFontGet and SalFontSet functions. Value = 1
Public fieldStatic memberFONT_EnhItalic
This is a font enhancement constant which instructs to italicize the specified window's text. You can combine FONT_EnhItalic with other font enhancement constants using the OR (|) operator. Use this constant with the SalFontGet and SalFontSet functions. Value = 2
Public fieldStatic memberFONT_EnhNormal
This is a font enhancement constant which indicates that there are no enhancements to add to the text in the specified window. Use this constant with the SalFontGet and SalFontSet functions. Value = 0
Public fieldStatic memberFONT_EnhStrikeOut
This is a font enhancement constant which instructs to strike out the specified window's text. You can combine FONT_EnhStrikeOut with other font enhancement constants using the OR (|) operator. Use this constant with the SalFontGet and SalFontSet functions. Value = 16
Public fieldStatic memberFONT_EnhUnderline
This is a font enhancement constant which instructs to underline the specified window's text. You can combine FONT_EnhUnderline with other font enhancement constants using the OR (|) operator. Use this constant with the SalFontGet and SalFontSet functions. Value = 4
Public fieldStatic memberFONT_GetPrinter
Use this constant to obtain either a list of available printer fonts or a list of available printer font sizes for a given font. Use this constant with the SalFontGetNames and SalFontGetSizes functions. Value = 2
Public fieldStatic memberFONT_GetScreen
Use this constant to obtain either a list of available screen font names or a list of available screen font sizes. Use this constant with the SalFontGetNames and SalFontGetSizes functions. Value = 1
Public fieldStatic memberFORM_nFormHeight
This constant represents the integer form parameter for the height of a given form window. It is used by the function SalFormGetParmNum. Value = 2
Public fieldStatic memberFORM_nFormPages
This constant represents the integer form parameter for the number of pages in a given form window. It is used by the function SalFormGetParmNum. Value = 3
Public fieldStatic memberFORM_nFormWidth
This constant represents the integer form parameter for the width of a given form window. It is used by the function SalFormGetParmNum. Value = 1
Public fieldStatic memberHELP_Context
The SalWinHelp function uses this constant to display context sensitive help on the topic associated with the context identifier number in the nData parameter. Value = 1
Public fieldStatic memberHELP_Finder
The SalWinHelp function uses this constant to bring up the help Find Dialog. Value = 0x000B
Public fieldStatic memberHELP_HelpOnHelp
The SalWinHelp function uses this constant to display information on the Windows Help System itself. Value = 4
Public fieldStatic memberHELP_Index
The SalWinHelp function uses this constant to display the index of available Help topics. Value = 3
Public fieldStatic memberHELP_Key
The SalWinHelp function uses this constant to display a list of available Help topics for the keywords specified in the parameter sData. Value = 0x101
Public fieldStatic memberHELP_Quit
The SalWinHelp function uses this constant to quit the Windows Help System that is currently open and in use. Value = 2
Public fieldStatic memberHELP_SetIndex
The SalWinHelp function uses this constant to set the current index for a multi-index help system. Value = 5
Public fieldStatic memberhWndForm
Window handle of the current form or dialog.
Public fieldStatic memberhWndItem
Window handle of the current control.
Public fieldStatic memberhWndMDI
Window handle of the current MDI.
Public fieldStatic memberhWndNULL
Use this to detect if a function that returns a window handle succeeded.
Public fieldStatic memberIDABORT
This constant is returned by the SalMessageBox function when you click on the Abort push button in an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 3
Public fieldStatic memberIDCANCEL
This constant is returned by the SalMessageBox function when you click on the Cancel push button in an OK/Cancel message box (MB_OkCancel), a Retry/Cancel message box (MB_RetryCancel) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 2
Public fieldStatic memberIDIGNORE
This constant is returned by the SalMessageBox function when you click on the Ignore push button of an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 5
Public fieldStatic memberIDNO
This constant is returned by the SalMessageBox function when you click on the No push button of a Yes/No message box (MB_YesNo) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 7
Public fieldStatic memberIDOK
This constant is returned by the SalMessageBox function when you click on the Ok push button of an Ok message box (MB_Ok) or an Ok/Cancel message box (MB_OkCancel). Value = 1
Public fieldStatic memberIDRETRY
This constant is returned by the SalMessageBox function when you click on the Retry push button of a Retry/Cancel message box (MB_RetryCancel) or an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 4
Public fieldStatic memberIDYES
This constant is returned by the SalMessageBox function when you click on the Yes push button of a Yes/No message box (MB_YesNo) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 6
Public fieldStatic memberLB_Err
This constant is returned by a SalList* function call when a user error occurs. It is used by the functions: SalListAdd, SalListDelete, SalListInsert, SalListQueryCount, SalListQueryMultiCount, SalListQuerySelection, SalListQueryText, SalListQueryTextLength, SalListSelectString. Value = -1
Public fieldStatic memberLB_ErrSpace
This constant is returned when insufficient memory is available to store a new string in a list box. Use this constant with the SalListAdd and SalListInsert functions. Value = -2
Public fieldStatic memberLB_Ok
LB_Ok is returned by a SalList* function that completes successfully. Value = 0
Public fieldStatic memberlParam
The lParam value used in the last message.
Public fieldStatic memberMAX_DefaultDataField
This constant represents the default length of a data field (100 characters). Value = 100
Public fieldStatic memberMAX_DefaultMultiline
This constant represents the default length of a multiline text field (1000 characters). Value = 1000
Public fieldStatic memberMB_AbortRetryIgnore
This is a Push Button style constant used by the SalMessageBox function to define the type of push buttons to display in the message box. Specifying MB_AbortRetryIgnore causes the message box to display three push buttons: Abort, Retry, and Ignore. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 2
Public fieldStatic memberMB_ApplModal
This is a System style constant used by the SalMessageBox function to display a dialog box that suspends the application's windows until you respond appropriately. You can combine a System style constant with a constant from the Icon style, Response Button Handling style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 0
Public fieldStatic memberMB_DefButton1
This is a Response Button Handling style constant used by the SalMessageBox function to specify that the first button (usually Ok) has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 0
Public fieldStatic memberMB_DefButton2
This is a Response Button Handling style constant used by the SalMessageBox function to specify that the second button has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 0x100
Public fieldStatic memberMB_DefButton3
This is a Response Button Handling style constant used by the SalMessageBox function to specify that the third button has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 0x200
Public fieldStatic memberMB_IconAsterisk
This is an icon style constant used by the SalMessageBox function to display an "i" (for information) icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Note: For details on the default button refer to the Microsoft Interface Guidelines manual. See SalMessageBox Options and SalMessageBox Returns for more information. You can also use this constant with SalMessageBeep to play the sound identified by the SystemAsterisk statement in the [sounds] section of WIN.INI. Value = 64
Public fieldStatic memberMB_IconExclamation
This is an icon style constant used by the SalMessageBox function to display an exclamation point icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Note: For details on the default button refer to the Microsoft Interface Guidelines manual. See SalMessageBox Options and SalMessageBox Returns for more information. You can also use this constant with SalMessageBeep to play the sound identified by the SystemExclamation statement in the [sounds] section of WIN.INI. Value = 48
Public fieldStatic memberMB_IconHand
Supports MB_IconHand for backward compatibility; use MB_IconStop instead.
Public fieldStatic memberMB_IconInformation
This is an icon style constant used by the SalMessageBox function to display an "i" (for information) icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Note: For details on the default button refer to the Microsoft Interface Guidelines manual. See SalMessageBox Options and SalMessageBox Returns for more information. You can also use this constant with SalMessageBeep to play the sound identified by the SystemAsterisk statement in the [sounds] section of WIN.INI. Value = 64
Public fieldStatic memberMB_IconQuestion
This is an icon style constant used by the SalMessageBox function to display a question mark icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Note: For details on the default button refer to the Microsoft Interface Guidelines manual. See SalMessageBox Options and SalMessageBox Returns for more information. You can also use this constant with SalMessageBeep to play the sound identified by the SystemQuestion statement in the [sounds] section of WIN.INI. Value = 32
Public fieldStatic memberMB_IconStop
This is an icon style constant used by the SalMessageBox function to display a stop sign icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Note: For details on the default button refer to the Microsoft Interface Guidelines manual. See SalMessageBox Options and SalMessageBox Returns for more information. You can also use this constant with SalMessageBeep to play the sound identified by the SystemHand statement in the [sounds] section of WIN.INI. Value = 16
Public fieldStatic memberMB_NoFocus
The underlying Windows feature for this style is no longer supported by Microsoft. This style does nothing and is provided for backward for backward compatibility only. Value = 0x8000
Public fieldStatic memberMB_Ok
This is a push button style constant used by the SalMessageBox function to display an Ok push button in the message box. This is the default assignment. You can combine a push button style constant with a constant from the icon style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Note: For details on the default button refer to the Microsoft Interface Guidelines manual. See SalMessageBox Options and SalMessageBox Returns for more information. You can also use this constant with SalMessageBeep to play the sound identified by the SystemDefault statement in the [sounds] section of WIN.INI. Value = 0
Public fieldStatic memberMB_OkCancel
This is a Push Button style constant used by the SalMessageBox function to specify that both an Ok and a Cancel push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 1
Public fieldStatic memberMB_RetryCancel
This is a Push Button style constant used by the SalMessageBox function to specify that both a Retry and a Cancel push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 5
Public fieldStatic memberMB_SystemModal
This is a System style constant used by the SalMessageBox function to display a dialog box that suspends ALL application windows until you respond appropriately. You can combine a System style constant with a constant from the Icon style, Response Button Handling style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 0x1000
Public fieldStatic memberMB_YesNo
This is a Push Button style constant used by the SalMessageBox function to specify that both a Yes and a No push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 4
Public fieldStatic memberMB_YesNoCancel
This is a Push Button style constant used by the SalMessageBox function to define the type of push buttons to display in the message box. Specifying MB_YesNoCancel causes the message box to display three push buttons: Yes, No, and Cancel. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. See SalMessageBox Options and SalMessageBox Returns for more information. Value = 3
Public fieldStatic memberNamespace
The application's main namespace.
Public fieldStatic membernArgCount
This variable's value is equal to the number of command line arguments you enter.
Public fieldStatic memberNUMBER_Null
Use this constant to set a Number to a null value or to check if a Number value is a null. Value = null (the same as \0 in C programming)
Public fieldStatic memberOF_Append
This constant instructs to open a file for appending. The file pointer is positioned at the end of the file. You can combine File Open style constants using the bitwise OR (|) operator. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 3
Public fieldStatic memberOF_Binary
This constant instructs to open a file in binary mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0x10000
Public fieldStatic memberOF_Create
This constant instructs to create a new file. If one already exists, it is truncated to zero length. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0x1000
Public fieldStatic memberOF_Delete
This constant instructs to delete a file. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0x200
Public fieldStatic memberOF_Exist
This constant instructs to open and then close a file. Use it to test if a file exists. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0x4000
Public fieldStatic memberOF_Parse
This constant prepares to open a file by parsing the file specifications, but carries out no action. Use it if you need to verify a file specification without actually opening the file. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0x100
Public fieldStatic memberOF_Read
This constant instructs to open a file for reading only. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0
Public fieldStatic memberOF_ReadAppend
This constant instructs to open a file for reading and appending of new data. The file pointer is positioned at the end of the file so that you can read/write the opened file. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 4
Public fieldStatic memberOF_ReadWrite
This constant instructs to open a file for reading and writing. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 2
Public fieldStatic memberOF_Reopen Obsolete.
Use this constant only with the SalFileOpenExt function to instruct to open a file using the name specified in a previous SalFileOpen call. You must have previously opened the file with a legitimate file name and used the same file handle. When first opens the file, it stores the full path name internally. The purpose of the OF_Reopen constant is to guarantee that subsequent opens of the file use this fully qualified name, regardless of whether directories and drives have changed since the original SalFileOpen. Value = 0x8000
Public fieldStatic memberOF_Share_Compat
This constant instructs to open a file in compatibility mode. This lets any computer open a file any number of times. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0
Public fieldStatic memberOF_Share_Deny_None
This constant instructs to open a file without denying other applications read and write access to it. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 64
Public fieldStatic memberOF_Share_Deny_Read
This constant instructs to open a file and deny other applications read access to it. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 48
Public fieldStatic memberOF_Share_Deny_Write
This constant instructs to open a file, denying other applications write access to it. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 32
Public fieldStatic memberOF_Share_Exclusive
This constant instructs to open a file, denying other applications read and write access to it. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 16
Public fieldStatic memberOF_Text
This constant instructs to open a file in text mode. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 0
Public fieldStatic memberOF_Unicode
This constant instructs to open a file in unicode mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the SalFileOpen and SalFileOpenExt functions.
Public fieldStatic memberOF_UTF7
This constant instructs to open a file in UTF7 mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the SalFileOpen and SalFileOpenExt functions.
Public fieldStatic memberOF_UTF8
This constant instructs to open a file in UTF8 mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the SalFileOpen and SalFileOpenExt functions.
Public fieldStatic memberOF_Write
This constant instructs to open a file for writing only. Use this constant with the SalFileOpen and SalFileOpenExt functions. Value = 1
Public fieldStatic memberPIC_FitBestFit
Use this constant with the SalPicSetFit function to set the fit for a picture. PIC_FitBestFit causes the image to fit either the width or height of the window. Scaling is proportional and the image is not distorted. Value = 2
Public fieldStatic memberPIC_FitScale
Use this constant with the SalPicSetFit function to set the fit for a picture. PIC_FitScale scales the image by the percentages specified in nScaleWidth and nScaleHeight. Scaling may not be proportional and the image might be distorted. Value = 3
Public fieldStatic memberPIC_FitSizeToFit
Use this constant with the SalPicSetFit function to set the fit for a picture. PIC_FitSizeToFit stretches or shrinks the image to fit within the picture frame. This is not proportional scaling and might distort the image. Value = 1
Public fieldStatic memberPIC_FormatBitmap
Use this constant with the SalPicSetString, SalPicGetString, and SalPicSet functions to set the contents of a picture from a string. PIC_FormatBitmap means that the picture is a bitmap. You can also use this constant with SalPicSetHandle to set the image in a picture window with the handle of a bitmap. Value = 1
Public fieldStatic memberPIC_FormatIcon
Use this constant with the SalPicSetString and SalPicSet functions to set the contents of a picture from a string. PIC_FormatIcon means that the picture is an icon. You can also use this constant with SalPicSetHandle to set the image in a picture window with the handle of an icon. Value = 2
Public fieldStatic memberPIC_FormatObject
Use this constant with the SalPicSetString and SalPicGetString functions to set the contents of a picture from a string. PIC_FormatObject means that the picture is an OLE object. Value = 3
Public fieldStatic memberPIC_ImageTypeBMP
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeBMP means that the picture is a .BMP. Value = 1
Public fieldStatic memberPIC_ImageTypeGIF
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeGIF means that the picture type is .GIF. Value = 6
Public fieldStatic memberPIC_ImageTypeICON
Use this constant with the SalPicSetImage function to set the contents of a picture without the CTD image header. PIC_ImageTypeICON means that the picture type is .ICON. Note: This constant is not supported for SalPicGetImage. Value = 2
Public fieldStatic memberPIC_ImageTypeJPEG
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeJPEG means that the picture type is JPEG. Value = 7
Public fieldStatic memberPIC_ImageTypeNone
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeNone means that the picture has no type. Value = 0
Public fieldStatic memberPIC_ImageTypeNuVEQ
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeNuVEQ means that the picture type is NuVEQ. Note: This type is supported in Japan. It is also supported if you have an ImageMan license. Value = 8
Public fieldStatic memberPIC_ImageTypePCX
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypePCX means that the picture type is .PCX. Value = 5
Public fieldStatic memberPIC_ImageTypeTIFF
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeTIFF means that the picture type is .TIFF. Value = 4
Public fieldStatic memberPIC_ImageTypeWMF
Use this constant with the SalPicSetImage and SalPicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeWMF means that the picture type is .WMF. Value = 3
Public fieldStatic memberPLATFORM_Current
An application interrogates its runtime environment to determine whether it is running on Microsoft Windows NT, Windows 95, or SunSoft's Solaris. PLATFORM_Current is then defined to be equal to either PLATFORM_Windows (in the case of Windows NT and Windows 95) or PLATFORM_Solaris (in the case of SunSoft's Solaris). An application may want to check the value of PLATFORM_Current if it has code paths that it will or will not execute depending on the operating system it is running on. For example, you may have separate code specific to each operating system to parse file pathnames (Windows syntax versus UNIX syntax) or to handle objects that are defined on one operating system but not on the other (such as drive letters on Windows).
Public fieldStatic memberPLATFORM_Solaris
This constant identifies the operating system on which an application is running as SunSoft's Solaris. Value = 1 See Also PLATFORM_Current
Public fieldStatic memberPLATFORM_Windows
This constant identifies the operating system on which an application is running as SunSoft's Solaris. Value = 0 See Also PLATFORM_Current
Public fieldStatic memberPRT_nCopyCount
Use this constant to get and set the number of copies to print. The default setting is 1. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 3
Public fieldStatic memberPRT_nDraftMode
Use this constant to get and set the print mode to either Draft or Proof. Draft mode prints faster than Proof mode, but with lower resolution. The default setting is Draft. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 1
Public fieldStatic memberPRT_nFromPage
This constant gets and sets the first page to print. The default starting page number is 1. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 7
Public fieldStatic memberPRT_nMarginLeft
This constant gets and sets the left margin. The default left margin is 0. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 4
Public fieldStatic memberPRT_nMarginTop
This constant gets and sets the top margin. The default left margin is 0. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 5
Public fieldStatic memberPRT_nPrintAll
Use this constant to determine or specify whether all pages of a form are to print. It overrides PRT_nFromPage and PRT_nToPage settings. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 6
Public fieldStatic memberPRT_nShowFormPageRect
Use this constant to determine or specify whether a rectangle is drawn around the printed form using the form size. The default setting for this constant is FALSE. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 9
Public fieldStatic memberPRT_nToPage
This constant gets and sets the last page to print. The default ending page number is 1. Use this constant with the SalPrtGetParmNum, SalPrtSetParmNum, and SalPrtSetParmDefaults functions. Value = 8
Public fieldStatic memberROW_Edited
This flag indicates that a row was edited. ROW_Edited is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 4
Public fieldStatic memberROW_Hidden
This flag indicates that a row is hidden from view. ROW_Hidden is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 0x2000
Public fieldStatic memberROW_HideMarks
This flag indicates that the row's editing marks (in the row header) are hidden from view. ROW_HideMarks is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 64
Public fieldStatic memberROW_MarkDeleted
This flag indicates that the row is marked for deletion. ROW_MarkDeleted is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 32
Public fieldStatic memberROW_New
This flag indicates that the row has been newly inserted. ROW_New is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 8
Public fieldStatic memberROW_Selected
This flag indicates that the row is selected. ROW_Selected is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 2
Public fieldStatic memberROW_UnusedFlag1
This flag is available for your application to use. ROW_UnusedFlag1 can be returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 0x80
Public fieldStatic memberROW_UnusedFlag2
This flag is available for your application to use. ROW_UnusedFlag2 can be returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: SalTblAnyRows, SalTblCopyRows, SalTblFindNextRow, SalTblFindPrevRow, SalTblQueryRowFlags, SalTblSetFlagsAnyRows, SalTblSetRowFlags. Value = 0x100
Public fieldStatic memberRPT_BeforeBreakFooter1
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 14
Public fieldStatic memberRPT_BeforeBreakFooter2
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 15
Public fieldStatic memberRPT_BeforeBreakFooter3
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 16
Public fieldStatic memberRPT_BeforeBreakFooter4
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 17
Public fieldStatic memberRPT_BeforeBreakFooter5
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 18
Public fieldStatic memberRPT_BeforeBreakFooter6
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 19
Public fieldStatic memberRPT_BeforeBreakFooter7
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 20
Public fieldStatic memberRPT_BeforeBreakFooter8
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 21
Public fieldStatic memberRPT_BeforeBreakHeader1
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 6
Public fieldStatic memberRPT_BeforeBreakHeader2
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 7
Public fieldStatic memberRPT_BeforeBreakHeader3
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 8
Public fieldStatic memberRPT_BeforeBreakHeader4
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 9
Public fieldStatic memberRPT_BeforeBreakHeader5
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 10
Public fieldStatic memberRPT_BeforeBreakHeader6
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 11
Public fieldStatic memberRPT_BeforeBreakHeader7
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 12
Public fieldStatic memberRPT_BeforeBreakHeader8
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 13
Public fieldStatic memberRPT_BeforeDetail
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeDetail indicates that Report Builder is ready to process the detail block. Value = 5
Public fieldStatic memberRPT_BeforePageFooter
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforePageFooter indicates that Report Builder is ready to process the bottom of a page. Value = 2
Public fieldStatic memberRPT_BeforePageHeader
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforePageHeader indicates that Report Builder is ready to process the top of a page. Value = 1
Public fieldStatic memberRPT_BeforeReportFooter
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeReportFooter indicates that Report Builder is ready to process the end of the report. Value = 4
Public fieldStatic memberRPT_BeforeReportHeader
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is ready to format a part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_BeforeReportHeader indicates that Report Builder is ready to process the beginning of the report. Value = 3
Public fieldStatic memberRPT_CmdFirstPage
Use this constant with the SalReportCmd function to display the first page of a report. Value = 1
Public fieldStatic memberRPT_CmdGoToPage
Use this constant with the SalReportCmd function to display a dialog box where the user can enter the page number in the report to scroll to. Value = 9
Public fieldStatic memberRPT_CmdLastPage
Use this constant with the SalReportCmd function to display the last page of a report. Value = 2
Public fieldStatic memberRPT_CmdNextPage
Use this constant with the SalReportCmd function to display the next page of a report. Value = 3
Public fieldStatic memberRPT_CmdPrevPage
Use this constant with the SalReportCmd function to display the previous page of a report. Value = 8
Public fieldStatic memberRPT_CmdPrint
Use this constant with the SalReportCmd function to print the report. Value = 4
Public fieldStatic memberRPT_CmdPrinterSetup
Use this constant with the SalReportCmd function to display the Printer Setup dialog box where the user can change the print settings. Value = 7
Public fieldStatic memberRPT_CmdSizeActual
Use this constant with the SalReportCmd function to display a report in its true size in the report window. The user may need to scroll the window horizontally or vertically to see the entire report. Value = 6
Public fieldStatic memberRPT_CmdSizeFit
Use this constant with the SalReportCmd function fit the report within the report window. This is useful when you want to view the general format of a report as it appears when printed. Value = 5
Public fieldStatic memberRPT_DoneBreakFooter1
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 56
Public fieldStatic memberRPT_DoneBreakFooter2
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 57
Public fieldStatic memberRPT_DoneBreakFooter3
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 58
Public fieldStatic memberRPT_DoneBreakFooter4
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 59
Public fieldStatic memberRPT_DoneBreakFooter5
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 60
Public fieldStatic memberRPT_DoneBreakFooter6
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 61
Public fieldStatic memberRPT_DoneBreakFooter7
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 62
Public fieldStatic memberRPT_DoneBreakFooter8
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 63
Public fieldStatic memberRPT_DoneBreakHeader1
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 48
Public fieldStatic memberRPT_DoneBreakHeader2
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 49
Public fieldStatic memberRPT_DoneBreakHeader3
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 50
Public fieldStatic memberRPT_DoneBreakHeader4
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 51
Public fieldStatic memberRPT_DoneBreakHeader5
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 52
Public fieldStatic memberRPT_DoneBreakHeader6
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 53
Public fieldStatic memberRPT_DoneBreakHeader7
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 54
Public fieldStatic memberRPT_DoneBreakHeader8
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 55
Public fieldStatic memberRPT_DoneDetail
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneDetail indicates that Report Builder has just processed the detail block. Value = 47
Public fieldStatic memberRPT_DonePageFooter
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DonePageFooter indicates that Report Builder has just processed the bottom of a page. Value = 44
Public fieldStatic memberRPT_DonePageHeader
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DonePageHeader indicates that Report Builder has just processed the top of a page. Value = 43
Public fieldStatic memberRPT_DoneReportFooter
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneReportFooter indicates that Report Builder has processed the end of the report. Value = 46
Public fieldStatic memberRPT_DoneReportHeader
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it is finished formatting part of a report. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder has just processed. RPT_DoneReportHeader indicates that Report Builder has completed processing the beginning of the report. Value = 45
Public fieldStatic memberRPT_EnableCancel
Use this constant to enable the cancel button in the report preview panel. It should be specified in the nFlags paramete of SalReportView function.
Public fieldStatic memberRPT_ErrBind
RPT_ErrBind means that a bind error occurred. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 3
Public fieldStatic memberRPT_ErrCount
RPT_ErrCount means that a report function provided the wrong number of bind/input variables. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 9
Public fieldStatic memberRPT_ErrFilenameLength
RPT_ErrFilenameLength means that the specified report file name was too long. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 4
Public fieldStatic memberRPT_ErrFileOpen
RPT_ErrFileOpen means that a report function was unable to open the specified report file. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 5
Public fieldStatic memberRPT_ErrInput
RPT_ErrInput means that a mismatch occurred between the input variable and the associated bind variable. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 10
Public fieldStatic memberRPT_ErrLoadDLL
RPT_ErrLoadDLL means that a report function was unable to load the required DLLs. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 1
Public fieldStatic memberRPT_ErrMaxRpts
RPT_ErrMaxRpts means that the maximum number of reports was exceeded. Maximum number of reports = 10. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 2
Public fieldStatic memberRPT_ErrPrtOpen
RPT_ErrPrtOpen means that a report function was unable to open the printer. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 8
Public fieldStatic memberRPT_ErrRptOpen
RPT_ErrRptOpen means that a report function was unable to open the specified report for printing. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 7
Public fieldStatic memberRPT_ErrRptWindow
RPT_ErrRptWindow means that a report function was unable to open the report window. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView. Value = 6
Public fieldStatic memberRPT_ErrType
RPT_ErrType means that the data type of an input variable did not match the data type of the associated bind variable. Returned by the functions: SalReportCreate, SalReportPrint, SalReportPrintToFile, SalReportView, SalReportTableCreate, SalReportTablePrint, SalReportTableView Value = 11
Public fieldStatic memberRPT_Landscape
Public fieldStatic memberRPT_NoPrint
You can turn off the printer icon on the default report view toolbar by specifying this flag in the nFlags parameter of the SalReportView function: RPT_NoPrint No print button on the toolbar
Public fieldStatic memberRPT_NoToolbar
You can turn off the toolbar in report view by specifying this flag in the nFlags parameter of the SalReportView function: RPT_NoToolbar No toolbar in the preview window
Public fieldStatic memberRPT_OutputBreakFooter1
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 35
Public fieldStatic memberRPT_OutputBreakFooter2
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 36
Public fieldStatic memberRPT_OutputBreakFooter3
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 37
Public fieldStatic memberRPT_OutputBreakFooter4
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 38
Public fieldStatic memberRPT_OutputBreakFooter5
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 39
Public fieldStatic memberRPT_OutputBreakFooter6
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 40
Public fieldStatic memberRPT_OutputBreakFooter7
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 41
Public fieldStatic memberRPT_OutputBreakFooter8
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakFooter1 through RPT_OutputBreakFooter8 are after a report's detail block. Value = 42
Public fieldStatic memberRPT_OutputBreakHeader1
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 27
Public fieldStatic memberRPT_OutputBreakHeader2
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 28
Public fieldStatic memberRPT_OutputBreakHeader3
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 29
Public fieldStatic memberRPT_OutputBreakHeader4
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 30
Public fieldStatic memberRPT_OutputBreakHeader5
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 31
Public fieldStatic memberRPT_OutputBreakHeader6
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 32
Public fieldStatic memberRPT_OutputBreakHeader7
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 33
Public fieldStatic memberRPT_OutputBreakHeader8
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputBreakHeader1 through RPT_OutputBreakHeader8 are before a report's detail block. Value = 34
Public fieldStatic memberRPT_OutputDetail
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputDetail indicates that Report Builder is ready to process the detail block. Value = 26
Public fieldStatic memberRPT_OutputPageFooter
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputPageFooter indicates that Report Builder is ready to process the bottom of a page. Value = 23
Public fieldStatic memberRPT_OutputPageHeader
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputPageHeader indicates that Report Builder is ready to process the top of a page. Value = 22
Public fieldStatic memberRPT_OutputReportFooter
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputReportFooter indicates that Report Builder is ready to process the end of the report. Value = 25
Public fieldStatic memberRPT_OutputReportHeader
Report Builder specifies this constant in a SAM_ReportNotify message's lParam. Report Builder sends the SAM_ReportNotify message when it has formatted a block, but before it is actually output. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report Report Builder is ready to process. RPT_OutputReportHeader indicates that Report Builder is ready to process the beginning of the report. Value = 24
Public fieldStatic memberRPT_PaperA3
Public fieldStatic memberRPT_PaperA4
Public fieldStatic memberRPT_PaperA5
Public fieldStatic memberRPT_PaperB5
Public fieldStatic memberRPT_PaperCustom
Public fieldStatic memberRPT_PaperLegal
Public fieldStatic memberRPT_PaperLetter
SalReportSetPrinterSettings constants
Public fieldStatic memberRPT_PaperTabloid
Public fieldStatic memberRPT_Portrait
Public fieldStatic memberRPT_PrintAll
Use this constant with the SalReportPrint function or the SalReportPrintToFile function to print all pages of a report. Value = 0
Public fieldStatic memberRPT_PrintDraft
Use this constant with the SalReportPrint function or the SalReportPrintToFile function to print a report in draft mode. Value = 2
Public fieldStatic memberRPT_PrintEmptyReport
Use this constant to print reports with empty data sets. This option adds one empty row to the data set passed to the reporting engine.
Public fieldStatic memberRPT_PrintNoAbort
Use this constant with the SalReportPrint function or the SalReportPrintToFile function so that does not display the dialog box that lets the user cancel the report. Value = 4
Public fieldStatic memberRPT_PrintNoErrors
Use this constant with the SalReportPrint function or the SalReportPrintToFile function to suppress error message dialog boxes during printing. Value = 16
Public fieldStatic memberRPT_PrintNoWarn
Use this constant with the SalReportPrint function or the SalReportPrintToFile function to suppress warnings about margin overflow and tiled pages. Value = 8
Public fieldStatic memberRPT_PrintNullStringsAsDefaultValues
Use this constant to pass NULL strings as strings with length 0 so that concatenation works as in Report Builder
Public fieldStatic memberRPT_PrintParamCopies
Use this flag with the SalReportTablePrint function to specify the number of copies to print. Value = 3
Public fieldStatic memberRPT_PrintParamFirstPage
Use this flag with the SalReportTablePrint function to specify the first page to print. Value = 1
Public fieldStatic memberRPT_PrintParamLastPage
Use this flag with the SalReportTablePrint function to specify the last page to print. Value = 2
Public fieldStatic memberRPT_PrintParamOptions
Use this flag with the SalReportTablePrint function to specify report options: RPT_PrintAll, RPT_PrintDraft, RPT_PrintNoAbort, RPT_PrintNoErrors, RPT_PrintNoWarn, or RPT_PrintRange. Value = 0
Public fieldStatic memberRPT_PrintRange
Use this constant with the SalReportPrint function or the SalReportPrintToFile function to print a range of pages. You must also set the values of the first (nFirstPage) and last (nLastPage) pages of the report. Value = 1
Public fieldStatic memberSAL_ARRAY
Public fieldStatic memberSAL_BOOLEAN
Public fieldStatic memberSAL_DATE
Public fieldStatic memberSAL_NOTYPE
Public fieldStatic memberSAL_NUMBER
Public fieldStatic memberSAL_OBJECT
Public fieldStatic memberSAL_STRING
Public fieldStatic memberSAL_VARIANT
COM to SAL type mapping
Public fieldStatic memberSAM_Activate
SAM_Activate is sent to top-level and MDI windows when the window is activated or deactivated. The wParam indicates whether the window is being activated or deactivated. Message Variables hWndForm Handle of top-level window. hWndItem Object handle. wParam Whether the window is being activated or deactivated: TRUE = Activated FALSE = Deactivated IParam Unused.
Public fieldStatic memberSAM_AnyEdit
SAM_AnyEdit is sent to a combo box, data field, multiline text field, or table window column whenever you make a change to that object's value. The object receives a SAM_AnyEdit message on every key stroke. By processing SAM_AnyEdit messages, an application can check an object's value as it changes. Message Variables For a data field, combo box, or multiline text field: hWndForm Window handle of the parent window. hWndItem Window handle of the object. wParam Unused. IParam Unused. For a table window column: hWndForm Window handle of the table window. hWndItem Window handle of the column. wParam Unused. IParam Row number of the table window. Example As you enter each character into the dfCompanyID data field, the internal function SalIsValidInteger checks to see if the character is a valid number. If it is not valid, the internal function StripLastCharacter strips it off and you must enter another character. Data Field: dfCompanyID
Public fieldStatic memberSAM_AppExit
SAM_AppExit is sent to an application after all of the application's windows have been destroyed (closed). When the user exits an application or switches from user mode to design mode, an application's form windows, dialog boxes, and table windows are destroyed. Following this, SAM_AppExit is sent to the application. You can perform clean-up tasks (such as disconnecting from a database) before the application terminates. This is the last message an application receives and it is only sent to the Application Actions section of the outline. Be sure not to reference any windows in your SAL statements when processing this message! Message Variables hWndForm None. hWndItem None. wParam None. IParam None. Example Application Actions On SAM_AppExit ! User is leaving application. Disconnect Sql Handle. Call SqlDisconnect ( hSql )
Public fieldStatic memberSAM_AppStartup
SAM_AppStartup is sent to an application before any of the application's windows have been created, including those which are automatically created at run time. You can process SAM_AppStartup and perform initialization tasks such as displaying a login dialog box that authorizes access to a database. This is the first message an application receives and it is sent only to the Application Actions section of the outline. Message Variables hWndForm None. hWndItem None. wParam None. IParam None. Example Application Actions On SAM_AppStartup Set SqlDatabase = "CLIENTS" Set SqlUser = "SYSADM" Set SqlPassword = "SYSADM" When SqlError Call SalMessageBox ( "Could not connect to database", "Customer List", MB_Ok ) Return FALSE If NOT SqlConnect ( hSql ) Call SalQuit
Public fieldStatic memberSAM_CacheFull
SAM_CacheFull is sent to a table window when needs to fetch a row from the data source but the table window cache is full and none of its rows qualify as discardable. If the table window has a non-discardable cache, SAM_CacheFull indicates that no more data can fit in the table window cache. If the table window has a discardable cache, SAM_CacheFull indicates that the cache is full of data that you modified and must now save. Once you save the modified rows, they qualify as discardable. Message Variables hWndForm Handle of the table window. hWndItem None. wParam Unused. IParam Unused. Example Table Window: twTabWinEmployee Title: Employees ... Message Actions On SAM_CacheFull Call SalMessageBox ( "Please save changes to table window!, "Customer List", MB_Ok | MB_IconStop ) Return FALSE
Public fieldStatic memberSAM_CaptionDoubleClick
SAM_CaptionDoubleClick is sent to a table window and a table window column when you double click on a table window column title. To retrieve the table window column's window handle in wParam, use SalNumberToWindowHandle. Message Variables hWndForm Handle of the table window. hWndItem Table window handle in table window message actions, column handle in column message actions. wParam Handle of the column. IParam Unused. Example Table Window: tbl1 ... Message Actions On SAM_CaptionDoubleClick Set hWndCol = SalNumberToWindowHandle( wParam ) Call SalTblSetColumnFlags( hWndCol, COL_Selected, TRUE ) Set nMaxLength = 15 Set nColLength = SalTblGetColumnTitle( hWndCol, sColTitle, nMaxLength ) Call SalMessageBox( 'You double-clicked the title ' || sColTitle ,'Info' , MB_Ok ) Call SalTblSetColumnFlags( hWndCol, COL_Selected, FALSE )
Public fieldStatic memberSAM_Click
In general, SAM_Click alerts an application that the user has clicked an object with the left mouse button. SAM_Click is sent to a check box or push button when you click either of these objects or perform a keyboard activity that simulates a mouse click. SAM_Click is sent to a currently-unselected radio button when you click it or perform a keyboard activity that simulates a mouse click. If the radio button you click on is already selected, no SAM_Click is sent. SAM_Click is sent to a list box when you click an entry or perform a keyboard activity that simulates a mouse click. If you click an empty list box or click a portion of the list box that contains no entries, no SAM_Click is sent. SAM_Click is sent to a combo box when you click an entry in the drop-down list box or perform a keyboard activity that simulates a mouse click. If you click the data field portion of the combo box or the button that invokes the drop-down list box, no SAM_Click is sent. SAM_Click is sent to a tabl
Public fieldStatic memberSAM_Close
SAM_Close is sent to a dialog box, a form window, MDI window, or a top-level table window when you choose the Close command from a window's system menu or when you double-click on the window's system menu. SAM_Close is sent to an application to notify the application that you are attempting to close a window. By processing the SAM_Close message, an application can check the form window or table window to see if there is data that needs to be saved to the data source. A SAM_Close message is not sent on a call to SalQuit, SalEndDialog, or SalDestroyWindow. If SAM_Close is sent to the Message Actions section of a modal or system modal dialog box, the application can call SalMessageBox to prevent the destruction of the dialog box. Otherwise, default processing closes the message box. If SAM_Close does not execute a return, the window closes; if SAM_Close returns FALSE, the window does not close. Message Variables hWndForm Window handle of the current top-level window. hWn
Public fieldStatic memberSAM_ColumnSelectClick
SAM_ColumnSelectClick is sent to a table window, and a table window column when the user selects or deselects a column by clicking on the column title. You must set TBL_Flag_SelectableCols to TRUE by calling SalTblSetTableFlags (it is FALSE by default). To retrieve the window handle of the column in wParam, use SalNumberToWindowHandle. Message Variables hWndForm Window handle of the table window. hWndItem Table window handle in table window message actions, column handle in column message actions. wParam Column handle. IParam Unused. Example Table Window: tbl1 ... Message Actions On SAM_ColumnSelectClick Set hWndCol = SalNumberToWindowHandle( wParam ) Set nMaxLength = 15 Set nColLength = SalTblGetColumnTitle( hWndCol, sColTitle, nMaxLength ) Call SalMessageBox( 'You selected the title ' || sColTitle ,'Info' , MB_Ok )
Public fieldStatic memberSAM_ContextMenu
SAM_ContextMenu is sent when the user right-clicks a window or presses Shift+F10.
Public fieldStatic memberSAM_CornerClick
SAM_CornerClick is sent to a table window, and a table window column when you click on the title of a row header. The row header is a non-editable column on the left side of a table window. To retrieve the window handle of the column in wParam use SalNumberToWindowHandle. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the column. wParam Numeric value of the window handle of the column. IParam The context row of the table window. Example Table Window: tbl1 ... Message Actions On SAM_CornerClick Set nContextRowLength = SalNumberToStr( lParam, 0, sContextRow ) Call SalMessageBox( 'You clicked the row header title Context row: ' || sContextRow ,'Info' , MB_Ok )
Public fieldStatic memberSAM_CornerDoubleClick
SAM_CornerDoubleClick is sent to a table window, and a table window column when you double click on the title of a row header. The row header is a non-editable column on the left side of a table window To retrieve the window handle of the column in wParam, use SalNumberToWindowHandle. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Numeric value of the window handle of the column. IParam The context row of the table window. Example Table Window: tbl1 ... Message Actions On SAM_CornerDoubleClick Set nContextRowLength = SalNumberToStr( lParam, 0, sContextRow ) Call SalMessageBox( 'You doubled-clicked the row header title Context row: ' || sContextRow ,'Info' , MB_Ok )
Public fieldStatic memberSAM_CountRows
SAM_CountRows is sent to a table window that has a dynamic scroll range. Use it to query an application for the number of rows in a table window. The user scrolls to the last row in a table window (by pressing a key such as the End key). Applications process the SAM_CountRows message by returning the number of rows in the table window. Typically, this involves counting the number of rows in a result set. If an application does not process the SAM_CountRows message, SAM_FetchRow messages are used to determine the last row in a table window, namely with a TBL_NoMoreRows return from the message. Processing SAM_CountRows, however, yields better performance. Message Variables hWndForm Handle of the table window. hWndItem Handle of the table window. wParam Unused. IParam Unused. Return The number of rows in the table. Example Table Window: tblEmployee Title: Employees ... Message Actions On SAM_Create Call SqlPrepare ( hSqlPri
Public fieldStatic memberSAM_Create
SAM_Create is sent to a top-level window (dialog box, form window, or table window) and then to all of its children after they are created, but before they are made visible. It is also sent to an MDI window. For example, follow these steps to create a form window that has data fields: 1. Create the form window. 2. Create each of its data fields. After creates all the windows, but before making them visible, sends SAM_Create to the objects in this order: 1. The form window. 2. Each of the form's data fields. After sends the SAM_Create messages, makes the form window and data fields visible. By processing the SAM_Create message, an application can perform initialization tasks. Typical initialization tasks include setting data field values and populating table windows and list boxes with data from a database. Message Variables hWndForm Window handle of current top-level window. hWndItem Handle of the object being created.
Public fieldStatic memberSAM_CreateComplete
Sends SAM_CreateComplete to windows with contents (top-level windows and child table windows) after creating the window's children and displaying the window (and its children). For example, suppose you create a form window with a data field and a child table window. The child table window has one column. The following happens: 1. The form window is created. 2. The data field is created. 3. The child table window is created. 4. The child table window's column is created. Once all this is done, sends a SAM_Create message to the top-level window and all of its children. Next, makes the form window and its children visible. Finally, sends a SAM_CreateComplete message to the child table window, and then to the form window (the top-level window). By processing the SAM_CreateComplete message, you can do initialization tasks that depend on the state or contents of child windows. You can also use SAM_CreateComplete to wait to do initialization t
Public fieldStatic memberSAM_CustControlCmd
Sends this message to a custom control when its parent window receives a notification (WM_COMMAND) from the custom control. Ignores any value that you Return when you process this message. Message Variables hWndForm Window handle of current top-level window. hWndItem Window handle of custom control. wParam Notification message number. IParam Unused. No Example
Public fieldStatic memberSAM_DDE_ClientExecute
SAM_DDE_ClientExecute is sent to all objects in a server application. The event that causes it is a DDE client sent a command string. A server listens for command requests from clients by processing SAM_DDE_ClientExecute. The server gets the command string that the client sent by calling SalDDEGetExecuteString. The parameter for SalDDEGetExecuteString is the lParam of the SAM_DDE_ClientExecute message, which points to the command string. After calling SalDDEGetExecuteString, the server can parse the command string to determine the action to perform. The server can send data or some other response to the client by calling SalDDESendToClient. The wParam for the SAM_DDE_ClientExecute message contains the window handle of the client. The server uses wParam in the third parameter of SalDDESendToClient to send the data or response back to the same client. Message Variables hWndForm Handle of a top-level window. hWndItem Object handle. wParam Window handle of sende
Public fieldStatic memberSAM_DDE_ClientRequest
SAM_DDE_ClientRequest is sent to a server application as the result of a client application's request for updated data. A server listens for requests from clients by processing the SAM_DDE_ClientRequest message. A server sends data to a client by calling SalDDESendToClient. The wParam for the SAM_DDE_ClientRequest message contains the window handle of the client. The server uses wParam in a SalDDESendToClient parameter to send the data back to the same client. Message Variables hWndForm Handle of a top-level window. hWndItem Object handle. wParam Window handle of the sender. IParam Unused. Example On SAM_DDE_ClientRequest If NOT SalDDESendToClient( frmMain, dfServerData, wParam, 100 ) Call SalMessageBox( 'SalDDESendToClient failed', 'DDE Error', MB_Ok | MB_IconStop )
Public fieldStatic memberSAM_DDE_DataChange
SAM_DDE_DataChange is sent to all objects in a DDE client application. It is sent when a DDE server has sent data to the client. When a DDE server sends an item to the client, the data appears automatically in the window that the client specified in SalDDEStartSession. The client application does not need to perform any action to receive the data. However, if the client application wants to know when the server sends an item, it can process the SAM_DDE_DataChange message. Note that SAM_DDE_DataChange is sent after the server sends the data to the client. Message Variables hWndForm Handle of a top-level window. hWndItem Object handle. wParam Unused. IParam Unused. Example Multiline Field: mlString1 ... Message Actions On SAM_DDE_DataChange Set dfStatus1 = 'Server data changed'
Public fieldStatic memberSAM_Destroy
SAM_Destroy is sent to a top-level window (dialog box, form window, or table window) and then to all of its children just before the windows are destroyed. SAM_Destroy messages are sent after SAM_Close has been sent to the top-level window. For example, if a form window has data fields, sends the messages to the objects in this order: SAM_Close to the form window. SAM_Destroy to the form window. SAM_Destroy to each of the form window's child windows. After all of the SAM_Destroy messages are sent, the top-level and child windows are destroyed. It is also sent to an MDI window. sends SAM_Destroy to an MDI window and its children in this order: MDI window Form window or table window Form window or table window children and grandchildren (columns) Form window or table window toolbar children and grandchildren MDI window toolbar children and grandchildren Message Variables hWndForm Window handle of current top-level wind
Public fieldStatic memberSAM_Dock
SAM_Dock is sent to a docking host (top-level window) when a docking dialog is about to change its docking orientation.
Public fieldStatic memberSAM_DockChange
SAM_DockChange is sent to a docking dialog box after it has changed its docking orientation.
Public fieldStatic memberSAM_DoubleClick
SAM_DoubleClick is sent to a combo box, list box, picture, table window, or a column when you double-click on one of these objects. When the user double-clicks a row in a table window or list box, sends the messages in this order: 1. Two SAM_Click messages. 2. SAM_DoubleClick to the table window column or list box. 3. SAM_DoubleClick to the table window. A double-click can select a row in a list box or table window and then start an action for that row. For example, a list box can contain a list of file names. When the user double-clicks a name in the list box, the application opens the file. SAM_DoubleClick is only sent to a combo box if Always Show List is set to Yes. Message Variables For a combo box or list box: hWndForm Handle of form window or dialog box. hWndItem Window handle of the combo box or list box. wParam Unused. IParam Unused. For a picture: hWndForm Handle of form window or dialog box. hWndItem Window handle of the p
Public fieldStatic memberSAM_DragCanAutoStart
SAM_DragCanAutoStart is sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture. sends this message to ask a window whether it wants auto dragging. Return TRUE to enable auto dragging. If you do not process this message or you return FALSE, then does not enable auto dragging. starts drag mode automatically when the application returns TRUE from SAM_DragCanAutoStart. This is the minimum that an application does to let a user drag from a window. However, you must write additional code to do something when the user drops in a window. Message Variables hWndForm Handle of top-level window. hWndItem Window handle of the source window. wParam Position of the mouse on the X axis. IParam Position of the mouse on the Y axis. Example List Box: lb1 ... Background Color: White List Initialization Text: Value 1 ... Message Actions On SAM_DragCanAutoStar
Public fieldStatic memberSAM_DragDrop
Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture. Sent when the user drops the mouse on a target window. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. IParam Unused. Example Data Field: df1 ... Data ... Data Type: String Editable" Yes ... Message Actions On SAM_DragDrop Set hWndSrc = SalNumberToWindowHandle( wParam ) If hWndSrc != hWndItem AND SalParentWindow( hWndSrc ) = hWndForm Call SalGetWindowText( hWndSrc, sSource, 1000 ) Call SalSetWindowText( hWndItem, sSource )
Public fieldStatic memberSAM_DragEnd
Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that drag mode has ended. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Unused. IParam Unused. No Example
Public fieldStatic memberSAM_DragEnter
Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that the mouse has moved into the window while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. IParam Unused. No Example
Public fieldStatic memberSAM_DragExit
Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that the mouse has moved off of the window while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. IParam Unused. No Example
Public fieldStatic memberSAM_DragMove
Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that the mouse has moved onto the window while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the source window. IParam Unused. No Example
Public fieldStatic memberSAM_DragNotify
Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that a mouse action occurred while in drag mode. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam Window handle of the target window. IParam One of the following messages: SAM_DragDrop - The user moved the mouse into a target window. SAM_DragEnter - The user dropped the mouse in a target window. SAM_DragExit - The user moved the mouse out of the target window. SAM_DragMove - The user moved the mouse within a target window. No Example
Public fieldStatic memberSAM_DragStart
Sent to a top-level window, child table window, data field, multiline field, list box, combo box, and picture, indicating that drag mode has started. Message Variables hWndForm Handle of top-level window. hWndItem Handle of object receiving message. wParam The position of the mouse on the X axis. IParam The position of the mouse on the Y axis. Example List Box: lb1 ... Background Color: White List Initialization Text: Value 1 ... Message Actions On SAM_DragStart ! Store the current selection as window text so we can use it on the drop Call SalListQueryText( hWndItem, SalListQuerySelection( hWndItem ), sList ) Call SalSetWindowText( hWndItem, sList )
Public fieldStatic memberSAM_DropDown
SAM_DropDown is sent to a combo box before the list box portion of the combo box drops down. This message does not occur unless the Drop Down item is set to Yes. Message Variables hWndForm Window handle of the form window or dialog box. hWndItem Window handle of the combo box. wParam Unused. IParam Unused. No Example
Public fieldStatic memberSAM_DropFiles
Sent to a column, data field, multiline field, list box, combo box, picture, custom control. Only sends this message to windows that have enabled file dropping. It is sent when the user drops a file or files from Explorer or File Manager on the object. Call the SalDropFilesQueryFiles function to get the names of the files dropped on the object. SalDropFilesQueryFiles returns the number of files that were dropped or 0 if the function fails. You can only call SalDropFilesQueryFiles during SAM_DropFiles message processing. Call the SalDropFilesQueryPoint function to get the location of the mouse in the window where the user dropped the file or files. By default, file dropping is enabled for editable picture objects. To avoid this default processing, execute a Return statement in the SAM_DropFiles message processing for a picture object and do not perform any other processing. For example, when a user drops on a picture, you can call SalDropFilesQueryFiles or SalDropFilesQuer
Public fieldStatic memberSAM_EndCellTab
Sends this message to a table window when the user tries to tab past the last editable cell. You can use this message to automate row insertion. When the window receives this message, add a blank row to the window. By default, this message returns FALSE, which selects the current row. Return TRUE to prevent this behavior. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. IParam Table window context row that the user is trying to tab away from (first row is 0, second row is 1, and so on) Example On SAM_EndCellTab If IDYES = SalMessageBox( "Move to next row", "What Do You Want to Do?', MB_IconQuestion | MB_YesNo ) Set nNewRow = SalTblInsertRow( hWndTbl, TBL_MaxRow ) Call SalTblSetFocusCell( hWndTbl, nNewRow, col1, 0, 0 ) Return TRUE Else ! Null leg: ! If we don't explicitly return a value, returns ! FALSE and se
Public fieldStatic memberSAM_FetchDone
SAM_FetchDone is sent to a table window when SalTblPopulate, using the TBL_FillAllBackground value as its last parameter, completes the population of a table window Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. IParam Unused. No Example
Public fieldStatic memberSAM_FetchRow
SAM_FetchRow is sent to a table window whenever needs to copy a row into the table window cache. When you populate a table window, sends a SAM_FetchRow message for every row in the table window that displays. When the user scrolls forward, sends more SAM_FetchRow messages to the table window for those rows not currently in the cache that need to be displayed. You usually call SqlFetchRow to fetch a row into the table window based on the row number in lParam. Note: Setting a breakpoint on a statement that executes while processing a SAM_FetchRow message can cause incomplete painting of a table window. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. IParam Row number of row that was populated. Return One of three possible values: TBL_NoMoreRows - There are no rows at the specified fetch number and beyond. TBL_RowDeleted - The row has been deleted.
Public fieldStatic memberSAM_FetchRowDone
SAM_FetchRowDone is sent to a table window after populates a row. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. IParam Row number of the fetched row. No Example
Public fieldStatic memberSAM_FieldEdit
SAM_FieldEdit is sent to a combo box, data field, multiline text field, table window, or table window column when you change a window's value and then move the focus away from that window. For example, if you enter a value into a data field, then press the TAB key or click the mouse to move to another field, a SAM_FieldEdit message is sent to the data field. The SAM_FieldEdit message is different from the SAM_AnyEdit message. A SAM_AnyEdit message is sent for every keystroke, while a SAM_FieldEdit message is sent only when you attempt to leave a window whose value you changed. Use SAM_Validate for field validation. SAM_Validate supersedes SAM_FieldEdit.
Public fieldStatic memberSAM_Help
SAM_Help is sent to any top level window and MDI window when the user presses the F1 function key. It is used in conjunction with SalWinHelp to call up a user-created Help system. The wParam contains the handle of the child object that has the focus that you can use for a context-sensitive help system. Message Variables hWndForm Window handle of the current form window or table window. hWndItem Window handle of the current form window or table window. wParam Window handle of the child window that has the focus. IParam Unused. No Example
Public fieldStatic memberSAM_KillFocus
SAM_KillFocus is sent to a table window, data field, multiline field, pushbutton, radio button, check box, option button, combo box, list box, column, and horizontal and vertical scroll bar as you are about to exit the object. The message is always sent whether or not you changed the object's value. Warning: You cannot call SalSetFocus in SAM_KillFocus processing because of a Windows limitation. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object. wParam Handle of the window gaining the focus. IParam Unused. Example Data Field: dfHireDate ... Message Actions On SAM_KillFocus ! When user exits the data field, disable the ! pbPartialSearch push button Call SalDisableWindow ( pbPartialSearch )
Public fieldStatic memberSAM_Print
SAM_Print is sent to a form window, data field, multiline text field, combo box, or push button while the object prints.
Public fieldStatic memberSAM_ReportFetchInit
Sent to a top-level window or MDI window that started a report. Happens when Report Builder is ready to format the first page of a report. Report Builder sends SAM_ReportFetchInit after sending SAM_ReportStart. SAM_ReportFetchInit means that Report Builder is ready to receive data from the application. If the report contains data from a database, call SqlExecute. If SqlExecute returns TRUE, then Return TRUE. If you Return FALSE, the report stops. If you do not Return a value, or you do not process the message, the report continues. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of a Report Builder window. IParam Unused. Example Form Window: frmMain ... Message Actions On SAM_ReportFetchInit If NOT SqlPrepare( hSql, SQL_Select ) Return FALSE Else If NOT SqlExecute( hSql ) Return FALSE Else Return TRUE
Public fieldStatic memberSAM_ReportFetchNext
Report Builder sends a SAM_ReportFetchNext message to a top-level window or MDI window that started the report. This message is sent after a SAM_ReportFetchInit message to indicate that Report Builder is ready to receive the next row of data from the application. If the application is going to fetch the report data from a database, it typically makes a call to SqlFetchNext to fetch the next row from the database upon receipt of this message. If the fetch is successful, the application returns TRUE for SAM_ReportFetchNext. Does not send data from the application to Report Builder until the application returns TRUE in SAM_ReportFetchNext processing. If there is no more data to fetch, the application returns FALSE. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of the window that started the report. IParam Unused. Example Form Window: frmMain ... Message Actions On SAM_ReportFetchNext If SqlFetchNext
Public fieldStatic memberSAM_ReportFinish
Report Builder sends a SAM_ReportFinish message to a top-level window or MDI window that started the report. SAM_ReportFinish is sent when the report finishes. The application can use this message to do any sort of cleanup that is needed following the generation of a report. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of the window that started the report. IParam TRUE, if the user has canceled printing the report. Example Form Window: frmMain ... Message Actions On SAM_ReportFinish Call SqlClose ( hSql )
Public fieldStatic memberSAM_ReportNotify
Report Builder fetches data and formats blocks of the report. When the formatted blocks cross a page boundary, a page header/footer block set is inserted in the flow and the page is sent to the printer or displayed in preview mode. The report sends SAM_ReportNotify messages as the report blocks are formatted and output into the page buffer. The Before notifications are send before any formatting occurs, the Output notifications are sent when the first line of the report is output and the Done notifications are sent when the entire block is output. Notifications are sent to a top-level window or MDI window that starts the report. Report Builder sends two sets of notifications for each block: When at least one line of the formatted block is output | When the block is finished outputting Check the lParam variable to see which part of the report Report Builder is ready to format. The lParam is one of the RPT_Before* constants in the table below. Report Builder ignores any va
Public fieldStatic memberSAM_ReportStart
Sent to a top-level window or MDI window that started a report when Report Builder is ready to format a part of a report. SAM_ReportStart is sent after the application calls the report with either SalReportView or SalReportPrint to indicate that the report is starting. SAM_ReportStart is sent before the report displays or prints. You can use SAM_ReportStart to do any sort of initialization necessary before sending data to the report. Ignores SAM_ReportStart's return value. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of the window that started the report. IParam Unused. Example Form Window: frmMainForm ... Message Actions On SAM_ReportStart ! Prepare SQL statement for Report Builder Call SqlPrepare ( hSql, "SELECT NAME, ADDRESS, PHONE" || "FROM CUSTOMER INTO :CompanyName, " || ":Address,:Phone)
Public fieldStatic memberSAM_RowHeaderClick
SAM_RowHeaderClick is sent to a table window when you click on a row in the row header. This message is not sent unless SalTblDefineRowHeader has been used to define a row header. Message Variables hWndForm Window handle of the table window. hWndItem Window Handle of the table window. wParam Unused. IParam Context row of the table window.
Public fieldStatic memberSAM_RowHeaderDoubleClick
SAM_RowHeaderDoubleClick is sent to a table window when you double-click on a row in the row header. Only sends this message when TBL_RowHdr_Visible is TRUE (which is the default). If TBL_RowHdr_Visible is FALSE, you can set it to TRUE by calling SalTblDefineRowHeader. Message Variables hWndForm Window handle of the table window. hWndItem Window Handle of the table window. wParam Unused. lParam Context row of the table window Example Table Window: tbl1 ... Message Actions On SAM_RowHeaderClick Set nContextRowLength = SalNumberToStr( lParam, 0, sContextRow ) Call SalMessageBox( 'You clicked the row header Context row: ' || sContextRow ,'Info' , MB_Ok )
Public fieldStatic memberSAM_RowSetContext
Sends this message to a TableWindow when the user changes its focus row. If you process this message but do not execute a Return statement, performs its default processing. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object. wParam Unused. lParam Unused. No Example
Public fieldStatic memberSAM_RowValidate
SAM_RowValidate is sent to a table window before the table window's focus row changes, letting the application validate the contents of the row. The SAM_RowValidate message is sent regardless of the current row flags or cell edited flags. It is sent only when you change the focus row, not when you remove the focus from the table window. If the application returns VALIDATE_Cancel, the focus remains on the current row. If the application returns VALIDATE_Ok, the table window behaves as normal and changes the focus row. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. lParam Table window context row (first row is 0, second row is 1, and so on). Example Table Window: tbl1 ... Message Actions On SAM_RowValidate If SalIsNull( col1 ) Call SalMessageBox( 'You must enter a value', 'Validation Error', MB_Ok ) Return VALIDATE_Cancel Else Retu
Public fieldStatic memberSAM_ScrollBar
SAM_ScrollBar is sent to a horizontal or vertical scroll bar when you move within the scroll bar using either the mouse or the keyboard. The application must check SAM_ScrollBar's wParam variable in order to determine which of the following movements occurred: SB_Bottom SB_LineDown SB_LineUp SB_PageDown SB_PageUp SB_ThumbPosition SB_ThumbTrack SB_Top
Public fieldStatic memberSAM_SetFocus
SAM_SetFocus is sent to a check box, combo box, data field, list box, multiline text field, push button, radio button, scroll bar, or table window column when it receives the input focus. Process the SAM_SetFocus message and initialize actions to take place when the user enters an object. Avoid calling functions that can change the focus (such as SalMessageBox, SalModalDialog, SalSendMsg) while processing a SAM_SetFocus message. Message Variables hWndForm Window handle of the top-level window. hWndItem Window handle of the object receiving the message. wParam Handle of the window losing the focus. lParam Unused. Example Push Button: pbPartialSearch Data Field: dfDate ... Message Actions On SAM_SetFocus ! When user enters this field, enable the ! pbPartialSearch push button Call SalEnableWindow ( pbPartialSearch )
Public fieldStatic memberSAM_SqlError
Sent to the Application Actions section of the outline when a SQL function fails. If you process this message, you can control how the application responds to SQL errors on a global level instead of using the default error processing which displays a dialog box with the error number and error text. Call SqlExtractArgs to get the error code, error position, and Sql Handle from the wParam and lParam. You can also use When SqlError in any actions section of the outline to process an error at a local level. Message Variables hWndForm Handle of the top-level window that called the Sql* function that failed, except when: Code in the Application Actions section calls a Sql* function and it fails. hWndForm is null (hWndNULL) in this case. You programatically change the SQL execution context. In this case, hWndForm is the handle of the top-level window in the execution context that you set. If there is no top-level window in the execution context that you set, then hWn
Public fieldStatic memberSAM_TblDoDetails
Sends this message to a table window when the user or SAL code changes its focus row. If you process this message but do not execute a Return statement, performs its default processing. Message Variables hWndForm Window handle of the top-level window. hWndItemVAR_hWndItem Window handle of the object. wParam Unused. IParam Unused. No Example
Public fieldStatic memberSAM_TblSort
SAM_ClickToSort is sent to a table when a column header is clicked for sorting. Handle of the clicked column is sent as the wParam. lParam is not used.
Public fieldStatic memberSAM_Timer
Sent to the Application Actions, top-level window and its children, MDI window every n milliseconds, as specified by SalTimerSet. Check the wParam to find the identifier of the timer that sent the message. This way, one object can process SAM_Timer messages from more than one timer. Important: Timers are a limited resource in Windows, so use them sparingly. Message Variables hWndForm Window handle of the top-level window. hWndItemVAR_hWndItem Window handle of the object receiving the message. wParam Timer ID. IParam Unused. Example Form Window: frmMainForm Title: Customer List ... Contents Data Field: dfDateTime ... Message Actions On SAM_Timer ! Use SalTimerSet to set timer to send SAM_Timer ! messages once every minute. Update time display !on screen. Set dtDateTime = SalDateCurrent( )
Public fieldStatic memberSAM_User
This constant represents the value at which user-defined messages should start. The next consecutive user-defined message would be SAM_User+1. Value = 0x4000
Public fieldStatic memberSAM_Validate
Sent to a Data field, multiline field, combo box, and column when the user changes the value of the object and then moves the focus away from the object. The user can move the focus by several actions such as tabbing to another object, clicking another object, or using a mnemonic or accelerator to activate another object. When a user changes one of these objects, the object's field edit flag changes to TRUE. You can get and set the field edit flag using SalQueryFieldEdit and SalSetFieldEdit. SAM_Validate validates the data that the user entered or changed. Whenever the user changes an object, sends SAM_Validate. If an object is valid, return VALIDATE_Ok (this resets the field edit flag to FALSE). The value you return from SAM_Validate processing controls whether the focus changes. does not send SAM_Validate when the user selects a menu item (a menu selection does not change the focus). You can force to send SAM_Validate by calling SalSendValidateMsg
Public fieldStatic memberSB_Bottom
The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled to the scroll bar's end (maximum). Value = 7
Public fieldStatic memberSB_LineDown
Public fieldStatic memberSB_LineUp
The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one line more. Value = 0
Public fieldStatic memberSB_PageDown
The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one page less. Value = 3
Public fieldStatic memberSB_PageUp
The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you have scrolled one page more. Value = 2
Public fieldStatic memberSB_ThumbPosition
The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you dragged the scroll box to a new position within the scroll bar. Specify SB_ThumbPosition if you want the client area repainted when you release the Thumb. (Compare to SB_ThumbTrack). Value = 4
Public fieldStatic memberSB_ThumbTrack
The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you dragged the scroll box to a new position. Specify SB_ThumbTrack if you want the client area updated every time you click on and drag the thumb of the scroll bar. (Compare to SB_ThumbPosition). Value = 5.
Public fieldStatic memberSB_Top
The SAM_ScrollBar message sends this constant (as the wParam variable) to indicate that you scrolled to the beginning (minimum) of the scroll bar. Value = 6
Public fieldStatic memberSQLERROR_Reason
When calling SqlErrorText, set the nType parameter to this constant to retrieve the error reason.
Public fieldStatic memberSQLERROR_Remedy
When calling SqlErrorText, set the nType parameter to this constant to retrieve the error remedy.
Public fieldStatic memberstrArgArray
This is a dynamic array which contains the command line arguments.
Public fieldStatic memberSTRING_Null
Use this constant to set a String to a null value or to check if a String value is a null. Value = null (the same as \0 in C programming)
Public fieldStatic memberTBL_Adjust
SalTblDeleteRow uses this constant to coordinate the deletion of a table window row with the deletion of a row from the underlying result set. TBL_Adjust ensures automatic correspondence between the lParam (selected row) of the SAM_FetchRow message and the row number in the result set. It automatically re-synchronizes the row number in the result set with the row number in the table window. Using TBL_Adjust prevents blank rows in the table window. When the user deletes with TBL_Adjust the row number is remembered. All actions with the table, fetching, row context, row searching then adjusts the row number to be insync with the sql result set row number hiding those that are deleted. If you were to just delete from the result set, the next time that table row were asked to fetch it's returns would be null (deleted). Value = 1
Public fieldStatic memberTBL_AutoScroll
The SalTblScroll function uses this constant to scroll the table window to the specified row and column. TBL_AutoScroll scrolls the table window as needed until the row becomes visible. This is the default and only behaviour supported by the SalTblScroll function.
Public fieldStatic memberTBL_Error
Returns this constant when a table window function is unsuccessful.
Public fieldStatic memberTBL_FillAll
The SalTblPopulate function uses this constant to populate an entire table window at once. Value = 1
Public fieldStatic memberTBL_FillAllBackground
The SalTblPopulate function uses this constant to populate the visible portion of a table window first, then return control to the application and continue fetching rows in the background. Fetches subsequent rows at a rate of one row every 1/4 of a second. Once all rows have been fetched, the table window receives a SAM_FetchDone message. Value = 2
Public fieldStatic memberTBL_FillNormal
The SalTblPopulate function uses this constant to populate the visible portion of the table window first, then populates new rows as they are scrolled into view. Value = 0
Public fieldStatic memberTBL_Flag_EditLeftJustify
This flag instructs to left-justify cells while they are being edited. By default, cell editing behavior reflects the column definition. For example, when you edit a right-justified column, right- justifies the text. With center-justified and right-justified columns, this means that you are not able to enter more text than fits in the cell. Use TBL_Flag_EditLeftJustify with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 0x4000
Public fieldStatic memberTBL_Flag_GrayedHeaders
This flag instructs to paint column headings and row headings with color and shading similar to push buttons. Use TBL_Flag_GrayedHeaders with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 0x200
Public fieldStatic memberTBL_Flag_HScrollByCols Obsolete.
Not supported.
Public fieldStatic memberTBL_Flag_MovableCols
This flag lets the user drag-move columns. Use TBL_Flag_MoveableCols with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 2
Public fieldStatic memberTBL_Flag_SelectableCols
This flag lets the user select columns by clicking the column title. Use TBL_Flag_SelectableCols with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 0x80
Public fieldStatic memberTBL_Flag_ShowWaitCursor Obsolete.
Not supported.
Public fieldStatic memberTBL_Flag_ShowVScroll Obsolete.
Not supported.
Public fieldStatic memberTBL_Flag_SingleSelection
This flag ensures that the user can only select one row at a time from a table window. Use TBL_Flag_SingleSelection with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 0x1000
Public fieldStatic memberTBL_Flag_SizableCols
This flag lets the user drag-size columns. Use TBL_Flag_SizableCols with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 1
Public fieldStatic memberTBL_Flag_SuppressLastColLine
This flag suppresses painting of the dotted lines that separate columns. Use TBL_Flag_SuppressRowLines with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 0x0200
Public fieldStatic memberTBL_Flag_SuppressRowLines
This flag suppresses painting of the dotted lines that separate rows. Use TBL_Flag_SuppressRowLines with the SalTblQueryTableFlags and SalTblSetTableFlags functions. Value = 0x0800
Public fieldStatic memberTBL_MaxRow
This constant represents the maximum or last row in a table window. Use it with the SalTblSetRange (to define a dynamic scroll range), SalTblFindPrevRow (to find the last row in a table), and SalTblInsertRow functions.
Public fieldStatic memberTBL_MinRow
This constant represents the minimum or first row in a table window. Use it with the SalTblFindNextRow (to find the first row in a table), SalTblInsertRow and SalTblSetRange functions.
Public fieldStatic memberTBL_MinSplitRow
This constant identifies the minimum row number of a row in the lower half of a split window. For example, you can use it with the SalTblSetFocusRow function to set the focus to the first row in the lower half of a split window.
Public fieldStatic memberTBL_NoAdjust
The SalTblDeleteRow function uses this constant to coordinate the deletion of a table window row with the deletion of a row from the underlying result set. TBL_NoAdjust does not re-synchronize the row number of the row in the result set with the row number of the row in the table window. When you delete a row from a table window, a blank row displays in its place. When the user deletes with TBL_NoAdjust it simply deletes that row number, all rows above (higher) the deleted are now one less, that is not adjusted for the result set. The row number is not going to be insync with a result set now. A side effect of this is that if you get a fetch message for the row number that was deleted your code will get called and null values will be returned (the result set row is deleted). Value = 0
Public fieldStatic memberTBL_NoMoreRows
This constant is returned to the SalTblFetchRow function when can not fetch the specified row and there are no more rows to fetch after the specified row. Value = 0
Public fieldStatic memberTBL_RowDeleted
This constant is returned to the SalTblFetchRow function when can not fetch the specified row because another transaction deleted it. Value = 2
Public fieldStatic memberTBL_RowFetched
This constant is returned to the SalTblFetchRow function when the row is successfully fetched. Value = 1
Public fieldStatic memberTBL_RowHdr_MarkEdits
This flag displays a symbol in the edit indicator column of a row that means the setting of the row flag: A check mark means that the row has been modified (ROW_Edited). An X means that the row is marked for deletion (ROW_MarkDeleted). A right arrow means that this is a new row ( ROW_New). Use TBL_RowHdr_MarkEdits with the SalTblDefineRowHeader and SalTblQueryRowHeader functions. Value = 1
Public fieldStatic memberTBL_RowHdr_RowsSizable
This flag lets the user drag-size the row height. Use TBL_RowHdr_RowsSizable with the SalTblDefineRowHeader and SalTblQueryRowHeader functions. Value = 32
Public fieldStatic memberTBL_RowHdr_ShareColor
This flag sets the row header color to the text color of the cells in hWndCol. Otherwise, the row header uses the table window's default text color. Use TBL_RowHdr_ShareColor with the SalTblDefineRowHeader and SalTblQueryRowHeader functions. Value = 16
Public fieldStatic memberTBL_RowHdr_Sizable
This flag lets the user drag-size the row header. Use TBL_RowHdr_Sizable with the SalTblDefineRowHeader and SalTblQueryRowHeader functions. Value = 4
Public fieldStatic memberTBL_RowHdr_Visible
This flag makes the row header visible. Use TBL_RowHdr_Visible with the SalTblDefineRowHeader and SalTblQueryRowHeader functions. Value = 8
Public fieldStatic memberTBL_ScrollBottom
The SalTblScroll function uses this constant to describe the position of the row to which you are scrolling. TBL_ScrollBottom scrolls the row to the bottom of the table window.
Public fieldStatic memberTBL_ScrollTop
The SalTblScroll function uses this constant to describe the position of the row to which you are scrolling. TBL_ScrollTop scrolls the row to the top of the table window.
Public fieldStatic memberTBL_SetFirstRow
This constant is used by SalTblSetRow to change the current focus row in a table window to the first row. Value = 3
Public fieldStatic memberTBL_SetLastRow
This constant is used by SalTblSetRow to change the current focus row in a table window to the last row. Value = 2
Public fieldStatic memberTBL_SetNextRow
This constant is used by SalTblSetRow to change the current focus row in a table window to the next row. Value = 0
Public fieldStatic memberTBL_SetPrevRow
This constant is used by SalTblSetRow to change the current focus row in a table window to the previous row. Value = 1
Public fieldStatic memberTBL_SortDecreasing
You specify this constant for SalTblSortRows when you want to sort the table window rows in descending order. Value = 0
Public fieldStatic memberTBL_SortIncreasing
You specify this constant for SalTblSortRows when you want to sort the table window rows in ascending order. Value = 1
Public fieldStatic memberTBL_Split_Adjustable
Not supported.
Public fieldStatic memberTBL_TempRow
This constant represents a temporary row that you can use with the SalTblSetContext function to move the context away from a table window row. You can also use it with the SalTblQueryContext function. Value = 0x7FFFFFF1
Public fieldStatic memberTBL_XOverLockedColumns
SalTblObjectsFromPoint returns this constant when the X coordinate is in a locked column. Value = 0x0200
Public fieldStatic memberTBL_XOverLockedColumnsBorder
SalTblObjectsFromPoint returns this constant when the X coordinate is between a locked column and an unlocked column.
Public fieldStatic memberTBL_XOverRowHeader
SalTblObjectsFromPoint returns this constant when the X coordinate is in a row header. Value = 0x0100
Public fieldStatic memberTBL_XOverUnlockedColumns
SalTblObjectsFromPoint returns this constant when the X coordinate is in an unlocked column. Value = 0x0400
Public fieldStatic memberTBL_YOverColumnHeader
SalTblObjectsFromPoint returns this constant when the Y coordinate is in a column header. Value = 0x01
Public fieldStatic memberTBL_YOverNormalRows
SalTblObjectsFromPoint returns this constant when the Y coordinate is in a row in the upper part of a split table window or in a row in a non-split table window. Value = 0x04
Public fieldStatic memberTBL_YOverSplitBar
Not supported.
Public fieldStatic memberTBL_YOverSplitRows
Not supported.
Public fieldStatic memberTPM_CenterAlign Obsolete.
Use this constant with SalTrackPopupMenu to center-align the pop-up menu. Value = 4
Public fieldStatic memberTPM_ContextMenu
Use this flag with SalTrackPopupMenuwhen displaying a popup menu in response to SAM_ContextMenu. This flag sets the focus to the window specified in SalTrackPopupMenu and displays the popup left aligned with the horizontal screen coordinate. Value = 0x4000
Public fieldStatic memberTPM_CursorX
Use this constant with SalTrackPopupMenu to tell to use the mouse cursor location instead of nX. Value = 0x1000
Public fieldStatic memberTPM_CursorY
Use this constant with SalTrackPopupMenu to tell to use the mouse cursor location instead of nY. Value = 0x2000
Public fieldStatic memberTPM_LeftAlign
Use this constant with SalTrackPopupMenu to left-align the pop-up menu (default) to its horizontal screen coordinate. This coordinate identifies the cursor location, or the point specified by nX/nY. Value = 0
Public fieldStatic memberTPM_LeftButton
Use this constant with SalTrackPopupMenu to establish the left mouse button as the one with which to click on menu items (default). Value = 0
Public fieldStatic memberTPM_RightAlign Obsolete.
Use this constant with SalTrackPopupMenu to right-align the pop-up menu to its horizontal screen coordinate. This coordinate identifies the cursor location, or the point specified by nX/nY. Value = 8
Public fieldStatic memberTPM_RightButton Obsolete.
Use this constant with SalTrackPopupMenu to establish the right mouse button as the one with which to click on menu items. Value = 2 +$#AKTYPE_AccFrame Use this constant to specify that a child window's object type is an accessory frame. Use TYPE_AccFrame with the SalGetType function. Value = 0x10000000
Public fieldStatic memberTRACE_Event
Public fieldStatic memberTRACE_File
Trace constants used by SalStartTrace
Public fieldStatic memberTRACE_Output
Public fieldStatic memberTRACE_stdout
Public fieldStatic memberTYPE_AccFrame
Use this constant to specify that a child window’s object type is an accessory frame.
Public fieldStatic memberTYPE_ActiveX
Use this constant to specify that a child window's object type is an ActiveX control.
Public fieldStatic memberTYPE_Any
Use this constant to specify the first child window of any type. Use TYPE_Any with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x7fffffff
Public fieldStatic memberTYPE_BkgdText
Use this constant to specify that a child window's object type is label control. Use TYPE_BkgdText with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x800
Public fieldStatic memberTYPE_CheckBox
Use this constant to specify that a child window's object type is check box. Use TYPE_CheckBox with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x80
Public fieldStatic memberTYPE_ChildTable
Use this constant to specify that a child window's object type is child table window. Use TYPE_ChildTable with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x80000
Public fieldStatic memberTYPE_ComboBox
Use this constant to specify that a child window's object type is combo box. Use TYPE_ComboBox with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x4000
Public fieldStatic memberTYPE_CustControl
Use this constant to specify that a child window's object type is custom control. Use TYPE_CustControl with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x4000000
Public fieldStatic memberTYPE_DataField
Use this constant to specify that a child window's object type is data field. Use TYPE_DataField with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 8
Public fieldStatic memberTYPE_DialogBox
Use this constant to specify that a window's object type is dialog box. Use TYPE_DialogBox with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 4
Public fieldStatic memberTYPE_FormToolBar
Use this constant to specify that a child window's object type is form tool bar. Use TYPE_FormToolBar with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x200000
Public fieldStatic memberTYPE_FormWindow
Use this constant to specify that a window's object type is form window. Use TYPE_FormWindow with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 1
Public fieldStatic memberTYPE_Frame
Use this constant to specify that a child window's object type is frame. Use TYPE_Frame with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x10000
Public fieldStatic memberTYPE_GroupBox
Use this constant to specify that a child window's object type is group box. Use TYPE_GroupBox with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x100
Public fieldStatic memberTYPE_HorizScrollBar
Use this constant to specify that a child window's object type is horizontal scroll bar. Use TYPE_HorizScrollBar with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x200
Public fieldStatic memberTYPE_Line
Use this constant to specify that a child window's object type is line. Use TYPE_Line with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x8000
Public fieldStatic memberTYPE_ListBox
Use this constant to specify that a child window's object type is list box. Use TYPE_ListBox with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x2000
Public fieldStatic memberTYPE_MDIWindow
Use this constant to specify that a window's object type is MDI window. Use TYPE_MDIWindow with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x100000
Public fieldStatic memberTYPE_MultilineText
Use this constant to specify that a child window's object type is multi-line text field. Use TYPE_MultilineText with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 16
Public fieldStatic memberTYPE_OptButton
Use this constant to specify that a child window's object type is option button. Use TYPE_OptButton with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x2000000
Public fieldStatic memberTYPE_Picture
Use this constant to specify that a child window's object type is picture. Use TYPE_Picture with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x20000
Public fieldStatic memberTYPE_PushButton
This constant specifies that a child window's object type is push button. Use TYPE_PushButton with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 32
Public fieldStatic memberTYPE_RadioButton
This constant specifies that a child window's object type is radio button. Use TYPE_RadioButton with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 64
Public fieldStatic memberTYPE_TableColumn
This constant specifies that a child window's object type is table window column. Use TYPE_TableColumn with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x1000
Public fieldStatic memberTYPE_TableWindow
This constant specifies that a window's object type is table window. Use TYPE_TableWindow with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 2
Public fieldStatic memberTYPE_VertScrollBar
This constant specifies that a child window's object type is vertical scroll bar. Use TYPE_VertScrollBar with the SalGetFirstChild, SalGetNextChild, and SalGetType functions. Value = 0x400
Public fieldStatic memberVALIDATE_Cancel
This constant indicates that validation of the contents of a data field, multiline text field, combo box, or table window column failed. Focus returns to the edited object. VALIDATE_Cancel is one of three possible return values from the SAM_Validate and SAM_RowValidate messages. It is also one of two possible return values from the SalSendValidateMsg message. Value = 0
Public fieldStatic memberVALIDATE_Ok
This constant indicates that some user action took place and that the focus moved from the edited object. Examples of user action include tabbing to another object, using the mouse to click on another object, or using a mnemonic or accelerator to activate another object. VALIDATE_Ok is one of three possible return values from the SAM_Validate and SAM_RowValidate messages. It is also one of two possible return values from the SalSendValidateMsg message. Performs its own validation if you do not trap and process the SAM_Validate message. Value = 1
Public fieldStatic memberVALIDATE_OkClearFlag
This constant indicates that some user action took place and that cleared the field edited flag. VALIDATE_OkClearFlag is one of three possible return values from the SAM_Validate and SAM_RowValidate messages. Value = 2
Public fieldStatic memberWindow_Invalid
The SalGetWindowState function returns this constant when the specified window handle is not valid. Value = 1
Public fieldStatic memberWindow_Maximized
The SalGetWindowState function returns this constant when the specified window is maximized. You can also specify this constant when you call the SalLoadAppAndWait function. Value = 3
Public fieldStatic memberWindow_Minimized
The SalGetWindowState function returns this constant when the specified window is minimized (iconic). You can also specify this constant when you call the SalLoadAppAndWait function. Value = 4
Public fieldStatic memberWindow_Normal
The SalGetWindowState function returns this constant when the specified window exists on the screen and is neither maximized nor minimized. You can also specify this constant when you call the SalLoadAppAndWait function. Value = 5
Public fieldStatic memberWindow_NotVisible
The SalGetWindowState function returns this constant when the specified window is not visible on the screen. You can also specify this constant when you call the SalLoadAppAndWait function. Value = 2
Public fieldStatic memberWM_DDE_Ack
DDE messages
Public fieldStatic memberWM_DDE_Advise
Public fieldStatic memberWM_DDE_Data
Public fieldStatic memberWM_DDE_Execute
Public fieldStatic memberWM_DDE_First
Public fieldStatic memberWM_DDE_Initiate
Public fieldStatic memberWM_DDE_Poke
Public fieldStatic memberWM_DDE_Request
Public fieldStatic memberWM_DDE_Terminate
Public fieldStatic memberWM_DDE_Unadvise
Public fieldStatic memberwParam
The wParam value used in the last message.
Public fieldStatic memberVT_BOOL
Public fieldStatic memberVT_BSTR
Public fieldStatic memberVT_CY
Public fieldStatic memberVT_DATE
Public fieldStatic memberVT_DECIMAL
Public fieldStatic memberVT_DISPATCH
Public fieldStatic memberVT_EMPTY
Variant types
Public fieldStatic memberVT_ERROR
Public fieldStatic memberVT_I1
Public fieldStatic memberVT_I2
Public fieldStatic memberVT_I4
Public fieldStatic memberVT_R4
Public fieldStatic memberVT_R8
Public fieldStatic memberVT_UI1
Public fieldStatic memberVT_UI2
Public fieldStatic memberVT_UI4
Public fieldStatic memberVT_UNKNOWN
Public fieldStatic memberVT_VARIANT
Public fieldStatic memberVT_VOID

See Also