1. Hi!

    I am new to visible frames. As first "hello frame" i want to make a simple square shape visible white / recolorable frame on the screen into top left corner.

    I made empty (well, almost empty) .toc and .xml files for run a "myonloadhandler()" function after reload ui. After ingame /reload a message "Frametest loaded." is printed on general chat, so function runs. My problem is: frame dont want to become visible.

    Any tipp will be great, how to get it work. Thx

    function myonloadhandler()
    local my_frame= CreateFrame("Frame",nil,UIParent);
    my_frame:SetWidth(10);
    my_frame:SetHeight(10);
    my_frame:SetAlpha(1);
    my_frame:SetPoint("TOPLEFT",5,5);
    my_frame:SetBackdropColor(1,1,1,1);
    my_frame:Show();
    print("Frametest loaded.");
    return;
    end