Posted on 2004-10-31
Last Modified: 2012-05-05
I have 1 form and 8 frame. i put all things on these frames. whene user click button i want to join  frame i want to my form on runtime.
How can i do this?
Question by:DEVRAN_ALTAN
    LVL 17

    Accepted Solution


    You have these frames on your form, right? Something like:

    TForm1 = class(TForm)
      Frame: TFrame1;

    And they are not visible. So, on a button click just enable them and set them to be visible:

    // perhaps hide other frames here
    // where to show the frame (at what coordinates on the form)
    Frame1.Top := 0;
    Frame1.Left := 20;
    // show the frame
    Frame1.Enabled := true;
    Frame1.Visible := true;

    Regards, Geo

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Anonabox PRO Tor & VPN Router

    PRO is the most advanced way to fortify your privacy and online anonymity by layering the Tor network with VPN services. Use both together or separately, and without needing to download software onto your devices.

    Suggested Solutions

    The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
    Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now