Skip to main content

XSal

Namespace: PPJ.Runtime.XSal

Assembly: PPJ.Runtime.XSal.49 (4.9.0.0)

XSal functions.

public class XSal

Fields

NameTypeDescription
SAM_DrawCellInt32Callback message for cell drawing The table window receives this message each time a custom drawn cell needs to be repainted. wParam = cell selected flag (TRUE or FALSE) lParam = pointer to a structure with drawing information. Use it with XSalTblGetCustomInfo().
SAM_HotSpotClickInt32The form, dialog or MDI receive this message when the user clicks the left mouse button on the hot spot. wParam = HotSpot ID lParam = Mouse position
SAM_HotSpotMouseMoveInt32The form, dialog or MDI receive this message when the user moves the mouse on the hot spot. wParam = HotSpot ID if the mouse is entering the hot spot or NULL if the mouse is leaving the hot spot. lParam = Mouse position
SAM_SwapRowsInt32Notification message from XSalTblSortRows. The table window receives this message each time the quick-sort routine swaps two rows. wParam = first row lParam = second row
SAM_ToolboxSetPositionInt32The toolbox receives this message when it's orientation and position are being changed. This allows the program to change some visual aspect of the toolbox. wParam = The new orientation flag lParam = not used
SAM_ToolboxUpdateMenuInt32Send to the form that owns the tool bars. The app can modify the popup menu before it's displayed by processing this event. The menu object can be accessed using the form's ContextMenu property or VT menu functions using wParam for the menu handle. wParam = Handle for the menu lParam = not used.
SAM_TooltipCloseInt32Sent to the control with the tool tip when the tool tip is destroyed.
SAM_TooltipSetTextInt32Sent to the control under the mouse to show the tool tip.

Properties

Static memberToolTip

ToolTip: Returns the single tool tips instance used by XSalTooltips.

Methods

Static memberBitmapClose(hBitmap)

Frees the bitmap handle.

ParameterTypeDescription
hBitmapSalNumber

Returns: SalBoolean.

Static memberBitmapCreateDisabled(Param1, Param2)

HBITMAP XSalBitmapCreateDisabled( HBITMAP p_hBitmap, COLORREF p_cColor );

ParameterTypeDescription
Param1SalNumber
Param2SalNumber

Returns: SalNumber.

Static memberBitmapDraw(ctrl, hImage, x, y, width, height)

Draws the image inside the control.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
hImageSalNumber
xSalNumber
ySalNumber
widthSalNumber
heightSalNumber

Returns: SalBoolean.

Static memberBitmapDraw(ctrl, hImage, x, y, width, height, transparent)

Draws the image inside the control.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
hImageSalNumber
xSalNumber
ySalNumber
widthSalNumber
heightSalNumber
transparentSalBoolean

Returns: SalBoolean.

Static memberBitmapDrawDC(Param1, Param2, Param3, Param4, Param5, Param6)

Draws the image inside the device context.

ParameterTypeDescription
Param1SalNumber
Param2SalNumber
Param3SalNumber
Param4SalNumber
Param5SalNumber
Param6SalNumber

Returns: SalBoolean.

Static memberBitmapFromFile(fileName)

Returns the bitmap handle from the image file.

ParameterTypeDescription
fileNameSalString

Returns: SalNumber.

Static memberBitmapFromIcon(Param1, Param2)

HBITMAP XSalBitmapFromIcon( HICON p_hIcon, COLORREF p_cBackColor );

ParameterTypeDescription
Param1SalNumber
Param2SalNumber

Returns: SalNumber.

Static memberBitmapFromResource(resName)

Returns the bitmap handle from the resource object,

ParameterTypeDescription
resNameSalString

Returns: SalNumber.

Static memberBitmapFromString(bitmapBytes)

Returns the bitmap handle from the bytes string.

ParameterTypeDescription
bitmapBytesSalString

Returns: SalNumber.

Static memberBitmapFromWindow(Param1, Param2)

HBITMAP XSalBitmapFromWindow( HWND p_hWnd, BOOL p_bClientOnly )

ParameterTypeDescription
Param1SalWindowHandle
Param2SalBoolean

Returns: SalNumber.

Static memberBitmapToString(Param1, Param2)

ParameterTypeDescription
Param1SalNumber
Param2SalString&

Returns: SalBoolean.

Static memberGetClientWindow(form)

Returns the client area of a form with the accessories enabled.

ParameterTypeDescription
formControl

Returns: SalWindowHandle.

Static memberGetWindowHotSpot(ctrl, id, x, y, width, height)

ParameterTypeDescription
ctrlControl
idSalNumber
xSalNumber&
ySalNumber&
widthSalNumber&
heightSalNumber&

Returns: SalBoolean.

Static memberGetWindowImage(ctrl, hImage)

ParameterTypeDescription
ctrlControl
hImageSalNumber&

Returns: SalBoolean.

Static memberGZipClose(Param1)

ParameterTypeDescription
Param1SalNumber&

Returns: SalBoolean.

Static memberGZipEof(Param1)

BOOL XSalGZipEof( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalBoolean.

Static memberGZipFlush(Param1)

BOOL XSalGZipFlush( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalBoolean.

Static memberGZipGetChar(Param1)

CHAR XSalGZipGetStr( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalNumber.

Static memberGZipGetError(Param1, Param2)

ParameterTypeDescription
Param1SalNumber
Param2SalNumber&

Returns: SalString.

Static memberGZipGetStr(Param1, Param2, Param3)

ParameterTypeDescription
Param1SalNumber
Param2SalString&
Param3SalNumber

Returns: SalNumber.

Static memberGZipOpen(Param1, Param2, Param3)

ParameterTypeDescription
Param1SalNumber&
Param2SalString
Param3SalString

Returns: SalBoolean.

Static memberGZipPutChar(Param1, Param2)

BOOL XSalGZipPutChar( gzFile p_File, CHAR p_cChar )

ParameterTypeDescription
Param1SalFileHandle
Param2SalNumber

Returns: SalBoolean.

Static memberGZipPutStr(Param1, Param2)

INT XSalGZipPutStr( gzFile p_File, LPSTR p_lpBufferOut )

ParameterTypeDescription
Param1SalNumber
Param2SalString

Returns: SalNumber.

Static memberGZipRead(Param1, Param2, Param3)

ParameterTypeDescription
Param1SalNumber
Param2SalString&
Param3SalNumber

Returns: SalNumber.

Static memberGZipRewind(Param1)

BOOL XSalGZipRewind( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalBoolean.

Static memberGZipSeek(Param1, Param2, Param3)

LONG XSalGZipSeek( gzFile p_File, LONG p_lOffset, INT p_iWhence )

ParameterTypeDescription
Param1SalNumber
Param2SalNumber
Param3SalNumber

Returns: SalNumber.

Static memberGZipTell(Param1)

LONG XSalGZipTell( gzFile p_File )

ParameterTypeDescription
Param1SalNumber

Returns: SalNumber.

Static memberGZipWrite(Param1, Param2, Param3)

LONG XSalGZipWrite( gzFile p_File, LPVOID p_lpBufferOut, LONG p_lSize )

ParameterTypeDescription
Param1SalNumber
Param2SalString
Param3SalNumber

Returns: SalNumber.

Static memberScriptAddLine(handle, line)

Adds a line to the script and recompiles.

ParameterTypeDescription
handleSalNumber
lineSalString

Returns: SalBoolean.

Static memberScriptCreate(source)

Creates and compiles the script.

ParameterTypeDescription
sourceSalString

Returns: SalNumber.

Static memberScriptFree(handle)

Frees the script.

ParameterTypeDescription
handleSalNumber

Returns: SalBoolean.

Static memberScriptGetErrors(handle, errorsList)

ParameterTypeDescription
handleSalNumber
errorsListSalString&

Returns: SalNumber.

Static memberScriptGetLocalName(handle, localName, varName)

Deprecated memberDeprecated: Not supported.

ParameterTypeDescription
handleSalNumber
localNameSalString
varNameSalString&

Returns: SalBoolean.

Static memberScriptRun(handle, result)

ParameterTypeDescription
handleSalNumber
resultSalString&

Returns: SalBoolean.

Static memberScriptSetContext(handle, context)

Changes the execution context for the script object.

ParameterTypeDescription
handleSalNumber
contextObject

Returns: SalBoolean.

Static memberScriptSetDebugMode(handle, debugOn)

Enables/Disables debug mode. When the debug mode is on, the exceptions generated by the interpreter are unhandled.

ParameterTypeDescription
handleSalNumber
debugOnSalBoolean

Returns: SalBoolean.

Static memberScriptSetTimeout(handle, timeout)

Deprecated memberDeprecated: Not supported. Not supported.

ParameterTypeDescription
handleSalNumber
timeoutSalNumber

Returns: SalBoolean.

Static memberSetWindowHotSpot(ctrl, id, x, y, width, height)

Creates a new hot spot are on the windows background. If the hot spot dimensions are 0,0,0,0 the specified hot spot ID is removed.

ParameterTypeDescription
ctrlControlThe control to add the hot spot to.
idSalNumberA unique id returned in the SAM_HotSpotClick event.
xSalNumberThe X coordinate of the hot spot in pixels.
ySalNumberThe X coordinate of the hot spot in pixels.
widthSalNumberThe width of the hot spot in pixels.
heightSalNumberThe height of the hot spot in pixels.

Returns: SalBoolean.

Static memberSetWindowImage(ctrl, hImage, flags)

Sets the image to show as the background of the specified window.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
hImageSalNumber
flagsBackgroundImageFlags

Returns: SalBoolean.

Static memberSetWindowImageFile(ctrl, sFileName, flags)

Sets the image to show as the background of the specified window.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
sFileNameSalString
flagsBackgroundImageFlags

Returns: SalBoolean.

Static memberSplitGetBarPosition(split)

Returns the position of the splitter. If the splitter is proportional, the position is expressed as a percentage integer: 500 = 50%.

ParameterTypeDescription
splitSalWindowHandle

Returns: SalNumber.

Static memberSplitGetFrameChild(split, frame)

Returns the child control associated to the splitter's frames.

ParameterTypeDescription
splitSalWindowHandle
frameSalNumber

Returns: SalWindowHandle.

Static memberSplitGetStyle(split)

Returns the styles of the splitter.

ParameterTypeDescription
splitSalWindowHandle

Returns: SplitterStyles.

Static memberSplitSetBarPosition(split, pos)

Sets the position of the splitter. If the splitter is proportional, the position is expressed as a percentage integer: 500 = 50%.

ParameterTypeDescription
splitSalWindowHandle
posSalNumber

Returns: SalBoolean.

Static memberSplitSetBarSize(split, size)

Sets the size of the splitter.

ParameterTypeDescription
splitSalWindowHandle
sizeSalNumber

Returns: SalBoolean.

Static memberSplitSetFrameChild(split, child, frame)

Associates the child control to the splitter's frames.

ParameterTypeDescription
splitSalWindowHandle
childSalWindowHandle
frameSalNumber

Returns: SalBoolean.

Static memberSplitSetMinMax(split, min, max)

Sets the minimum and maximum positions for the splitter.

ParameterTypeDescription
splitSalWindowHandle
minSalNumber
maxSalNumber

Returns: SalBoolean.

Static memberSplitSetStyle(split, style, on)

Sets the style of the splitter.

ParameterTypeDescription
splitSalWindowHandle
styleSplitterStyles
onSalBoolean

Returns: SalBoolean.

Static memberStrAny(text, chars)

Finds the first character in the string that appears in a given character set.

ParameterTypeDescription
textSalString
charsSalString

Returns: SalNumber.

Static memberStrCompare(source, compare, start, size, caseSensitive)

Compares a substring in a string.

ParameterTypeDescription
sourceSalString
compareSalString
startSalNumber
sizeSalNumber
caseSensitiveSalBoolean

Returns: SalBoolean.

Static memberStrCompress(inString, level, outString)

ParameterTypeDescription
inStringSalString
levelSalNumber
outStringSalString&

Returns: SalBoolean.

Static memberStrCount(text, search, start, length, left)

Counts the number of times a substring appears in a string.

ParameterTypeDescription
textSalString
searchSalString
startSalNumber
lengthSalNumber
leftSalBoolean

Returns: SalNumber.

Static memberStrFit(ctrl, text, append)

Truncates the string to fit the control's width and adds the ellipses characters at the end of the resulting string.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
textSalString
appendSalString

Returns: SalString.

Static memberStrFormat(text, mask)

Formats a string using a string mask.

ParameterTypeDescription
textSalString
maskSalString

Returns: SalString.

Static memberStrFormatDateTime(date, format, language)

ParameterTypeDescription
dateSalDateTime
formatSalString
languageSalString

Returns: SalString.

Static memberStrFormatDateTimeX(date, format, days, shortDays, months, shortMonths)

ParameterTypeDescription
dateSalDateTime
formatSalString
daysSalString
shortDaysSalString
monthsSalString
shortMonthsSalString

Returns: SalString.

Static memberStrFromHex(hex)

Converts a hexadecimal text into a string.

ParameterTypeDescription
hexSalString

Returns: SalString.

Static memberStrGetCharAt(text, index)

Returns the character at the indicated position.

ParameterTypeDescription
textSalString
indexSalNumber

Returns: SalNumber.

Static memberStrGetFirstToken(list, separators)

ParameterTypeDescription
listSalString
separatorsSalString

Returns: SalString.

Static memberStrGetNextToken()

Returns the next token string in a list.

Returns: SalString.

Static memberStrMetaphone(text)

ParameterTypeDescription
textSalString

Returns: SalString.

Static memberStrNAny(text, chars)

Finds the first character in the string that does not appear in a given character set.

ParameterTypeDescription
textSalString
charsSalString

Returns: SalNumber.

Static memberStrScan(text, search, index)

Searches for a substring in the source string starting from the specified index.

ParameterTypeDescription
textSalString
searchSalString
indexSalNumber

Returns: SalNumber.

Static memberStrScanR(text, search, index)

Searches for a substring in the source string starting from the specified index.

ParameterTypeDescription
textSalString
searchSalString
indexSalNumber

Returns: SalNumber.

Static memberStrSetCharAt(text, index, charSet)

ParameterTypeDescription
textSalString&
indexSalNumber
charSetSalNumber

Returns: SalNumber.

Static memberStrToHex(str)

Converts a string to a hexadecimal text.

ParameterTypeDescription
strSalString

Returns: SalString.

Static memberStrToNumber(text)

Converts a string to a number, regardless of the decimal point.

ParameterTypeDescription
textSalString

Returns: SalNumber.

Static memberStrUncompress(inString, outString)

ParameterTypeDescription
inStringSalString
outStringSalString&

Returns: SalBoolean.

Static memberTblCopyRows(table, flagsOn, flagsOff, copyFlags)

Copies the matching rows to the clipboard.

ParameterTypeDescription
tableControl
flagsOnSalNumber
flagsOffSalNumber
copyFlagsTableWindowClipboardFlags

Returns: SalBoolean.

Static memberTblCopyRowsToString(table, flagsOn, flagsOff, copyFlags, csvText)

ParameterTypeDescription
tableControl
flagsOnSalNumber
flagsOffSalNumber
copyFlagsTableWindowClipboardFlags
csvTextSalString&

Returns: SalBoolean.

Static memberTblGetCellBackColor(column, backColor)

ParameterTypeDescription
columnControl
backColorSalNumber&

Returns: SalBoolean.

Static memberTblGetCellCustom(column, userValue)

ParameterTypeDescription
columnControl
userValueSalNumber&

Returns: SalBoolean.

Static memberTblGetCellFont(column, hFont)

ParameterTypeDescription
columnControl
hFontSalNumber&

Returns: SalBoolean.

Static memberTblGetCellFont(column)

Returns the font associated with the specified table cell.

ParameterTypeDescription
columnControl

Returns: Font.

Static memberTblGetCellImage(column, hImage, position)

ParameterTypeDescription
columnControl
hImageSalNumber&
positionTableWindowImageFlags&

Returns: SalBoolean.

Static memberTblGetCellImage(column, position)

ParameterTypeDescription
columnControl
positionTableWindowImageFlags&

Returns: Image.

Static memberTblGetColHeaderCustom(column, userValue)

ParameterTypeDescription
columnControl
userValueSalNumber&

Returns: SalBoolean.

Static memberTblGetColHeaderFont(column, hFont)

ParameterTypeDescription
columnControl
hFontSalNumber&

Returns: SalBoolean.

Static memberTblGetColHeaderFont(column)

Returns the font associated to the column header.

ParameterTypeDescription
columnControl

Returns: Font.

Static memberTblGetColHeaderImage(column, hImage, position)

ParameterTypeDescription
columnControl
hImageSalNumber&
positionTableWindowImageFlags&

Returns: SalBoolean.

Static memberTblGetColumnBackColor(column, backColor)

ParameterTypeDescription
columnControl
backColorSalNumber&

Returns: SalBoolean.

Static memberTblGetColumnCustom(column, userValue)

ParameterTypeDescription
columnControl
userValueSalNumber&

Returns: SalBoolean.

Static memberTblGetColumnFont(column, hFont)

ParameterTypeDescription
columnControl
hFontSalNumber&

Returns: SalBoolean.

Static memberTblGetColumnFont(column)

Returns the font associated with the specified table column.

ParameterTypeDescription
columnControl

Returns: Font.

Static memberTblGetColumnImage(column, hImage, flags)

ParameterTypeDescription
columnControl
hImageSalNumber&
flagsTableWindowImageFlags&

Returns: SalBoolean.

Static memberTblGetCustomInfo(lParam, HDC, col, row, tag, left, top, right, bottom)

ParameterTypeDescription
lParamSalNumber
HDCSalNumber&
colSalNumber&
rowSalNumber&
tagSalNumber&
leftSalNumber&
topSalNumber&
rightSalNumber&
bottomSalNumber&

Returns: SalBoolean.

Static memberTblGetRowBackColor(table, row, color)

ParameterTypeDescription
tableControl
rowSalNumber
colorSalNumber&

Returns: SalBoolean.

Static memberTblGetRowCustom(table, row, userValue)

ParameterTypeDescription
tableControl
rowSalNumber
userValueSalNumber&

Returns: SalBoolean.

Static memberTblGetRowFont(table, row, hFont)

ParameterTypeDescription
tableControl
rowSalNumber
hFontSalNumber&

Returns: SalBoolean.

Static memberTblGetRowFont(table, row)

Returns the font used for the specified row.

ParameterTypeDescription
tableControl
rowSalNumber

Returns: Font.

Static memberTblGetRowImage(table, row, hImage, flags)

ParameterTypeDescription
tableControl
rowSalNumber
hImageSalNumber&
flagsTableWindowImageFlags&

Returns: SalBoolean.

Static memberTblPasteRows(table, copyFlags)

Pastes the CSV text from the clipboard.

ParameterTypeDescription
tableControl
copyFlagsTableWindowClipboardFlags

Returns: SalBoolean.

Static memberTblPasteRowsFromString(table, flags, csvText)

Pastes the specified CSV string into the table window control.

ParameterTypeDescription
tableControl
flagsTableWindowClipboardFlags
csvTextSalString

Returns: SalBoolean.

Static memberTblSetCellBackColor(column, backColor)

Sets the background color of an individual cell.

ParameterTypeDescription
columnControl
backColorSalNumber

Returns: SalBoolean.

Static memberTblSetCellCustom(column, userValue)

Makes the specified cell custom-drawn and assigns the user value to it.

ParameterTypeDescription
columnControl
userValueSalNumber

Returns: SalBoolean.

Static memberTblSetCellFont(column, font)

Sets the font for a single cell.

ParameterTypeDescription
columnControl
fontFont

Returns: SalBoolean.

Static memberTblSetCellFont(column, hFont)

Sets the font for a single cell.

ParameterTypeDescription
columnControl
hFontSalNumber

Returns: SalBoolean.

Static memberTblSetCellFontName(column, fontName, fontSize, fontEnh)

Sets the font for a single cell.

ParameterTypeDescription
columnControl
fontNameSalString
fontSizeSalNumber
fontEnhSalNumber

Returns: SalBoolean.

Static memberTblSetCellImage(column, image, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetCellImage(column, hImage, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
hImageSalNumber
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetCellImageFile(column, file, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
fileSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetCellImageResource(column, name, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
nameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetCellImageString(column, sImage, flags)

Assigns an image to a table cell.

ParameterTypeDescription
columnControl
sImageSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetClipRect(lParam, left, top, right, bottom)

Changes the clipping rectangle when custom drawing a cell. It must be used when processing SAM_DrawCell to make sure that lParam contains the correct value.

ParameterTypeDescription
lParamSalNumber
leftSalNumber
topSalNumber
rightSalNumber
bottomSalNumber

Returns: SalBoolean.

Static memberTblSetColHeaderCustom(column, userValue)

Defines the column header as custom drawn.

ParameterTypeDescription
columnControl
userValueSalNumber

Returns: SalBoolean.

Static memberTblSetColHeaderFont(column, font)

Assigns the specified font to the column header.

ParameterTypeDescription
columnControl
fontFont

Returns: SalBoolean.

Static memberTblSetColHeaderFont(column, hFont)

Assigns the specified font to the column header.

ParameterTypeDescription
columnControl
hFontSalNumber

Returns: SalBoolean.

Static memberTblSetColHeaderFontName(column, fontName, fontSize, fontEnh)

Creates the specified font and assigns it to the column header.

ParameterTypeDescription
columnControl
fontNameSalString
fontSizeSalNumber
fontEnhSalNumber

Returns: SalBoolean.

Static memberTblSetColHeaderImage(column, image, flags)

Assigns the image from the handle to the specified column header.

ParameterTypeDescription
columnControl
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImage(column, hImage, flags)

Assigns the image from the handle to the specified column header.

ParameterTypeDescription
columnControl
hImageSalNumber
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImageFile(column, imageFile, flags)

Assigns the image file to the specified column header.

ParameterTypeDescription
columnControl
imageFileSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImageResource(column, resName, flags)

Assigns the image from the specified resource object to the column header.

ParameterTypeDescription
columnControl
resNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColHeaderImageString(column, imageBlob, flags)

Assigns the image from the blob string to the specified column header.

ParameterTypeDescription
columnControl
imageBlobSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnBackColor(column, backColor)

Sets the background color for a table column.

ParameterTypeDescription
columnControl
backColorSalNumber

Returns: SalBoolean.

Static memberTblSetColumnCustom(column, userValue)

Enables custom drawing (SAM_DrawCell) for the specified column.

ParameterTypeDescription
columnControl
userValueSalNumber

Returns: SalBoolean.

Static memberTblSetColumnFont(column, font)

Sets the font for a table column.

ParameterTypeDescription
columnControl
fontFont

Returns: SalBoolean.

Static memberTblSetColumnFont(column, hFont)

Sets the font for a table column.

ParameterTypeDescription
columnControl
hFontSalNumber

Returns: SalBoolean.

Static memberTblSetColumnFontName(column, fontName, fontSize, fontEnh)

Sets the font for the table column. The font is created using the specified arguments.

ParameterTypeDescription
columnControl
fontNameSalString
fontSizeSalNumber
fontEnhSalNumber

Returns: SalBoolean.

Static memberTblSetColumnImage(column, image, flags)

Assigns an image to a table column.

ParameterTypeDescription
columnControl
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnImage(column, hImage, flags)

Assigns an image to the column.

ParameterTypeDescription
columnControl
hImageSalNumber
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnImageFile(column, file, flags)

Assigns an image to the column.

ParameterTypeDescription
columnControl
fileSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnImageResource(column, name, flags)

Assigns an image to the column.

ParameterTypeDescription
columnControl
nameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetColumnImageString(column, sImage, flags)

Assigns an image to the column.

ParameterTypeDescription
columnControl
sImageSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetDelimiters(colDelimiter, rowDelimiter)

Changes the standard column and row delimiters for the copy/paste operations.

ParameterTypeDescription
colDelimiterSalString
rowDelimiterSalString

Returns: SalBoolean.

Static memberTblSetRowBackColor(table, row, color)

Sets the background color of a row.

ParameterTypeDescription
tableControl
rowSalNumber
colorSalNumber

Returns: SalBoolean.

Static memberTblSetRowCustom(table, row, userValue)

Defines the specified row as custom drawn and assigns the user value.

ParameterTypeDescription
tableControl
rowSalNumber
userValueSalNumber

Returns: SalBoolean.

Static memberTblSetRowFont(table, row, font)

Sets the font for the entire row.

ParameterTypeDescription
tableControl
rowSalNumber
fontFont

Returns: SalBoolean.

Static memberTblSetRowFont(table, row, hFont)

Sets the font for the entire row.

ParameterTypeDescription
tableControl
rowSalNumber
hFontSalNumber

Returns: SalBoolean.

Static memberTblSetRowFontName(table, row, fontName, fontSize, fontEnh)

Sets the font for the entire row.

ParameterTypeDescription
tableControl
rowSalNumber
fontNameSalString
fontSizeSalNumber
fontEnhSalNumber

Returns: SalBoolean.

Static memberTblSetRowHeaderBackColor(table, row, color)

Sets the background color of the row header.

ParameterTypeDescription
tableControl
rowSalNumber
colorSalNumber

Returns: SalBoolean.

Static memberTblSetRowImage(table, row, image, flags)

Assigns an image to all the cells in the specified row,

ParameterTypeDescription
tableControl
rowSalNumber
imageImage
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetRowImage(table, row, hImage, flags)

Assigns an image to all the cells in the specified row,

ParameterTypeDescription
tableControl
rowSalNumber
hImageSalNumber
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetRowImageFile(table, row, imageFile, flags)

Assigns an image to all the cells in the specified row.

ParameterTypeDescription
tableControl
rowSalNumber
imageFileSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetRowImageResource(table, row, resName, flags)

Assigns the image from the resource object to all the cells in the table row.

ParameterTypeDescription
tableControl
rowSalNumber
resNameSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSetRowImageString(table, row, imageBlob, flags)

Assigns an image to all the cells in the specified row.

ParameterTypeDescription
tableControl
rowSalNumber
imageBlobSalString
flagsTableWindowImageFlags

Returns: SalBoolean.

Static memberTblSortRows(table, colID, flags)

Sort the table rows using the values in the specified column.

ParameterTypeDescription
tableControl
colIDSalNumber
flagsTableWindowSort

Returns: SalBoolean.

Static memberToolboxCreate(parent, name, position, flags)

Creates the specified toolbox dialog.

ParameterTypeDescription
parentControl
nameSalString
positionToolboxPositions
flagsToolboxFlags

Returns: SalWindowHandle.

Static memberToolboxDestroy(parent, name)

Closes the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxGetButtonHandle()

hWndButton = XSalToolboxGetButtonHandle( )

Returns: SalWindowHandle.

Static memberToolboxGetFlags(parent, name)

Returns the style flags for the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: ToolboxFlags.

Static memberToolboxGetPosition(parent, name)

Returns the position of the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: ToolboxPositions.

Static memberToolboxHide(parent, name)

Hides the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxHideAll(parent)

Hides all the toolboxes.

ParameterTypeDescription
parentControl

Returns: SalBoolean.

Static memberToolboxIsVisible(parent, name)

Tests the visibility of the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxSetButtonStyle(button, style)

Applies the toolbox button styles to the button control. The button must be derived from XSalFlatButton.

ParameterTypeDescription
buttonSalWindowHandle
styleToolbuttonStyles

Returns: SalBoolean.

Static memberToolboxSetMetrics(value, type)

Sets metrics values for the tool bars.

ParameterTypeDescription
valueSalNumber
typeToolbarMetrics

Returns: SalBoolean.

Static memberToolboxSetPosition(parent, name, position)

Changes the position of the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString
positionToolboxPositions

Returns: SalBoolean.

Static memberToolboxShow(parent, name)

Shows the specified toolbox.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberToolboxShowAll(parent)

Shows all the toolboxes.

ParameterTypeDescription
parentControl

Returns: SalBoolean.

Static memberToolboxUpdate(parent, name)

Reloads all the child controls in the toolbox and updated the layout.

ParameterTypeDescription
parentControl
nameSalString

Returns: SalBoolean.

Static memberTooltipInit()

Initializes the XSalTooltip component.

Returns: SalNumber.

Static memberTooltipSetColors(textColor, backColor)

Changes the tool tip colors.

ParameterTypeDescription
textColorSalNumber
backColorSalNumber

Returns: SalNumber.

Static memberTooltipSetDelay(showDelay, popDelay)

Sets the two timers delay in milliseconds. The first delay regulates the delay between the first time the mouse enters the window and the showing of the tool tip. The second delay regulates how long the tool tip stays on the screen.

ParameterTypeDescription
showDelaySalNumber
popDelaySalNumber

Returns: SalNumber.

Static memberTooltipSetText(tooltip)

Sets the tool tip text in response to SAM_TooltipSetText.

ParameterTypeDescription
tooltipSalString

Returns: SalBoolean.

Static memberTooltipShow(ctrl, tooltip)

Shows the tool tip for the specified control.

ParameterTypeDescription
ctrlControlTarget control on which to execute the call.
tooltipSalString

Returns: SalWindowHandle.

Static memberUdvArrayDelete(array, index)

Removes an element from the array.

ParameterTypeDescription
arraySalArray
indexSalNumber

Returns: SalBoolean.

Static memberUdvArrayInsert(array, index)

Inserts a new element in the array.

ParameterTypeDescription
arraySalArray
indexSalNumber

Returns: SalBoolean.

Static memberUdvArrayMove(array, sourceIndex, targetIndex)

Moves the element to the target index in the array.

ParameterTypeDescription
arraySalArray
sourceIndexSalNumber
targetIndexSalNumber

Returns: SalBoolean.

Static memberUdvArraySort(array, fieldName, dataType, sortOrder)

Sorts the objects in the array using the value in the variable specified in sFieldName.

ParameterTypeDescription
arraySalArray
fieldNameSalString
dataTypeSalNumber
sortOrderSalNumber

Returns: SalBoolean.

Static memberUdvArraySwap(array, index1, index2)

Swaps two object items in an array.

ParameterTypeDescription
arraySalArray
index1SalNumber
index2SalNumber

Returns: SalBoolean.

Static memberUdvClone(source, target)

ParameterTypeDescription
sourceSalFunctionalClass
targetSalFunctionalClass&

Returns: SalBoolean.

Static memberUdvFromString(obj, source)

ParameterTypeDescription
objSalFunctionalClass&
sourceSalString

Returns: SalBoolean.

Static memberUdvToString(obj, target)

ParameterTypeDescription
objSalFunctionalClass
targetSalString&

Returns: SalBoolean.

Static memberZipCloseArchive(zipFile)

ParameterTypeDescription
zipFileSalNumber&

Returns: SalBoolean.

Static memberZipCloseFile(zipFile)

Closes the currently open zip entry. It doesn't close the Zip archive, to close the archive you have to use XSal.ZipCloseArchive.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipCreateFile(zipFile, fileName, date, comment, compressionLevel)

Creates a file in the Zip archive and sets the newly created file as the currently open file.

ParameterTypeDescription
zipFileSalNumber
fileNameSalString
dateSalDateTime
commentSalString
compressionLevelSalNumber

Returns: SalBoolean.

Static memberZipFindFile(zipFile, fileName)

Returns the zip entry that matches the specified name.

ParameterTypeDescription
zipFileSalNumber
fileNameSalString

Returns: SalBoolean.

Static memberZipFindFirstFile(zipFile)

Positions the current zip entry to the first file in the archive.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipFindNextFile(zipFile)

Positions the current zip entry to the next file in the archive.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipGetFileInfo(zipFile, fileName, comment, date, compressedSize, uncompressedSize)

ParameterTypeDescription
zipFileSalNumber
fileNameSalString&
commentSalString&
dateSalDateTime&
compressedSizeSalNumber&
uncompressedSizeSalNumber&

Returns: SalBoolean.

Static memberZipOpenArchive(zipFile, fileName, mode)

ParameterTypeDescription
zipFileSalNumber&
fileNameSalString
modeSalNumber

Returns: SalBoolean.

Static memberZipOpenFile(zipFile)

Opens the current zip entry for reading in the Zip archive. It must be used after XSal.ZipFindFile or XSal.ZipFindFirstFile, or XSal.ZipFindNextFile.

ParameterTypeDescription
zipFileSalNumber

Returns: SalBoolean.

Static memberZipRead(zipFile, buffer, count)

ParameterTypeDescription
zipFileSalNumber
bufferSalString&
countSalNumber

Returns: SalNumber.

Static memberZipWrite(zipFile, buffer, length)

Writes the buffer to the currently open zip entry in the zip file.

ParameterTypeDescription
zipFileSalNumber
bufferSalString
lengthSalNumber

Returns: SalBoolean.

Static memberZipWrite(zipFile, buffer, length)

Writes the buffer to the currently open zip entry in the zip file.

ParameterTypeDescription
zipFileSalNumber
bufferByte[]
lengthSalNumber

Returns: SalBoolean.