UNDOCUMENTED SAL*
Functions | Description |
nNum = SalCurrentLineNumber() | Get the current execution line number of the outline. |
nNum = SalDataGetFieldData( hWndCol, aArray ) | Fills an array with values from a table column.
Columns can be string, number, date/time, listbox, radiobox and
checkbox. Returns the number of indexes. |
bOk = SalLog( sLogFile, sLogEntry ) | Appends the string sLogEntry to the end of
sLogFile.If the log file does not exist, it will be created. Returns boolean. |
bOk = SalLogLine( sLogFile, sLogEntry ) | Same as SalLog() with the application line
number. Returns boolean. |
bOk = SalLogResources( sLogFile ) | Appends the window resources to the end of
p_sLogFile. Only for SqlWindows/16!!! Returns boolean. |
bOk = SalOutlineGetFileName( hOutline, sFile, bPath ) | Get the file name or the file name with path
from an outline item. <hOutline> outline item handle <sFile>, receive var, the file name <bPath>, TRUE for full file name with path, FALSE only file name |
hItem = SalOutlineGetIncludingItem( hOutline, hItem ) | Get the include file as <hItem> from a particular outline item. |
bOk = SalOutlineInfo( sFile, bIsOutline, bIsBinary, bIsRuntimeOnly, bIsEmbedded, bIsVersionMatch, nVersion ) | Get specific informations from the sourcefile.
<sFile> is the filename <bIsOutline> receive var, TRUE, than the specified file is an outline file, and the rest of the variables are meaningful. Otherwise, all bets are off. <bIsBinary> receive var, TRUE than the file is a binary outline file, FALSE it's a text outline file (.APT file) <bIsRuntimeOnly> receive var, TRUE, the file contains a runtime only outline (compiled and stripped of design time only settings) <bIsEmbedded> receive var, TRUE, the runtime outline is embedded in a .EXE file <bIsVersionMatch> receive var, TRUE, the outline version of the file matches the outline version of the current runtime system. <nVersion> receive var, the uutline version number (4026=saved as text 1.1*, 4027=saved as text 1.5*, 506=saved as binary 1.1*, 507=saved as binary 1.5*) |
bOk = SalQueryArrayBounds( aArray, nMin, nMax ) | Get the dimension of an array. <nMin> and
<nMax> are received parameters. Returns boolean. |
nNum = SalStrLeftB( sSource, nValue, sTarget ) | Copies <nValues> from left begin
<sSource> to <sTarget>. <sTarget| is a receive
paramter. Returns the number of chars in <sTarget>. |
nNum = SalStrRightB( sSource, nValue, sTarget ) | Copies <nValues> from right begin
<sSource> to <sTarget>. <sTarget| is a receive
paramter. Returns the number of chars in <sTarget>. |
nNum = SalStrMidB( sSource, nStart, nValue, sTarget ) | Copies <nValues> from offset
<nStart> of <sSource> to <sTarget>. <sTarget| is a
receive paramter. Returns the number of chars in <sTarget>. |
nNum = SalStrFull( sSource, sTarget ) | Copies the full <sSource> to
<sTarget>. <sTarget| is a receive paramter. Returns the number of chars in <sTarget>. |
bOk = SqlContextClear( hSql ) | Clears the current execution context. For more
information look also at SqlVarSetup(). Returns boolean. |
bOk = SqlContextSet( hSql ) | Set's the current execution context. See
SqlVarSetup(). But better use SqlVarSetup(). Returns boolean. |
bOk = SqlContextSetToForm( hSql, hWndForm ) | Set's the current execution context to a
specific window handle. Works like SqlContextSet() or
SqlVarSetup(). Returns boolean. |
SalPause( nMiliSec ) | Pause programm execution in <nMiliSec> miliseconds. |
Messages | Description |
COL_Visible = 0x001 | Set the visible column style. Use this message with SalTblSetColumnFlags(). |
COL_Invisible = 0x010 | Set the invisible column style. Use this message with SalTblSetColumnFlags(). |
COL_GrayedHeader = 0x020 | Set the header of a column grayed. Use this message with SalTblSetColumnFlags(). |
COL_ReadOnly = 0x200 | Set the read only column style. Use this message with SalTblSetColumnFlags(). |
COL_UpperCase = 0x400 | Set the uppercase column style. Use this message with SalTblSetColumnFlags(). |
COL_LowerCase = 0x800 | Set the lowercase column style. Use this message with SalTblSetColumnFlags(). |
COL_Multiline = 0x00800000 | Set the multiline (wordwrap) column style. Use this message with SalTblSetColumnFlags(). |
COL_CB_SetMaxLines = 0x400 + 126 | Set the max lines that a column listbox will show. Use this message with SalSendMsg( hWndCol, COL_CB_SetMaxLines, 0, nLines ). |