LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lpw.EditString - Display an edit character string dialog box

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax

new_string = lpw.EditString(old_string, caption);

Description

Display a dialog box with an input text box.

The wizard library should be loaded first

lib,init=lp.LoadLibrary(lp.GetPath().."/lua_lp_wizard.dll","libinit");

Parameters

old_string - The string to display in the input field (character string between quotes or variable)

caption - The text that describes what type of text to enter (character string between quotes or variable)

Return Values

new_string - The input character string

Example




www.loriotpro.com