SetValue Method

Assigns a value to a global Newlook variable or a Newlook object property.

Client support

   Newlook Smartclient

   Newlook Server

Syntax

object.SetValue(name, value)

Where object is an object expression that evaluates to one of the items in the Applies To list below.

The SetValue method syntax has these parameters:

Part

Description

name

String. String expression that specifies the name of the Newlook variable which is to be assigned. If a name is specified, but a variable by that name does not already exist, Newlook will automatically create an instance of the variable.

value

Variant. Expression that specifies the value which will be calculated and assigned to the variable. Value may be any combination of literal, constant and function calls, which comprise a valid expression.

Returns

No returns.

Use

This method is useful when you want to assign a value to a variable for reuse within your Newlook solution or for debugging in Inspector.

Applies To

App object

Smartframe Newlook Control

Embedded Newlook Control

See Also

GetValue method


© 2004-2021 looksoftware. All rights reserved.