The Vis type exposes the following members.
Methods
Name | Description | |
---|---|---|
ArrayAppend |
Appends one array to the end of another array.
| |
ArrayCopy |
Copies the source array to the target array.
| |
ArrayDeleteItem |
Deletes an item from an array.
| |
ArrayFillDateTime |
Fills a Date/Time array with the specified date/time value.
| |
ArrayFillNumber |
Fills a Date/Time array with the specified numeric value.
| |
ArrayFillString |
Fills a Date/Time array with the specified string value.
| |
ArrayFindDateTime |
Locates a date/time value within an array.
| |
ArrayFindNumber(SalArray<(Of <<'(SalBoolean>)>>), SalBoolean) |
Locates a numeric value within an array.
| |
ArrayFindNumber(SalArray<(Of <<'(SalNumber>)>>), SalNumber) |
Locates a numeric value within an array.
| |
ArrayFindString |
Locates a string value within an array.
| |
ArrayInsertItem |
nNumItems VisArrayInsertItem( hArray, nIndex, nDataType )
| |
ArraySort |
nNumItems VisArraySort( hArray, nSortOrder, nDataType )
| |
DebugAssert | Obsolete.
Not supported.
| |
DebugBeginTime | Obsolete.
Not supported.
| |
DebugEndTime | Obsolete.
Not supported.
| |
DebugGetFlags | Obsolete.
Not supported.
| |
DebugSetFlags | Obsolete.
Not supported.
| |
DebugSetLevel | Obsolete.
Not supported.
| |
DebugSetTime | Obsolete.
Not supported.
| |
DebugString | Obsolete.
Not supported.
| |
DosBuildFullName |
Composes a full path by combining the current directory and the specified file name.
| |
DosEnumDirInfo |
Returns information about the directories selected using the specified wildcard.
| |
DosEnumDirs |
Enumerates all the directories using the specified wildcard.
| |
DosEnumDrives |
Enumerates all the logical drives.
| |
DosEnumFileInfo |
Returns information for the files selected using the specified wildcard.
| |
DosEnumFiles |
Enumerates all the files using the specified wildcard.
| |
DosEnumNetConnections |
Enumerates all the network connections.
| |
DosEnumPath |
Enumerates all the paths in the PATH environment variable.
| |
DosExist |
Checks if the specified directory exists.
| |
DosGetCurDir |
Returns the current directory.
| |
DosGetDriveSize |
Returns the size of the specified drive.
| |
DosGetDriveType |
Returns the type of the specified drive.
| |
DosGetEnvString |
sEnvString VisDosGetEnvString (sKeyName)
| |
DosGetFlags | Obsolete.
nFlags VisDosGetFlags ()
| |
DosGetNetName |
Retrieves the name of the network resource associated with a local device.
| |
DosGetVersion |
bVersionNumber VisDosGetVersion( )
| |
DosGetVolumeLabel |
Returns the volume label of the specified drive.
| |
DosIsParent |
bOk VisDosIsParent (sDirSpec)
| |
DosMakeAllDir |
nErrCode VisDosMakeAllDir( sDir )
| |
DosMakePath |
sFileSpec VisDosMakePath (sDrive, sDir, sBase, sExt)
| |
DosNetConnect |
Makes a connection to a network resource.
| |
DosNetDisconnect |
nErrCode VisDosNetDisconnect( sDevice, bForce )
| |
DosSetFlags | Obsolete.
Not supported.
| |
DosSetVolumeLabel |
Sets the label of a file system volume.
| |
DosSplitPath |
Splits a full path specification into the drive letter, the directory name, and the file name.
| |
ErrorRecovery |
Displays an error message and allows user to
retry the operation or halt the application.
| |
FileAppend |
File functions
nErrCode VisFileAppend( sSourceFile, sTargetFile )
| |
FileClose |
nErrCode VisFileClose( hFile )
| |
FileCopy |
nErrCode VisFileCopy( sSourceFile, sTargetFile )
| |
FileCreateTemp |
sTempName VisDosGetTempFileName( sPrefix )
| |
FileDelete |
nNumDeleted VisFileDelete( sFileName )
| |
FileExpand | Obsolete.
Copies a compressed source file to a destination file.
| |
FileFind |
SalString VisFileFind (sFileName)
| |
FileGetAttribute |
nAttribute VisFileGetAttribute( sFileName )
| |
FileGetSize |
nFileSize VisFileGetSize( sFileName )
| |
FileGetType |
nFileType VisFileGetType( sFileName )
| |
FileOpen |
Creates or opens a file.
This function searches the following directories:
- Current directory
- Windows or Windows System directories
- Directory containing the currently running executable
- Directories in PATH environment variable
| |
FileRead |
Reads a block of data from a file.
| |
FileReadString |
Reads a text line from a text file into a string.
The text file must indicate the end of each line by carriage return/line feed (CR/LF) characters.
The CR/LF characters are removed from the string.
| |
FileRename |
Renames one or more files. Wildcard 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.
| |
FileSeek |
nErrCode VisFileSeek( hFile, nOffset, nOrigin )
| |
FileSetAttribute |
nErrCode VisFileSetAttribute( sFileName, nAttributes, bState )
| |
FileSetDateTime |
nErrCode VisFileSetDateTime( sFileName, dtDateTime )
| |
FileTell |
nOffset VisFileTell( hFile )
| |
FileWrite |
nErrCode VisFileWrite( hFile, sBuffer, nSize )
| |
FileWriteString |
nErrCode VisFileWriteString( hFile, sLine )
| |
FontEnum |
Enumerates all the installed fonts.
| |
FontFree |
Release the font handle.
| |
FontGet |
Returns the information for the specified font handle.
| |
FontLoad |
Loads the specified font.
| |
GetCommonDir |
Retrieves the current directory of a common dialog listbox or combobox.
| |
GetCopyright |
Retrieves a copyright string.
| |
GetKeyState |
Retrieves the state of a specified key.
| |
GetSystemMetrics |
Retrieves various system metrics (widths and heights of display elements)
and system configuration settings.
| |
GetVersion |
sVersion VisGetVersion( )
| |
GetWinFlags | Obsolete.
Not supported.
| |
GetWinVersion |
nVersion VisGetWinVersion( )
| |
ListAddColor |
Adds an item to the list and displays it in the specified color.
| |
ListAddColorValue |
Adds an item to the list, displays it in the specified color and associates the specified value with the item.
| |
ListAddFont |
Adds an item to the list control and displays it in the specified font.
| |
ListAddFontValue |
Adds an item to the list control, displays it in the specified font and associates
the specified value to the item.
| |
ListAddPicture |
Adds an item to the list control and specified an image for the
normal and selected state.
| |
ListAddPictureValue |
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.
| |
ListAddValue |
Adds an item to a sorted list box or combo box and associates
the specified value with the item.
| |
ListArrayPopulate |
Populates a list box from a string array.
| |
ListArrayPopulateValue |
Populates a list box from a string and a value array.
| |
ListClearSelection |
Unselects all selected items in a list box or combo box.
| |
ListCollapse |
Collapses all descendent items.
| |
ListDeleteChild |
Deletes the child item from the tree control.
| |
ListDeleteDescendents |
Deletes all descendants (children, grandchildren, and so on) of the specified child.
| |
ListDeleteSelected |
Deletes all selected items from a list box or combo box.
| |
ListDemote |
Moves an item and all descendants of the item right in the outline.
| |
ListDisableItem | ||
ListDragDrop | ||
ListEnableItem |
Enables the specified item and sets the specified color.
| |
ListEnumChildren |
Enumerates child item handles for a specified item.
| |
ListEnumDescendents |
Enumerates descendent (children, grandchildren, and so on) item handles for a specified item.
| |
ListExpand |
Expands an outline one level at the index specified.
| |
ListExpandDescendents |
Displays all descendants of an item.
| |
ListFindItemValue | ||
ListFindString |
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.
| |
ListFindValue |
Finds the first value that matches the specified value in a list box or combo box.
| |
ListFreeChild |
Frees memory for the item specified and for all its descendants.
| |
ListFreeDescendents |
Frees memory for all descendants of the item specified.
| |
ListGetColor |
Returns the current color of the list item.
| |
ListGetDropdownState |
Determines whether the list box portion of a combo box is visible.
| |
ListGetFlags |
Returns the ITEM_* flags for the specified list item.
| |
ListGetFocusIndex |
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.
| |
ListGetFont |
Returns the current font of the list control item.
| |
ListGetIndexFromPoint |
nIndex VisListGetIndexFromPoint( hWndList, nXPos, nYPos )
| |
ListGetItemColor |
Retrieves the color associated with an outline item.
| |
ListGetItemData |
Returns information about the specified item.
| |
ListGetItemFlags |
nItemFlags VisListGetItemFlags( hItem )
| |
ListGetItemFont |
Retrieves the font associated with an outline item.
| |
ListGetItemHandle | ||
ListGetItemIndex |
Returns the index of the specified outline item.
| |
ListGetItemPicture |
Returns the pictures for the outline item.
| |
ListGetItemText |
Returns the text for the outline item.
| |
ListGetItemValue |
Returns the value saved with the outline item.
| |
ListGetLevel |
Returns the level number for an outline item.
| |
ListGetNextSibling |
Retrieves the item handle for the next sibling of the specified item.
| |
ListGetParent |
Retrieves the item handle for the parent of the specified item.
| |
ListGetPicture |
Returns the pictures associated with the item.
| |
ListGetPrevSibling |
Retrieves the item handle for the previous sibling of the specified item.
| |
ListGetRoot |
Returns the handle for the root node.
| |
ListGetStyle |
Returns the LBS_* style for the specified control.
| |
ListGetText |
Returns the text of the list item.
| |
ListGetTextRectangle |
bOk VisListGetTextRectangle( hWndTable, nIndex, nTop, nLeft, nBottom, nRight )
| |
ListGetValue |
Returns the value associated to the list item.
| |
ListGetVisibleRange |
Retrieves the indexes of both the first visible item and the last visible item in a list box.
| |
ListInsertColor |
Inserts an item to the list control at the specified position and displays it in the specified color.
| |
ListInsertColorValue |
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.
| |
ListInsertFont |
Adds an item to a list control at the specified index and displays it in the specified font.
| |
ListInsertFontValue |
Adds an item to the list control, displays it in the specified font, and
associates the specified value with the item.
| |
ListInsertPicture |
Inserts an item at the specified postion and specifies an image for
the normal and selected state.
| |
ListInsertPictureValue |
Inserts an item at the specified postion and specifies an image for
the normal and selected state, and associates a value to the item.
| |
ListInsertValue |
Inserts an item into an unsorted list box or combo box and associates the specified value with the item.
| |
ListIsMultiSelect |
Returns true if the listbox is multiselect.
| |
ListLoadChild |
Inserts an item as the last child of the specified parent.
| |
ListLoadChildren |
hItem VisListLoadChildren( hWnd, hItemParent, hPicNormal, hPicSelect, sText[*], nValue[*], nItemFlags[*] )
| |
ListLoadOutline |
hItem VisListLoadOutline( hWnd, sBlob )
| |
ListLoadOutlineFile |
hItem VisListLoadOutlineFile( hWnd, sFileName, hPicParentNormal, hPicParentSelect, hPicChildNormal, hPicChildSelect )
| |
ListLoadSibling |
hItem VisListLoadSibling( hWnd, hItemBefore, hPicNormal, hPicSelect, sText, nValue, nItemFlags )
| |
ListMoveDown |
bOk VisListMoveDown( hWnd, nIndex )
| |
ListMoveUp |
bOk VisListMoveUp( hWnd, nIndex )
| |
ListPromote |
bOk VisListPromote( hWnd, nIndex, hpicNormal, hpicSelect )
| |
ListSaveOutline |
nErrCode VisListSaveOutline( hWnd, sBlob )
| |
ListScroll |
Scrolls an item into view.
| |
ListSetColor |
Sets the color of a list item.
| |
ListSetDropdownState |
Shows or hides the list box portion of a combo box.
| |
ListSetFlags |
Sets the ITEM_* flags for the specified list item.
| |
ListSetFocusIndex |
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.
| |
ListSetFont |
Sets the font of the list control item.
| |
ListSetIndent |
bOk VisListSetIndent( hWnd, nIndent )
| |
ListSetItemColor |
Sets the color of the outline item.
| |
ListSetItemData |
Updates the specified item.
| |
ListSetItemFlags |
bOk VisListSetItemFlags( hItem, nItemFlags, bState )
| |
ListSetItemFont |
Sets the font of the outline item.
| |
ListSetItemPicture |
Sets the picture of a list item
| |
ListSetItemText |
Sets the text of the outline item.
| |
ListSetItemValue |
Sets the value associated to the outline item.
| |
ListSetOutlineRedraw |
bOk VisListSetOutlineRedraw
| |
ListSetPicture |
Changes the normal and selected images for the specified item.
| |
ListSetScrollWidth |
Sets the width by which a list box can be scrolled horizontally.
| |
ListSetStyle |
Sets the LBS_* style of the specified control.
| |
ListSetText |
Changes the text of the list item at the specified index.
| |
ListSetValue |
Changes the value of the list item at the specified index.
| |
ListShowOutline |
Expands list items up to the specified level.
| |
MenuCheck |
Checks the menu.
| |
MenuDelete |
Removes the menu at the requested position.
| |
MenuDisable |
Disables the menu.
| |
MenuEnable |
Enables the menu.
| |
MenuGetCount |
Returns the number of items in the specified menu.
| |
MenuGetHandle |
Returns the handle of the main menu of the specified form.
| |
MenuGetPopupHandle |
Retrieves the menu handle of a pop-up menu.
| |
MenuGetSystemHandle | Obsolete.
Not supported.
| |
MenuGetText |
Retrieves the text of a menu item.
| |
MenuInsert |
Inserts a menu item into a menu.
| |
MenuInsertFont |
Inserts a menu item into a menu and displays it in the specified font.
| |
MenuInsertPicture |
Inserts a menu item into a menu and displays the specified picture with it.
| |
MenuIsChecked |
Returns true if the menu is checked.
| |
MenuIsEnabled |
Returns true if the menu is enabled.
| |
MenuSetFont |
Changes the font of a menu item created using the PPJ.
| |
MenuSetPicture |
Displays a picture in a menu item created using the PPJ runtime.
| |
MenuSetText |
Changes the text of a menu item.
| |
MenuUncheck |
Unchecks a menu item.
| |
MessageBox |
Displays a message box with user defined buttons.
| |
MessageFreeButton |
Frees the previously created MessageBox button.
| |
MessageLoadButton |
Creates a button to be used in the MessageBox.
| |
MessageSetBkgdColor |
Sets the background color for the customized message box.
| |
NumberBitClear |
nResult VisNumberBitClear( nValue, nBitMask )
| |
NumberBitSet |
nResult VisNumberBitSet( nValue, nBitMask )
| |
NumberChoose |
nReturn VisNumberChoose( bExpression, nTrue, nFalse )
| |
NumberHighByte |
nHighByte VisNumberHighByte( nNumber )
| |
NumberLowByte |
nLowByte VisNumberLowByte( nNumber )
| |
NumberMakeLong |
nLong VisNumberMakeLong( nLowWord, nHighWord )
| |
PicFree |
Removes a picture and frees it's memory.
| |
PicLoad |
Loads a picture into memory from a resource DLL/EXE,
image file (.BMP or .ICO), SalResource or string.
| |
PopulateCommonDir |
Adds all directories to a listbox or combobox.
| |
PopulateDirTree |
Populates the tree control with the specified directories.
| |
PopulateDrives |
Adds all available drives to a listbox or combobox.
| |
PopulateFontNames |
Populates the control with the names of all the fonts.
| |
ProfileDelete |
Deletes an entire section or a specific key from the specified ini file.
| |
ProfileEnumStrings |
Retrieves all the keys for the specified section of an initialization file.
| |
SendMsgString |
Sends a message and passes a string in the lParam.
| |
SetCommonDir |
Changes the current directory of a common dialog listbox or combobox.
| |
StrChoose |
sReturn VisStrChoose( bExpression, sTrue, sFalse )
| |
StrExpand |
sReturn VisStrExpand( sTemplate, hArray )
| |
StrFind |
VisStrFind looks up a Key in the string table identified by Handle and returns the value
| |
StrFreeTable |
bOk VisStrFreeTable( hTable )
| |
StrLeftTrim |
sReturn VisStrLeftTrim( sSource )
| |
StrLoadTable | ||
StrPad |
sReturn VisStrPad( sSource, nSize )
| |
StrProper |
sReturn VisStrProper( sSource )
| |
StrRightTrim |
sReturn VisStrRightTrim( sSource )
| |
StrScanReverse |
nPos VisStrScanReverse( sSource, nPos, sSearch )
| |
StrSubstitute |
sReturn VisStrSubstitute( sSource, sSearch, sReplace )
| |
StrTrim |
sReturn VisStrTrim( sSource )
| |
TblAllRows |
Determines whether any rows in the specified table window match certain flags.
| |
TblAutoSizeColumn(Control, Control) |
Performs a best fit on the display contents of a specific column.
| |
TblAutoSizeColumn(Control, Control, Int32) | ||
TblClearColumnSelection | ||
TblFindDateTime |
Finds a DateTime in the table control.
| |
TblFindNumber |
Finds a number in the table control.
| |
TblFindString |
Finds a string in the table control.
| |
TblGetCell |
Retrieves the contents of a cell in a table window.
| |
TblGetColumnTitle |
Retrieves the contents of a column heading.
| |
TblSetRowColor |
Sets the text color for an entire row of a table window.
| |
TblSetRowPicture |
Sets the picture for a bit flag of a table window.
| |
WaitCursor |
Turns hourglass cursor on or off.
| |
WinClearAllEditFlags |
Clears the field edit flags for each data field or multi-line text field of a parent window.
| |
WinClearAllFields |
nNumCleared VisWinClearAllFields( hWndParent )
| |
WinEnumProps | ||
WinFreeAccelerator |
Removes the accelerator.
| |
WinGetFlags |
nWinFlags VisWinGetFlags( hWnd )
| |
WinGetHandle |
Obtains the control of the requested type and text.
| |
WinGetProp | ||
WinGetStyle |
Retrieves the Windows style bits for a specified window.
| |
WinGetText |
Obtains the text of a window.
| |
WinIsChild |
Tests whether a specified window is a child or direct descendant of a parent window.
| |
WinIsMaximized |
Determines whether a window is maximized.
| |
WinIsMinimized |
Determines whether the specified window is minimized (iconic).
| |
WinIsRequiredFieldNull |
Returns the first required field that is empty.
| |
WinIsRestored |
Determines whether the specified window is in the normal state.
| |
WinIsWindow |
Determines whether the specified window handle identifies an existing window.
| |
WinLoadAccelerator |
Sets an accelerator keystroke for a window.
| |
WinMove |
Moves and resizes a window, based on pixel coordinates.
| |
WinRemoveProp | ||
WinSetFlags |
bOk VisWinSetFlags( hWnd, nWinFlags, bState )
| |
WinSetMeter |
Sets the position of the meter.
| |
WinSetProp | ||
WinSetStyle |
Adds/Removes a window style to a window.
| |
WinSetTabOrder |
Changes the tab order of a control.
| |
WinShow |
bOk VisWinShow( hWnd, nShowCmd )
|