L3DT users' wiki
Large 3D terrain generator

EditUI

Description

Open a user interface to edit the value of a variable.

Function prototype

bool EditUI <hvar:hVar> <string:Prompt>

Arguments

Name Type Comment
hVar hvar A handle to the variable to be edited.
Prompt string A string containing a prompt for the user (usually the window title).

Return value

The return value is true if the user presses OK in the editor dialog box, and false otherwise.

Example

string s
set s "This is a test"
EditUI &s "Edit this string"

… the output of which is the dialog box below:

The 'EditUI' window.

Comments

None.

 
plugins/general/zeoscript/reference/functions/editui.txt · Last modified: 2017/08/31 04:50 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki