Navigation: thinBasic Modules > UI (User Interface) > DIALOGSs > 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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |