|
-
Oct 17th, 2001, 08:31 AM
#1
Thread Starter
Hyperactive Member
Graphical Toolbars in MDI Forms
Hi, Taking AOL as an example, how do they have that cool graphical Toolbar at the top of there MDI Form, and also how do they have a text box etc.
For those of u who dont use aol, attached is a screenshot of what i mean.
Thanks for any help.
(Image has lsot some of its colour as i had to change it to gif!)
-
Oct 17th, 2001, 08:44 AM
#2
Frenzied Member
Just put everything in picture box and if you want the graphics that change on rollover search this forum for 'on mouse out'.
Please don't call anything AOL cool, i really don't like it as I've had it for 5 years.
-
Oct 17th, 2001, 08:47 AM
#3
Thread Starter
Hyperactive Member
well ive had it for 5/6 years also, and the UK version of its great (And ive had no problems with it).
Anyway, i mean, i dont want to load it as an image. AS i assume u know:
U cant put labels, or anything onto an MDI Form (I dont think anyway).
I tried using another form and resizing it automatically so it looked like a toolbar, but it didn't work correctly.
Basically i need the same idea as AOL's toolbar, but in my app.
Thanks again
-
Oct 17th, 2001, 09:00 AM
#4
Frenzied Member
Yes i realize you dont want one big image you still put everything in a picture box, it's a container. The only controls you can put directly on mdi forms are one's with an align property like toolbar and picture box. Trust me, try putting a picutre box on the mdi form and then you can put more things inside of if. if you don't want the inset border set its borderstyle to 0.
-
Oct 17th, 2001, 09:04 AM
#5
Hyperactive Member
LOL. yeah. AOL is awful. It's so easy, no wonder stupid people buy it.
-
Oct 17th, 2001, 09:28 AM
#6
Thread Starter
Hyperactive Member
ok, now i get u, thanks
And IM NOT STUPID. I use it because for £15 a month I get 24 hours 7 days a week access without paying a telephone bill. which for us in the UK is very rare!
-
Oct 17th, 2001, 09:32 AM
#7
Hyperactive Member
I knew someone would get offended. Ha ha ha.
I've got a cable modem at home, that runs circles around AOL's infrastructure. But I guess if you say AOL has a monolopy on you then there's nothing you can do.
-
Oct 17th, 2001, 09:35 AM
#8
Thread Starter
Hyperactive Member
Yep, it basically has, plus to get cable modem here, costs £150 a year, plus u need to pay £100 installation for them to dig up your garden / drill a hole through your wall 
And im only 16, which kinda leaves me screwed.
(And by the way: Yes I would switch to cable instantly, but AOL isn't that bad )
-
Oct 17th, 2001, 09:35 AM
#9
Hyperactive Member
Aren't you using the Euro?
-
Oct 17th, 2001, 09:37 AM
#10
Thread Starter
Hyperactive Member
nope the UK doesn't participate in the single european currancy, as its crap and aint metric!!
By the way: How do i change the back ground colour of a command button, when the mouse goes over it? (Not click)
-
Oct 17th, 2001, 09:38 AM
#11
Hyperactive Member
What's the coversion?
Cause I only pay about $40 USD for mine monthly. I got it on a promotional offer with $0 setup fee.
-
Oct 17th, 2001, 09:40 AM
#12
Thread Starter
Hyperactive Member
-
Oct 17th, 2001, 09:53 AM
#13
Hyperactive Member
You have to change one of it's STYLE property from STANDARD to GRAPHICAL. Then in the MouseMove Event do this.
Code:
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.BackColor = vbRed
End Sub
-
Oct 17th, 2001, 09:56 AM
#14
Thread Starter
Hyperactive Member
how do i change it back to original, when mouse is moved off (Soz about this, but i dont normally play around with mouse over things)
-
Oct 17th, 2001, 09:59 AM
#15
Hyperactive Member
How'd I figure you were going to ask that.
Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.BackColor = -2147483633
End Sub
Just flip it back to gray when the FORM get's the mousemove event, because the mouse move event is self-contained. So each control will have it, and if it's not on a control the container of the control will have it, and so forth.
-
Oct 17th, 2001, 10:41 AM
#16
Thread Starter
Hyperactive Member
thanks for all your help.
-
Oct 17th, 2001, 11:37 AM
#17
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|