Traffic Light Control

  • Thread starter Thread starter macca
  • Start date Start date
M

macca

Hi,

I would like to create a control that looks like a set of traffic lights.

This will output alarm states and if the user clicks on the control it will
open up a dialog that gives more detailed information.

I'd appreciate any adivce on creating this control or if one already exists.

Regards
Macca
 
Hi,

I would like to create a control that looks like a set of traffic lights.

This will output alarm states and if the user clicks on the control it will
open up a dialog that gives more detailed information.

I'd appreciate any adivce on creating this control or if one already exists.

Regards
Macca

Suggestion: Use a button with an image on it. Have three different
versions of the image that your program changes as required to
indicate the appropriate alarm state. Use the button click event to
open the dialog. Depending on how easy/costly it is to get the actual
alarm state you may need an internal flag to keep track of the current
state so you know which image to display and which dialog to show.

HTH

rossum


The ultimate truth is that there is no ultimate truth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top