473,322 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Label FlatStyle.Popup

Hi

I'm trying to put the popup effect that happens in a button on a label. This
property
(FlatStyle.Popup) is too a label property.
I made test windows form program, and i just put one button and one label.
I modified the FlatStyle of both to Popup. When i run the program and i pass
the mouseover the button i see the effect functioning. On the label no.
Why ?

Thank you
A.Barros
Nov 15 '05 #1
1 5395
Antonio,

I've gotten the same results. I think that if you want this effect, you
will have to use a button and override the mouse down event (or rather, the
windows message for the mouse down event), so that it does not trigger a
click when it is clicked (which would cause a repaint). This way, you get
the style that you want, without the click functionality.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Antonio Barros" <am*******@netcabo.pt> wrote in message
news:Oo**************@tk2msftngp13.phx.gbl...
Hi

I'm trying to put the popup effect that happens in a button on a label. This property
(FlatStyle.Popup) is too a label property.
I made test windows form program, and i just put one button and one label.
I modified the FlatStyle of both to Popup. When i run the program and i pass the mouseover the button i see the effect functioning. On the label no.
Why ?

Thank you
A.Barros

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg | last post by:
I'm trying to create a megawidget for file selection that contains a Label, EntryField, and Browse Button (that will open a tkFileDialog). The label positioning won't cooperate however, could...
3
by: Jason Kyle Baginski | last post by:
Here's a little test app to demonstrate a problem I'm having. It creates four buttons, each one with the different FlatStyle types available. Three of them behave exactly the same way(and the...
0
by: Rudolf Ball | last post by:
Hi NG, i create a control where I want to set the FlatStyle Property of the button to "flat" forever and dont want to let the user change this. I have tried public new...
3
by: ORC | last post by:
With buttons and textboxes etc. it is possible to set the orderstyle or flatstyle but what about comboboxes? - is it possible to make them more up to date? Thanks, Ole
7
by: Ed West | last post by:
Hello, I have a simple form with some input boxes. After validation if one fails, then I would like to at the top of the page say something like "The following fields in red are required" and...
3
by: Ahmed Ayoub | last post by:
i forgot how to create Textboxes & Label Dynamically. Meaning, i want to make them .. initialize their position .. and view them and interact with them.
31
by: jcrouse | last post by:
Is there a quick and easy way to change the color of a label controls border from the default black to white? Thank you, John
1
by: siliconpi | last post by:
I'm looking for the simplest and cleanest way of having 10 buttons on a form, on which if I move my mouse over, a label's text changes as specified. I'm using Visual Basic .NET and I'm not too...
6
by: Eng Teng | last post by:
How do I write a code to activate a popup menu when I right click in a label control? Regards, Tee
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.