Add New Tab To Programmer’s Workbench

Add new tab to Compiler Directives.

Add BoxSizer followed by wxListBox to newly created tab.

Issue command to create the assiciated text.

Modify the InitialLoad method to include the newly created  assocaited text.

[codesyntax lang=”cpp”]

void psdUTilFrame::initalLoad()
{
    lbxParts->Clear();
    lbxSource->Clear();
    lbxDest->Clear();
    lbxifcon->Clear();
    Notebook2->SetSelection(0);
    UpdatePartitions();
    cmd = "echo " + rPwd + " | sudo -S mount " + mount1 + " /mnt";
    fileToLB("/home/archman/clt/gcc_help.txt", lbxGcc);
    fileToLB("/home/archman/clt/cob_help.txt", lbxCob);

    fileToLB("/home/archman/clt/spyder_help.txt", lbxSpyder);
    fileToLB("/home/archman/clt/ifconfig_help.txt", lbxifcon);
    fileToLB("/home/archman/clt/clang.txt", lbxClang);

}

[/codesyntax]

This completes the process to add a new tab to the Programmer’s Work Bench.

Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.

Leave a Reply

Your email address will not be published. Required fields are marked *