[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Active Form and Floating Forms Management

Posted on 2006-05-11
Medium Priority
Last Modified: 2013-12-03
I have created a client project in C# with .NET 2.0.  My project has two main "Canvass" forms A and B with several floating palette forms.  I want the palettes to stay over the active canvass form, even when the user moves the palettes.  Right now the tool palettes appear over which ever canvass form has focus A or B, but when the tool palettes are moved then form A always regains the focus, which is not what I want.  I want the user to be able to move the palettes and not have the currently active canvas form lose focus.  What do I need to do?
Question by:tsmolskow
  • 2
  • 2
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 16659948
Are you using an MDI interface or are these all seperate forms in the same EXE?

Author Comment

ID: 16661457
All seperate forms in the same EXE

Author Comment

ID: 16667472
I figured it out, when I would instantiate the forms I was using the following code:

         FloatingBar floatBar = new FloatingBar();

I changed it to:

            FloatingBar floatBar = new FloatingBar();

And it works fine.

So now my question is - do I get 500 points for answering my own question? 8)
LVL 86

Accepted Solution

Mike Tomlinson earned 2000 total points
ID: 16667576
Yes you do.

Post a request here for a PAQ/Refund:

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

873 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