Consultor Eletrônico



Kbase 15254: Use of parameterize as variable in Smart Objects
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Use of parameterize as variable in Smart Objects

In the Property Sheet for SmartObjects, there is a toggle box for
the "Parameterize As Variable" option. When this option is toggled
on, it will allow you to defer specifying the object until runtime.
Parameterize as Variable means that, when the SmartObject is created
at run-time (in adm-create-objects), the file name of the object is
not hard coded to the file used in the UIB. Instead, the current
value of the variable specified is used.

For example:
If you set the Parameterize as Variable to "browse-filename", then
the value of this variable will be used. The UIB may be showing
'b-cust.w', but at run-time, the variable Browse-Filename would be
evaluated.

This allows you to have a standard maintenance screen that uses a
different browser (and viewer, perhaps) depending on what table is
being browsed

Or you might have a different browser based on user preferences.

NOTE: It is up to you to define this variable, either locally, in a
database, or as an input parameter.

References: UIB Developer's Guide, "Advanced ADM Topics".

Progress Software Technical Support Note # 15254