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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to draw on MainMenu 1

Status
Not open for further replies.

TimSNL

Programmer
Sep 11, 2001
119
AU
Hello

I would like to draw some text on right side of the main menu bar at the top of my form. A bit like IE puts the Micro$oft flag up there in the top right corner.

Does anyone know how to draw there?

Thanks for your help.
Tim

The maggotts always win.
 
HI.
Create a TPanel, Alilgn it to the top.
Then, create a new TPanel in the first TPanel, and align it Right
Then create A TToolbar in the TPanel, and align it Client.
Add a TToolbar, align this one to Client.

Add a TMenu (Remove it from the MainForm's MEnu property).
Bind the TToolbar's MEnu property to the menu...

U're done!

//Nordlund
 
Thankyou so much Nordlund :)
I have wanted to know how to do this for ages!
Nice answer.

The maggotts always win.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top