Dialog_SetUser

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > Dialog Commands >

Dialog_SetUser

 

Description

 

Stores a value in the user data area of a dialog.

 

Syntax

 

nValue = DIALOG_SetUser(hwnd, lIdx, lValue)

 

Returns

 

Numeric

The previous value stored at lIdx position

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog

lIdx

Number

No

Position: from 1 to 4.

lValue

Number

No

The value to store.

 

Remarks

 

Programmer can store for each dialog up to 4 32bit numeric values. Those values can be used to store any needed data.

This function is the equivalent of DIALOG SET USER ... statement.

 

Restrictions

 

See also

 

Examples