Vis
PPJ.Runtime.Vis.Vis
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)
Contains all Vis.* static functions and constants.
public class Vis
Fields
CALN_DateChanged
Fired by VisCalendar as the wParam value with the SAM_CustControlCmd message when the use changes the selected date.
CALN_DateFinished
Fired by VisCalendar as the wParam value with the SAM_CustControlCmd message when the use leaves the control.
CALN_Scroll
Fired by VisCalendar as the wParam value with the SAM_CustControlCmd message when the use scrolls the calendar to a different month.
COLOR_CAL_BackExtra
Indicates the background color of the days in the adjacent months in the VisCalendar control.
COLOR_CAL_BackLabel
Indicates the background color of the month name in the VisCalendar control.
COLOR_CAL_ForeExtra
Indicates the text color of the days in the adjacent months in the VisCalendar control.
DESKTOP_NetworkNeighborhood
Value associated with the network neighborhood node in the VisDesktopListBox control.
PicNetworkNeighborhood
Image used to represent the network neighborhood node in the VisDesktopListBox control.
REF_PFN_Bullet
Paragraph Format Numbering Flags (duplicates of PFN_ constants from Microsoft's RICHEDIT.H)
Methods
ArrayAppend(SourceArray, TargetArray, dataType)

Appends one array to the end of another array.
Returns: SalNumber.
ArrayCopy(SourceArray, TargetArray, dataType)

Copies the source array to the target array.
Returns: SalNumber.
ArrayDeleteItem(array, index, dataType)

Deletes an item from an array.
Returns: SalNumber.
ArrayFillDateTime(array, value, count)

Fills a Date/Time array with the specified date/time value.
Returns: SalBoolean.
ArrayFillNumber(array, value, count)

Fills a Number array with the specified numeric value.
Returns: SalBoolean.
ArrayFillString(array, value, count)

Fills a String array with the specified string value.
Returns: SalBoolean.
ArrayFindDateTime(array, searchFor)

Locates a date/time value within an array.
Returns: SalNumber.
ArrayFindNumber(array, searchFor)

Locates a numeric value within an array.
Returns: SalNumber.
ArrayFindNumber(array, searchFor)

Locates a numeric value within an array.
Returns: SalNumber.
ArrayFindString(array, searchFor)

Locates a string value within an array.
Returns: SalNumber.
ArrayInsertItem(array, index, dataType)

Inserts an item into an array.
Returns: SalNumber.
ArraySort(array, sortOrder, dataType)

Sorts an array.
Returns: SalNumber.
DebugAssert(expression, DebugString)

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalBoolean.
DebugBeginTime()

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalBoolean.
DebugEndTime(Context, DebugLevel)

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalBoolean.
DebugGetFlags()

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalNumber.
DebugSetFlags(Flags, Mode)

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalNumber.
DebugSetLevel(DebugLevel)

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalBoolean.
DebugSetTime(Context)

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalBoolean.
DebugString(DebugString, DebugLevel)

Deprecated: Use System.Diagnostics.Debug Not supported.
Returns: SalBoolean.
DosBuildFullName(moduleName, fileName)

Composes a full path by combining the current directory and the specified file name.
Returns: SalString.
DosEnumDirInfo(dirSpec, dirs, dateTimes, attributes)

Returns information about the directories selected using the specified wild card.
Returns: SalNumber.
DosEnumDirs(dirSpec, dirs)

Enumerates all the directories using the specified wild card.
Returns: SalNumber.
DosEnumDrives(drives)

Enumerates all the logical drives.
Returns: SalNumber.
DosEnumFileInfo(fileSpec, attribute, files, sizes, dateTimes, attributes)

Returns information for the files selected using the specified wild card.
Returns: SalNumber.
DosEnumFiles(fileSpec, attributes, files)

Enumerates all the files using the specified wild card.
files
Returns the names of the files that match the specified name and attributes.
Returns: SalNumber.
DosEnumNetConnections(devices, netNames)

Enumerates all the network connections.
Returns: SalNumber.
DosEnumPath(directories)

Enumerates all the paths in the PATH environment variable.
Returns: SalNumber.
DosExist(fileSpec)

Checks if the specified directory exists.
Returns: SalBoolean.
DosGetCurDir(drive)

Returns the current directory.
Returns: SalString.
DosGetDriveSize(drive, totalSpace, freeSpace)

Returns: SalNumber.
DosGetDriveType(drive)

Returns the type of the specified drive.
Returns: SalNumber.
DosGetEnvString(name)

Gets environment value for the specified name .
Returns: SalString.
DosGetFlags()

Deprecated: Flags VisDosGetFlags ()
Returns: SalNumber.
DosGetNetName(device)

Retrieves the name of the network resource associated with a local device.
Returns: SalString.
DosGetVersion()

Returns the OS version.
Returns: SalNumber.
DosGetVolumeLabel(drive)

Returns the volume label of the specified drive.
Returns: SalString.
DosIsParent(dirSpec)

Returns TRUE if directory contains subdirectories
Returns: SalBoolean.
DosMakeAllDir(dir)

Makes directory including all subdirectories.
Returns: SalNumber.
DosMakePath(drive, dir, baseStr, ext)

Combines drive, dir, base and extension to a file path
Returns: SalString.
DosNetConnect(device, netName, password)

Makes a connection to a network resource.
Returns: SalNumber.
DosNetDisconnect(device, force)

Disconnect a connection
Returns: SalNumber.
DosSetFlags(Flags, state)

Deprecated: Not supported.
Returns: SalNumber.
DosSetVolumeLabel(drive, label)

Sets the label of a file system volume.
Returns: SalNumber.
DosSplitPath(fileSpec, drive, dir, baseStr, ext)

Returns: SalNumber.
ErrorRecovery(Caption)

Displays an error message and allows user to retry the operation or halt the application.
Returns: SalNumber.
FileAppend(sourceFile, targetFile)

Appends one file to another.
Returns: SalNumber.
FileClose(file)

Closes a file.
Returns: SalNumber.
FileCopy(sourceFile, targetFile)

Copies a file
Returns: SalNumber.
FileCreateTemp(prefix)

Gets a new temp file name.
Returns: SalString.
FileDelete(fileName)

Deletes a file.
Returns: SalNumber.
FileExpand(sourceFile, targetFile)

Deprecated: Copies a compressed source file to a destination file.
Returns: SalNumber.
FileFind(fileName)

Searches for a file.
Returns: SalString.
FileGetAttribute(fileName)

Gets the attribute bit values for the specified file.
Returns: SalNumber.
FileGetSize(fileName)

Gets the size of the specified file.
Returns: SalNumber.
FileGetType(fileName)

Gets the type of the specified file.
Returns: SalNumber.
FileOpen(file, fileName, flags)

Returns: SalNumber.
FileRead(file, buffer, size)

Returns: SalNumber.
FileReadBinary(file, buffer, numBytes)

Returns: SalNumber.
FileReadString(file, line)

Returns: SalNumber.
FileRename(sourceFile, targetFile)

Renames one or more files. Wild card characters are supported in both the source and target file names. If the source and target directories are different but the file names are the same, the files are moved to the target directory specified.
Returns: SalNumber.
FileSeek(file, offset, origin)

Positions within a file.
Returns: SalNumber.
FileSetAttribute(fileName, attributes, state)

Sets attributes for a file.
Returns: SalNumber.
FileSetDateTime(fileName, dateTime)

Sets datetime of a file.
Returns: SalNumber.
FileTell(file)

Returns current offset in an open file.
Returns: SalNumber.
FileWrite(file, buffer, size)

Writes a buffer to a file.
Returns: SalNumber.
FileWriteBinary(file, buffer)

Writes the binary buffer to the file.
Returns: SalNumber.
FileWriteString(file, line)

Writes the line of text to the file.
Returns: SalNumber.
FontEnum(Type, Names, Types)

Enumerates all the installed fonts.
Returns: SalNumber.
FontFree(fontHandle)

Release the font handle.
Returns: SalBoolean.
FontGet(fontHandle, faceName, pointSize, fontFlags)

Returns: SalBoolean.
FontLoad(faceName, pointSize, enhFlags)

Loads the specified font.
Returns: SalNumber.
GetCommonDir(ctrl, index)

Retrieves the current directory of a common dialog list box or combo box.
Returns: SalString.
GetCopyright()

Retrieves a copyright string.
Returns: SalString.
GetKeyState(VirtKey)

Retrieves the state of a specified key.
Returns: SalNumber.
GetSystemMetrics(index)

Retrieves various system metrics (widths and heights of display elements) and system configuration settings.
Returns: SalNumber.
GetVersion()

Gets version information.
Returns: SalString.
GetWiFlags()

Deprecated: This function is not implemented in CTD too, it always returns 0. It can be deleted. Not supported.
Returns: SalNumber.
GetWinVersion()

Gets windows version information.
Returns: SalNumber.
ListAddColor(ctrl, text, color)

Adds an item to the list and displays it in the specified color.
Returns: SalNumber.
ListAddColorValue(ctrl, text, color, value)

Adds an item to the list, displays it in the specified color and associates the specified value with the item.
Returns: SalNumber.
ListAddFont(ctrl, text, fontHandle)

Adds an item to the list control and displays it in the specified font.
Returns: SalNumber.
ListAddFontValue(ctrl, text, fontHandle, value)

Adds an item to the list control, displays it in the specified font and associates the specified value to the item.
Returns: SalNumber.
ListAddPicture(ctrl, text, picNormal, picSelected)

Adds an item to the list control and specified an image for the normal and selected state.
Returns: SalNumber.
ListAddPictureValue(ctrl, text, picNormal, picSelected, value)

Adds an item to the list control and specified an image for the normal and selected state, and a value to associate with the item.
Returns: SalNumber.
ListAddValue(ctrl, text, value)

Adds an item to a sorted list box or combo box and associates the specified value with the item.
Returns: SalNumber.
ListArrayPopulate(ctrl, items)

Populates a list box from a string array.
Returns: SalNumber.
ListArrayPopulateValue(ctrl, items, values)

Populates a list box from a string and a value array.
Returns: SalNumber.
ListClearSelection(ctrl)

Unselects all selected items in a list box or combo box.
Returns: SalBoolean.
ListCollapse(ctrl, index)

Collapses all descendant items.
Returns: SalBoolean.
ListDeleteChild(ctrl, index)

Deletes the child item from the tree control.
Returns: SalNumber.
ListDeleteDescendents(ctrl, index)

Deletes all descendants (children, grandchildren, and so on) of the specified child.
Returns: SalNumber.
ListDeleteSelected(ctrl)

Deletes all selected items from a list box or combo box.
Returns: SalNumber.
ListDemote(ctrl, index, picNormal, picSelect)

Moves an item and all descendants of the item right in the outline.
Returns: SalBoolean.
ListDisableItem(ctrl, index, color)

Disables the specified item and sets the specified color.
Returns: SalNumber.
ListDragDrop(ctrl, sourceIndex, targetCtrl, targetIndex, dropFlags)

Implements drag and drop
Returns: SalBoolean.
ListEnableItem(ctrl, index, color)

Enables the specified item and sets the specified color.
Returns: SalNumber.
ListEnumChildren(item, items)

Enumerates child item handles for a specified item.
Returns: SalNumber.
ListEnumDescendents(item, items)

Enumerates descendant (children, grandchildren, and so on) item handles for a specified item.
Returns: SalNumber.
ListExpand(ctrl, index)

Expands an outline one level at the index specified.
Returns: SalNumber.
ListExpandDescendents(ctrl, index)

Displays all descendants of an item.
Returns: SalBoolean.
ListFindItemValue(item, value)

Finds list item by value
Returns: SalNumber.
ListFindString(ctrl, startIndex, text)

Finds the first string that matches the specified text in a list box or combo box. The search is not case sensitive but requires an exact match of all characters.
Returns: SalNumber.
ListFindValue(ctrl, startIndex, value)

Finds the first value that matches the specified value in a list box or combo box.
Returns: SalNumber.
ListFreeChild(item)

Frees memory for the item specified and for all its descendants.
Returns: SalBoolean.
ListFreeDescendents(item)

Frees memory for all descendants of the item specified.
Returns: SalBoolean.
ListGetColor(ctrl, index)

Returns the current color of the list item.
Returns: SalNumber.
ListGetDropdownState(ctrl)

Determines whether the list box portion of a combo box is visible.
Returns: SalBoolean.
ListGetFlags(ctrl, index)

Returns the ITEM_* flags for the specified list item.
Returns: SalNumber.
ListGetFocusIndex(ctrl)

Gets the index of the item which has the focus rectangle or the last item to receive the focus frame in a multiple-selection list box.
Returns: SalNumber.
ListGetFont(ctrl, index)

Returns the current font of the list control item.
Returns: SalNumber.
ListGetIndexFromPoint(ctrl, X, Y)

Gets list index from a point
Returns: SalNumber.
ListGetItemColor(item)

Retrieves the color associated with an outline item.
Returns: SalNumber.
ListGetItemData(item, text, value, itemFlags)

Returns: SalBoolean.
ListGetItemFlags(item)

Gets item flags
Returns: SalNumber.
ListGetItemFont(item)

Retrieves the font associated with an outline item.
Returns: SalNumber.
ListGetItemHandle(ctrl, index)

Retrieves the item handle based on an index specified.
Returns: SalNumber.
ListGetItemIndex(item)

Returns the index of the specified outline item.
Returns: SalNumber.
ListGetItemPicture(item, picNormal, picSelect)

Returns: SalBoolean.
ListGetItemText(item)

Returns the text for the outline item.
Returns: SalString.
ListGetItemValue(item)

Returns the value saved with the outline item.
Returns: SalNumber.
ListGetLevel(item)

Returns the level number for an outline item.
Returns: SalNumber.
ListGetNextSibling(item)

Retrieves the item handle for the next sibling of the specified item.
Returns: SalNumber.
ListGetParent(item)

Retrieves the item handle for the parent of the specified item.
Returns: SalNumber.
ListGetPicture(ctrl, index, picNormal, picSelected)

Returns: SalNumber.
ListGetPrevSibling(item)

Retrieves the item handle for the previous sibling of the specified item.
Returns: SalNumber.
ListGetRoot(ctrl)

Returns the handle for the root node.
Returns: SalNumber.
ListGetStyle(ctrl)

Returns the LBS_* style for the specified control.
Returns: SalNumber.
ListGetText(ctrl, index)

Returns the text of the list item.
Returns: SalString.
ListGetTextRectangle(ctrl, index, top, left, bottom, right)

Returns: SalBoolean.
ListGetValue(ctrl, index)

Returns the value associated to the list item.
Returns: SalNumber.
ListGetVisibleRange(ctrl, top, bottom)

Returns: SalNumber.
ListInsertColor(ctrl, index, text, color)

Inserts an item to the list control at the specified position and displays it in the specified color.
Returns: SalNumber.
ListInsertColorValue(ctrl, index, text, color, value)

Inserts an item to the list control at the specified position, displays it in the specified color and associates the specified value to the item.
Returns: SalNumber.
ListInsertFont(ctrl, index, text, fontHandle)

Adds an item to a list control at the specified index and displays it in the specified font.
Returns: SalNumber.
ListInsertFontValue(ctrl, index, text, fontHandle, value)

Adds an item to the list control, displays it in the specified font, and associates the specified value with the item.
Returns: SalNumber.
ListInsertPicture(ctrl, index, text, picNormal, picSelected)

Inserts an item at the specified position and specifies an image for the normal and selected state.
Returns: SalNumber.
ListInsertPictureValue(ctrl, index, text, picNormal, picSelected, value)

Inserts an item at the specified position and specifies an image for the normal and selected state, and associates a value to the item.
Returns: SalNumber.
ListInsertValue(ctrl, index, text, value)

Inserts an item into an unsorted list box or combo box and associates the specified value with the item.
Returns: SalNumber.
ListIsMultiSelect(ctrl)

Returns true if the list box is multi select.
Returns: SalBoolean.
ListLoadChild(ctrl, itemParent, picNormal, picSelect, text, value, itemFlags)

Inserts an item as the last child of the specified parent.
Returns: SalNumber.
ListLoadChildren(ctrl, itemParent, picNormal, picSelect, texts, values, itemFlags)

Loads with arrays from children
Returns: SalNumber.
ListLoadOutline(ctrl, blob)

Load outline from a blob
Returns: SalNumber.
ListLoadOutlineFile(ctrl, fileName, picParentNormal, picParentSelect, picChildNormal, picChildSelect)

Load outline from a file
Returns: SalNumber.
ListLoadSibling(ctrl, itemBefore, picNormal, picSelect, text, value, itemFlags)

Load sibling
Returns: SalNumber.
ListMoveDown(ctrl, index)

Move item down
Returns: SalBoolean.
ListMoveUp(ctrl, index)

Move item up
Returns: SalBoolean.
ListPromote(ctrl, index, picNormal, picSelect)

Promote item
Returns: SalBoolean.
ListSaveOutline(ctrl, blob)

Returns: SalNumber.
ListScroll(ctrl, index)

Scrolls an item into view.
Returns: SalNumber.
ListSetColor(ctrl, index, color)

Sets the color of a list item.
Returns: SalBoolean.
ListSetDropdownState(ctrl, state)

Shows or hides the list box portion of a combo box.
Returns: SalBoolean.
ListSetFlags(ctrl, index, itemFlags, state)

Sets the ITEM_* flags for the specified list item.
Returns: SalNumber.
ListSetFocusIndex(ctrl, index)

Sets the focus rectangle to the item at the specified index in a multiple-selection list box. If the item is not visible, it is scrolled into view.
Returns: SalNumber.
ListSetFont(ctrl, index, fontHandle)

Sets the font of the list control item.
Returns: SalBoolean.
ListSetIndent(ctrl, indent)

Set list indentation
Returns: SalBoolean.
ListSetItemColor(item, color)

Sets the color of the outline item.
Returns: SalBoolean.
ListSetItemData(ctrl, item, text, value, itemFlags)

Updates the specified item.
Returns: SalNumber.
ListSetItemFlags(item, itemFlags, state)

Sets item flags
Returns: SalBoolean.
ListSetItemFont(item, fontHandle)

Sets the font of the outline item.
Returns: SalBoolean.
ListSetItemPicture(item, picNormal, picSelect)

Sets the picture of a list item
Returns: SalBoolean.
ListSetItemText(item, text)

Sets the text of the outline item.
Returns: SalBoolean.
ListSetItemValue(item, value)

Sets the value associated to the outline item.
Returns: SalBoolean.
ListSetOutlineRedraw(ctrl, redraw)

Sets outline redraw
Returns: SalBoolean.
ListSetPicture(ctrl, index, picNormal, picSelected)

Changes the normal and selected images for the specified item.
Returns: SalBoolean.
ListSetScrollWidth(ctrl, index)

Sets the width by which a list box can be scrolled horizontally.
Returns: SalNumber.
ListSetStyle(ctrl, style, lParam)

Sets the LBS_* style of the specified control.
Returns: SalBoolean.
ListSetText(ctrl, index, text)

Changes the text of the list item at the specified index.
Returns: SalNumber.
ListSetValue(ctrl, index, value)

Changes the value of the list item at the specified index.
Returns: SalNumber.
ListShowOutline(ctrl, level)

Expands list items up to the specified level.
Returns: SalBoolean.
MenuCheck(ctrl, menu, pos)

Checks the menu.
Returns: SalBoolean.
MenuDelete(ctrl, menu, pos)

Removes the menu at the requested position.
Returns: SalBoolean.
MenuDisable(ctrl, menu, pos)

Disables the menu.
Returns: SalBoolean.
MenuEnable(ctrl, menu, pos)

Enables the menu.
Returns: SalBoolean.
MenuGetCount(ctrl, menu)

Returns the number of items in the specified menu.
Returns: SalNumber.
MenuGetHandle(ctrl)

Returns the handle of the main menu of the specified form.
Returns: SalNumber.
MenuGetPopupHandle(ctrl, menu, pos)

Retrieves the menu handle of a pop-up menu.
Returns: SalNumber.
MenuGetSystemHandle(ctrl)

Deprecated: Not supported.
Returns: SalNumber.
MenuGetText(ctrl, menu, pos)

Retrieves the text of a menu item.
Returns: SalString.
MenuInsert(ctrl, menu, pos, text, flags)

Inserts a menu item into a menu.
Returns: SalNumber.
MenuInsertFont(ctrl, menu, pos, fontHandle, text)

Inserts a menu item into a menu and displays it in the specified font.
Returns: SalNumber.
MenuInsertPicture(ctrl, menu, pos, picNormal, picSelected, text)

Inserts a menu item into a menu and displays the specified picture with it.
Returns: SalNumber.
MenuIsChecked(ctrl, menu, pos)

Returns true if the menu is checked.
Returns: SalBoolean.
MenuIsEnabled(ctrl, menu, pos)

Returns true if the menu is enabled.
Returns: SalBoolean.
MenuSetFont(ctrl, menu, pos, fontHandle, text)

Changes the font of a menu item created using the PPJ.
Returns: SalBoolean.
MenuSetPicture(ctrl, menu, pos, picNormal, picSelected, text)

Displays a picture in a menu item created using the PPJ runtime.
Returns: SalBoolean.
MenuSetText(ctrl, menu, pos, text)

Changes the text of a menu item.
Returns: SalBoolean.
MenuUncheck(ctrl, menu, pos)

Unchecks a menu item.
Returns: SalBoolean.
MessageBox(sMsgText, sCaption, hPicIcon, hBtnHandles, nNumButtons)

Displays a message box with user defined buttons.
Returns: SalNumber.
MessageBox(sMsgText, sCaption, hPicIcon, hBtnHandles, nNumButtons, nDefButtonIndex)

Displays a message box with user defined buttons.
Returns: SalNumber.
MessageFreeButton(button)

Frees the previously created MessageBox button.
Returns: SalBoolean.
MessageLoadButton(label, id)

Creates a button to be used in the MessageBox.
Returns: SalNumber.
MessageSetBkgdColor(color)

Sets the background color for the customized message box.
Returns: SalBoolean.
NumberBitClear(value, bitMask)

Returns: SalNumber.
NumberBitSet(value, bitMask)

Returns: SalNumber.
NumberChoose(expression, trueValue, falseValue)

Evaluates expression. If the expression evaluates to TRUE, the function returns the value stored in TrueValue if the expression evaluates to FALSE, the function returns the value stored in FalseValue. The expression may be a constant, an expression, or a variable.
Returns: SalNumber.
NumberHighByte(num)

Returns the HighByte of a number
Returns: SalNumber.
NumberLowByte(num)

Returns the LowByte of a number
Returns: SalNumber.
NumberMakeLong(lowWord, highWord)

Combines a LowWord and a HighWord to a Long
Returns: SalNumber.
PicFree(Pic)

Removes a picture and frees it's memory.
Returns: SalNumber.
PicLoad(flags, resource, imageName)

Loads a picture into memory from a resource DLL/EXE, image file (.BMP or .ICO), SalResource or string.
Returns: SalNumber.
PopulateCommonDir(ctrl, directory)

Adds all directories to a list box or combo box.
Returns: SalNumber. Number of items added to the ctrl .
PopulateDirTree(ctrl, directory)

Populates the tree control with the specified directories.
Returns: SalNumber. Number of items added to the ctrl .
PopulateDrives(ctrl)

Adds all available drives to a list box or combo box.
Returns: SalNumber.
PopulateFontNames(ctrl, fontType)

Populates the control with the names of all the fonts.
Returns: SalNumber.
ProfileDelete(fileName, section, entry)

Deletes an entire section or a specific key from the specified .ini file.
Returns: SalBoolean.
ProfileEnumStrings(fileName, section, strings)

Retrieves all the keys for the specified section of an initialization file.
Returns: SalNumber.
SendMsgString(hWnd, message, wParam, lParam)

Sends a message and passes a string in the lParam.
Returns: SalNumber.
SetCommonDir(ctrl, index)

Changes the current directory of a common dialog list box or combo box.
Returns: SalString.
StrChoose(expression, trueValue, falseValue)

sReturn VisStrChoose( expression, TrueValue, FalseValue )
Returns: SalString.
StrExpand(template, array)

Replaces the template placeholders with the values in the specified array .
Returns: SalString.
StrFind(table, key)

VisStrFind looks up a key in the string table identified by Handle and returns the value
Returns: SalString. Returns the value or an empty string if key was not found
StrFreeTable(table)

Frees string table
Returns: SalBoolean.
StrLeftTrim(source)

left trims a string
Returns: SalString.
StrLoadTable(fileName)

VisStrLoadTable loads the lines from a text file and returns a handle to it. Once a table is loaded, VisStrFindTable() can be used to access the values via key. The text file must contain lines following the syntax {key}value Example: {Error.User}User unknown {Error.Password}Incorrect password {Version}Version 1.4.7
Returns: SalNumber. Returns a handle to the string table for later use with VisStrFind and VisStrFreeTable
StrPad(source, size)

Pads a string
Returns: SalString.
StrProper(source)

Makes a proper string
Returns: SalString.
StrRightTrim(source)

Right trims a string
Returns: SalString.
StrScanReverse(source, position, search)

Scans for a string (reverse)
Returns: SalNumber.
StrSubstitute(source, search, replace)

Substitutes Search with Replace in string
Returns: SalString.
StrTrim(Source)

Trim a string
Returns: SalString.
TblAllRows(table, flagsOn, flagsOff)

Determines whether aY rows in the specified table window match certain flags.
Returns: SalBoolean.
TblAutoSizeColumn(table, column)

Performs a best fit on the display contents of a specific column.
Returns: SalBoolean.
TblClearColumnSelection(table)

Clears column selection
Returns: SalBoolean.
TblFindDateTime(table, row, column, date)

Finds a DateTime in the table control.
Returns: SalNumber.
TblFindNumber(table, row, column, number)

Finds a number in the table control.
Returns: SalNumber.
TblFindString(table, row, column, pattern)

Finds a string in the table control.
Returns: SalNumber.
TblGetCell(table, row, column)

Retrieves the contents of a cell in a table window.
Returns: SalString.
TblGetColumnTitle(column)

Retrieves the contents of a column heading.
Returns: SalString.
TblSetRowColor(table, row, color)

Sets the text color for an entire row of a table window.
Returns: SalBoolean.
TblSetRowPicture(table, rowFlags, picture)

Sets the picture for a bit flag of a table window.
Returns: SalBoolean.
WaitCursor(Flags)

Turns hourglass cursor on or off.
Returns: SalNumber.
WinClearAllEditFlags(parent)

Clears the field edit flags for each data field or multi-line text field of a parent window.
Returns: SalNumber.
WinClearAllFields(parent)

Clears all fields
Returns: SalNumber.
WinEnumProps(hWnd, propNames, propValues)

Enumerates windows properties
Returns: SalNumber.
WinFreeAccelerator(accelerator)

Removes the accelerator.
Returns: SalBoolean.
WinGetFlags(hWnd)

Gets windows flags
Returns: SalNumber.
WinGetHandle(ctrl, text, type)

Obtains the control of the requested type and text.
Returns: SalWindowHandle.
WinGetProp(hWnd, propName)

Gets a windows property by name
Returns: SalNumber.
WinGetStyle(hWnd)

Retrieves the Windows style bits for a specified window.
Returns: SalNumber.
WinGetText(ctrl)

Obtains the text of a window.
Returns: SalString.
WinIsChild(parent, Child)

Tests whether a specified window is a child or direct descendant of a parent window.
Returns: SalBoolean.
WinIsMaximized(hWnd)

Determines whether a window is maximized.
Returns: SalBoolean.
WinIsMinimized(hWnd)

Determines whether the specified window is minimized (iconic).
Returns: SalBoolean.
WinIsRequiredFieldNull(parent)

Returns the first required field that is empty.
Returns: SalWindowHandle.
WinIsRestored(hWnd)

Determines whether the specified window is in the normal state.
Returns: SalBoolean.
WinIsWindow(hWnd)

Determines whether the specified window handle identifies an existing window.
Returns: SalBoolean.
WinLoadAccelerator(target, message, keyState, keyCode, id)

Sets an accelerator keystroke for a window.
Returns: SalNumber.
WinMove(hWnd, left, top, width, height)

Moves and resizes a window, based on pixel coordinates.
Returns: SalBoolean.
WinRemoveProp(hWnd, propName)

Removes windows property
Returns: SalBoolean.
WinSetFlags(hWnd, winFlags, state)

Set windows flags
Returns: SalBoolean.
WinSetMeter(ctrl, percent)

Sets the position of the meter.
Returns: SalNumber.
WinSetProp(hWnd, propName, propValue)

Set windows property
Returns: SalBoolean.
WinSetStyle(hWnd, style, state)

Adds/Removes a window style to a window.
Returns: SalBoolean.
WinSetTabOrder(ctrl, ctrlAfter)

Changes the tab order of a control.
Returns: SalBoolean.
WinShow(ctrl, showCmd)

Show window
Returns: SalBoolean.
Last updated