Make non modal form modal

  • Thread starter Thread starter Franz Gsell
  • Start date Start date
F

Franz Gsell

Hi together,

I have got a "sliding" form which becomes active when a user clicks on
a button in another form. In my function which starts the "sliding"
mechanism is a call to this.Show() to make the sliding form visible
at first (an no ShowDialog(), because I have to do the sliding).
After that the form is "sliding" with a ticker
(just like a notification window in the taskbar which "slides" up).

Now when the "sliding" is finished I don't want to loose the focus
of that window. The user has first to make some action in the "sliding"
form (e.g. fill some textboxes, set some checkboxes and so on ...).

But when I click somewhere else the sliding form looses focus and gets
deactivated. How can I prevent this??

Cheers,
Franz
 
Hi,

I have a similiar problem and I am also interested in a solution. Has
anybody an idea how to solve this????

Best regards,
Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top