Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Quick (Stoopid) Question

  • 29-05-2007 11:31am
    #1
    Registered Users, Registered Users 2 Posts: 12,393 ✭✭✭✭


    Hey, i'm having a really stoopid day today, can't think of the name of something. What i have is a form, i want to create a new one, that does not show up in the task bar and which you must use and finish with before returning to the original form...


    I think it might be something like a modal frame thing, tried that but didn't 100% work - it took over control from the first window, but it still showed up in the task bar. (I'm using C# by the way)


Comments

  • Registered Users, Registered Users 2 Posts: 68,317 ✭✭✭✭seamus


    I would have thought "modal dialog" is the phrase you're looking for?


  • Registered Users, Registered Users 2 Posts: 11,990 ✭✭✭✭Giblet


    Definatley modal.


  • Registered Users, Registered Users 2 Posts: 12,393 ✭✭✭✭dulpit


    ok, using C# what i do when a certain button is clicked:

         MyForm theForm = new MyForm();
         theForm.ShowDialog();
    

    And it works as a modal type thing (as in i can't get at the original form until the new form is closed) but it still shows up in the task bar... Is there a way to get rid of this?


  • Registered Users, Registered Users 2 Posts: 15,443 ✭✭✭✭bonkey


    dulpit wrote:
    but it still showed up in the task bar. (I'm using C# by the way)

    Forms in C# have a ShowInTaskBar property.


  • Registered Users, Registered Users 2 Posts: 12,393 ✭✭✭✭dulpit


    bonkey wrote:
    Forms in C# have a ShowInTaskBar property.


    That's exactly what i was looking for, nice one man.... :):):)


  • Advertisement
Advertisement