': This form was generated by
': InForm - GUI library for QB64 - v1.2
': Fellippe Heitor, 2016-2020 - fellippe@qb64.org - @fellippeheitor
': https://github.com/FellippeHeitor/InForm
'-----------------------------------------------------------
SUB __UI_LoadForm

    DIM __UI_NewID AS LONG, __UI_RegisterResult AS LONG

    __UI_NewID = __UI_NewControl(__UI_Type_Form, "ToDoList", 400, 580, 0, 0, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "To Do List"
    Control(__UI_NewID).Font = SetFont("segoeui.ttf", 12)

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "ExitBT", 80, 23, 310, 547, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Exit"
    Control(__UI_NewID).CanHaveFocus = True

    __UI_NewID = __UI_NewControl(__UI_Type_ListBox, "ToDoListBX", 280, 425, 10, 60, 0)
    __UI_RegisterResult = 0
    Control(__UI_NewID).Font = SetFont("segoeui.ttf", 16)
    Control(__UI_NewID).HasBorder = True
    Control(__UI_NewID).Align = __UI_Center
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).BorderSize = 1

    __UI_NewID = __UI_NewControl(__UI_Type_Label, "TasksLB", 150, 23, 75, 18, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Tasks"
    Control(__UI_NewID).Align = __UI_Center
    Control(__UI_NewID).VAlign = __UI_Middle

    __UI_NewID = __UI_NewControl(__UI_Type_DropdownList, "DayDX", 80, 23, 10, 620, 0)
    __UI_RegisterResult = 0
    Control(__UI_NewID).HasBorder = True
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).BorderSize = 1

    __UI_NewID = __UI_NewControl(__UI_Type_DropdownList, "MonthDX", 80, 23, 110, 620, 0)
    __UI_RegisterResult = 0
    Control(__UI_NewID).HasBorder = True
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).BorderSize = 1

    __UI_NewID = __UI_NewControl(__UI_Type_DropdownList, "YearDX", 80, 23, 210, 620, 0)
    __UI_RegisterResult = 0
    Control(__UI_NewID).HasBorder = True
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).BorderSize = 1

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "DeleteBT", 80, 23, 310, 517, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Delete"
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).Disabled = True

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "MoveDownBT", 80, 23, 310, 487, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Move Down"
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).Disabled = True

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "MoveUpBT", 80, 23, 310, 457, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Move Up"
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).Disabled = True

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "LowestBT", 80, 23, 310, 427, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Lowest"
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).Disabled = True

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "HighestBT", 80, 23, 310, 397, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Highest"
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).Disabled = True

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "ChooseDateBT", 80, 23, 310, 367, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Choose Date"
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).Disabled = True

    __UI_NewID = __UI_NewControl(__UI_Type_Button, "AddTaskBT", 80, 23, 310, 337, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Add Task"
    Control(__UI_NewID).CanHaveFocus = True

    __UI_NewID = __UI_NewControl(__UI_Type_TextBox, "NewTaskTB", 280, 28, 10, 534, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "New Task"
    Control(__UI_NewID).Font = SetFont("segoeui.ttf", 16)
    Control(__UI_NewID).HasBorder = True
    Control(__UI_NewID).CanHaveFocus = True
    Control(__UI_NewID).Disabled = True
    Control(__UI_NewID).BorderSize = 1

    __UI_NewID = __UI_NewControl(__UI_Type_Label, "DayLB", 80, 23, 10, 506, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Day"
    Control(__UI_NewID).Align = __UI_Center
    Control(__UI_NewID).VAlign = __UI_Middle
    Control(__UI_NewID).Hidden = True

    __UI_NewID = __UI_NewControl(__UI_Type_Label, "MonthLB", 80, 23, 110, 506, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Month"
    Control(__UI_NewID).Align = __UI_Center
    Control(__UI_NewID).VAlign = __UI_Middle
    Control(__UI_NewID).Hidden = True

    __UI_NewID = __UI_NewControl(__UI_Type_Label, "YearLB", 80, 23, 210, 506, 0)
    __UI_RegisterResult = 0
    SetCaption __UI_NewID, "Year"
    Control(__UI_NewID).Align = __UI_Center
    Control(__UI_NewID).VAlign = __UI_Middle
    Control(__UI_NewID).Hidden = True

END SUB

SUB __UI_AssignIDs
    ToDoList = __UI_GetID("ToDoList")
    ExitBT = __UI_GetID("ExitBT")
    ToDoListBX = __UI_GetID("ToDoListBX")
    TasksLB = __UI_GetID("TasksLB")
    DayDX = __UI_GetID("DayDX")
    MonthDX = __UI_GetID("MonthDX")
    YearDX = __UI_GetID("YearDX")
    DeleteBT = __UI_GetID("DeleteBT")
    MoveDownBT = __UI_GetID("MoveDownBT")
    MoveUpBT = __UI_GetID("MoveUpBT")
    LowestBT = __UI_GetID("LowestBT")
    HighestBT = __UI_GetID("HighestBT")
    ChooseDateBT = __UI_GetID("ChooseDateBT")
    AddTaskBT = __UI_GetID("AddTaskBT")
    NewTaskTB = __UI_GetID("NewTaskTB")
    DayLB = __UI_GetID("DayLB")
    MonthLB = __UI_GetID("MonthLB")
    YearLB = __UI_GetID("YearLB")
END SUB
