Download Now

    Reference Codebot.Controls.pas

    Part of the Codebot Controls package

    The Codebot.Controls unit defines many of the base classes for the controls in the package it is contained within. TSurfaceGraphicControl is a windowless control for drawing advanced graphics using the ISurface interface, while TSurfaceCustomControl provides much of the same functionality for custom windowed controls. TSurfaceForm also provides users with a base form class that can be extended and that includes an advanced drawing surface.

    The unit also defines TNotifyCollection, which is a persistent collection that reports changes to its items. Other useful items include TEdgeOffset, which helps manage the padding or margin of a control, and ArrangeControls, which lays out controls when they are inside a container.

    Items 85 items

    NameKindLine
    ArrangeControlsprocedure282
    IItemNotifyDelegatealias36
    IItemUpdateDelegatealias28
    TEdgeenum105
    edLeftenum value105
    edTopenum value105
    edRightenum value105
    edBottomenum value105
    TEdgeOffsetclass79
    Assignprocedure91
    Bottomproperty100
    Leftproperty94
    Rightproperty98
    Topproperty96
    TEdgesset109
    TItemNotifyDelegatealias34
    TItemNotifyEventprocedural32
    TItemUpdateDelegatealias26
    TItemUpdateEventprocedural24
    TNotifyCollectionclass42
    Addfunction64
    Assignprocedure62
    Createconstructor59
    Destroydestructor60
    GetOwnerfunction52
    Notifyprocedure54
    Updateprocedure56
    Itemsproperty68
    OnItemNotifyproperty70
    OnItemUpdateproperty72
    Ownerproperty66
    TSurfaceCustomControlclass203
    FDrawStatefield213
    Createconstructor234
    Destroydestructor235
    Drawprocedure223
    Paintprocedure221
    PropChangeprocedure215
    ThemeAwarefunction217
    ThemeChangedprocedure219
    DrawStateproperty227
    OnDrawproperty231
    Surfaceproperty225
    ThemeNameproperty229
    TSurfaceFormclass243
    FDrawStatefield253
    CreateNewconstructor270
    Destroydestructor271
    Drawprocedure263
    Paintprocedure261
    PaintWindowprocedure259
    ThemeAwarefunction255
    ThemeChangedprocedure257
    DrawStateproperty267
    OnRenderproperty274
    Surfaceproperty265
    ThemeNameproperty276
    TSurfaceGraphicControlclass129
    FDrawStatefield146
    AreaClickprocedure149
    Createconstructor194
    Destroydestructor195
    Drawprocedure181
    EnabledChangedprocedure173
    ExcludeStateItemprocedure166
    GetAreaCountfunction151
    GetAreaRectfunction153
    GetAreaStatefunction155
    GetControlClassDefaultSizefunction171
    IncludeStateItemprocedure164
    MouseDownprocedure156
    MouseEnterprocedure161
    MouseLeaveprocedure162
    MouseMoveprocedure160
    MouseUpprocedure158
    Paintprocedure179
    PropChangeprocedure168
    SetParentprocedure169
    ThemeAwarefunction175
    ThemeChangedprocedure177
    DrawStateproperty185
    MousePointproperty191
    OnDrawproperty189
    Surfaceproperty183
    ThemeNameproperty187