Skip to content

Class: dbRadioContainer

Properties | Events | Methods | Index of Classes

Provides all of the functionality of a dbRadioGroup within an invisible container

Hierarchy

cObject > cUIObject > DfBaseObject > DfBaseWindow > DfBaseUIWindow > DfBaseContainer > DfBaseGroup > Group > RadioGroup > dbRadioGroupDS > dbRadioGroup > dbRadioContainer

Show full hierarchy and direct subclasses

Library: Windows Application Class Library

Package: DFEnRad.pkg

Mixins: NonVisual_Container_Mixin

Description

dbRadioContainer is used to provide all of the functionality of a dbRadioGroup within an invisible container. This is used to create more-complicated visual interfaces where non-radio objects appear to be mixed with radio objects.

Sample

Object Status is a dbRadioContainer
    Entry_Item Customer.Status

    Object r1 is a Radio
        Set Location to 10 10 // label provided by DD
    End_Object

    Object r2 is a Radio
        Set Location to 25 10
    End_Object

    Object r3 is a Radio
        Set Location to 40 10
    End_Object

End_Object

Syntax

// when used with a DataDictionary
Object oObjectName is a dbRadioContainer
    Entry_Item table.column

    Object oRadioName is a Radio
        Set Location to vertical horizontal
    End_Object

    Object oRadioName is a Radio
        Set Location to vertical horizontal
    End_Object

End_Object

Of Special Note

The dbRadioContainer class is a subclass of the dbRadioGroup class and inherits all of its attributes. Since this is a non-visual grouping class, all visual properties (size, location, label, etc.) are effectively cancelled. Because the object is non-visual, the child radio objects will be located relative to this object's parent container.

This class is used when you need to appear to mix radio and non-radio objects within the same group. This is not permitted with radio-group objects, which may only contain radio objects. This can be simulated by placing the dbRadioContainer and the other non-radio objects within a non-radio container like a dbGroup.

This class will rarely be needed. You are encouraged to use the visual dbRadioGroup whenever possible.