UIEvolutin Inc.
UJML Language Reference
_x_setBagString()

The _x_setBagString() function stores a string value into a property bag.

UJML Script Syntax
void _x_setBagString(string bagName, int key, string value)
Parameters 
Description 
bagName 
The name of a loaded property bag. See _x_loadBag() function
key 
An int expression or value representing the key of the item. 
value 
A string expression or value to store in the bag. 

This function has no return value.

This function stores a string value with the referenced key into the named property bag. See Property Bag Functions.

The following example shows how to set values into a property bag. It is part of the visualelements.ujml sample.

_x_setBagString("&BAG_NAME;", &BAG_LABEL_TEXT;, mSingleLineText);
_x_setBagString("&BAG_NAME;", &BAG_MULTI_LABEL_TEXT;, mMultiLineText);
Copyright (c) 2000-2007 UIEvolution, Inc. All rights reserved.
What do you think about this topic? Send feedback!