Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drawing controls on MDI forms & Forms always on top

Status
Not open for further replies.

VBdevil

Programmer
Sep 19, 2002
75
IL
Hi,

I have a VB project which consists of an MDI form and many Child forms. The child forms appear one after another. Some receive information from the user and some run certain tests. I need to be able to stop this process anytime, and I want to do this by pressing on a STOP button. I need this button to be visible and operable at all times (like an item on a menu). I have 2 ideas of how to do this:

1. Draw a Command Button control on the MDI form, that is always visible (let's say at the bottom right corner of the form) even while other child forms are active.

2.Draw the Command Button on a separate form and always keep this new form ON TOP of the MDI form (again - at the bottom right corner for example)

I tried to implement both ideas with no luck...
Can you help me?

Thanks...
 
You can't put a Command button directly on a MDI form, but you can place a picturebox on the MDI form, and then put your command button inside the picturebox.

Robert
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top