Download Now

    Reference Codebot.Forms.Widget.pas

    Part of the Codebot Controls package

    The Codebot.Forms.Widget unit defines TWidget, which is a floating form drawn using a surface. The user can drag a widget to move it and resize it by its corners. A widget can keep its aspect ratio and can contain click boxes that report when they are clicked. To draw a widget, override its Render method.

    Items 34 items

    NameKindLine
    TClickBoxEventprocedural31
    TEdgeSizableset28
    TEdgeSizeenum26
    esNWenum value26
    esNEenum value26
    esSEenum value26
    esSWenum value26
    TWidgetclass36
    AfterRenderprocedure78
    BeforeRenderprocedure74
    Centerprocedure93
    ClickBoxprocedure80
    ClickBoxesprocedure91
    Createconstructor89
    GripColorfunction82
    Loadedprocedure68
    MouseDownprocedure69
    MouseMoveprocedure70
    MouseUpprocedure71
    Paintprocedure72
    Renderprocedure76
    Animatedproperty96
    AspectRatioproperty106
    Draggedproperty102
    EdgeSizableproperty98
    HotQuadproperty84
    MaxHeightproperty111
    MaxWidthproperty110
    MinHeightproperty109
    MinWidthproperty108
    OnClickBoxproperty86
    OnTickproperty113
    Sizedproperty104
    Surfaceproperty100