Показать сообщение отдельно
Старый 27.06.2002, 12:50   #2  
Wamr is offline
Wamr
----------------
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
 
1,737 / 858 (32) +++++++
Регистрация: 15.01.2002
Адрес: Москва
Записей в блоге: 7
Смотри AOT\System Documentation\Classes\Args
Цитата:
Class: Args extends Object
Run on: Called
Methods
finalize new

Properties
caller dataset designName
name object parm
parmEnum parmEnumType parmObject
record wflClient

Description
The Args class is used to pass arguments to a class-constructor. Args can pass information such as name, caller and parameters to a new class.

Forms, Reports and Queries all use the Args class as their first argument in the constructor. The preferred way to use Args is to Construct an Args object, supplying a name-string (see example), and then pass this Args object to the forms constructor or a Classfactory method.

If you need to refer to the Args object passed to one of these classes, it can be reached using the Args() method.

Remarks
There are four methods that can be used to pass extra information to the new class: Parm - for passing strings, ParmEnum and ParmEnumType for passing Enums, and parmObject for passing an object of any type.

Example
{
Args a = new Args("CustTable");
formRun fr = ClassFactory.FormRunClass(a);
fr.init();
fr.run();
}
See Also
FormRun ,ReportRun , QueryRun