|
|
|
|
- Initializing a List Box control with the OLE servers
- Miscellaneous
OLEServer (Function) In french: OLEServeur Lists the OLE servers registered toward the current system.
// Initialize the List Box control with the available OLE servers ListAdd(LIST_OLESERV, OLEServer()) // Retrieve the server to start Choice is string Sub is int = ListSelect(LIST_OLESERV) Choice = LIST_OLESERV[Sub] + TAB Choice = ExtractString(Choice, 2) OLECreateEmpty(OLE_OLE1, Choice)
Syntax <Result>: Character string - List of the OLE servers presented in the following format:
<Description 1> + TAB + <Name of Server 1> + <CR>+ ... + CR + <Description N> + TAB + <Name of Server N>
Then, the name of the server can be used in OLECreateEmpty. Remark: the list of servers may contains empty strings (to delete if necessary). - Empty string ("") if an error occurred.
Remarks Initializing a List Box control with the OLE servers To fill a List Box (or a Combo Box control) with the list of OLE servers, use ListAdd. The following syntax must be used:
ListAdd(<Name of List Box control>,OLEServer())
Only OLE version 1 is supported.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|