Products Downloads


French version


 

 

      

VADELIA

      

WADELIA

MADELIA

 

(I) (C/S)

 

(I) (C/S)

(I) (C/S)

 

Section for use

DECLARATION

 

Syntax

OBJECT_GROUP GroupName ListOfGraphicElements

 

ListOfGraphicElements

Þ

ListOfGraphicElements, GraphicElement

GraphicElement

Þ

Window

| Graphic control

| Menu

 

Description

Declares an object group, named GroupName, with which a list of graphic elements (windows, controls and menus) is associated. This instruction makes it possible to subsequently manipulate a particular property for all objects in the group using only one line of 4GL code. Naturally, the manipulated property must have been defined for each object in the group.

 

Notes:

The group must contain at least one element.

The group cannot contain the same element more than once, even if different syntax is used.

With Adelia Web programs, the VALUE property will be manipulated directly via the group name, without specifying :VALUE, like the VALUE property of a basic object.

It is not possible to manipulate the group's VALUE property if any of the objects in the group has an associated variable.

Object group properties can only be manipulated in write mode, via assignments. (This means, for example, that it is not possible to manipulate the LIST property).

 

Syntax required for window, control and menu names

Depending on the paragraph in which the OBJECT_GROUP is declared, it may not be necessary to specify the name of the window to which a control or menu belongs.

 

Object type

Syntax 1

Syntax 2

Window

WindowName

 

Control

WindowName.ControlName

ControlName

WindowMenu

 

WindowName[MenuId]

ControlMenu

WindowName.ControlName[MenuId]

ControlName[MenuId]

 

Example

OBJECT_GROUP   MyWindowGroup MYWINDOW1  MYWINDOW2  MYWINDOW3

MyWindowGroup:WIDTH = 444

MyWindowGroup:ACTIVE = *TRUE

 

OBJECT_GROUP  MyEntryFieldGroup_ALPHA  MYWIN.EF_ALPHA_1  MYWIN.EF_ALPHA_2     EF_ALPHA_3

MyEntryFieldGroup_ALPHA :VALUE = *BLANK

MyALPHA_EntryFieldGroup:Y_COORDINATE = 100

 

↑ Top of page

  • Aucune étiquette