extractControlIdsCSVforSchema

extractControlIdsCSVforSchema(file: File) updating;

The extractControlIdsCSVforSchema method of the Schema class writes a comma-separated value (CSV) entry containing the generated Windows control id for each JADE control into the file specified by the file parameter.

The control ids are used by testing tools to identify required elements on a form. The id for a control on a form created in the JADE Painter is retained for the lifetime of the form (unless the control is deleted and re-added using the JADE Painter).

There is an entry for each control on every form in the schema (the receiver) but not in its subschemas, in the following format.

schema_name, form_name, control_name, control_id

The following example shows the use of the extractControlIdsCSVforSchema method.

vars
    file : File;
begin
    create file;
    file.fileName := "C:\controlIds.csv";
    rootSchema.extractControlIdsCSVforSchema(file);
epilog
    delete file;
end;