Click here to Skip to main content
16,013,918 members
Home / Discussions / C#
   

C#

 
GeneralMIDI and C# Pin
25-Feb-03 5:21
suss25-Feb-03 5:21 
GeneralRe: MIDI and C# Pin
jtmtv1825-Feb-03 6:01
jtmtv1825-Feb-03 6:01 
GeneralRe: MIDI and C# Pin
Richard Deeming26-Feb-03 1:14
mveRichard Deeming26-Feb-03 1:14 
GeneralVerify Userid Pin
cas941225-Feb-03 4:03
cas941225-Feb-03 4:03 
GeneralDesktop Apps Property Pages and Property sheets Pin
Braulio Dez25-Feb-03 2:57
Braulio Dez25-Feb-03 2:57 
GeneralDataGrid cell Pin
zaza725-Feb-03 1:45
zaza725-Feb-03 1:45 
GeneralRe: DataGrid cell Pin
A.Wegierski25-Feb-03 20:54
A.Wegierski25-Feb-03 20:54 
Generaltranslucent cover over form Pin
bwells25-Feb-03 1:31
bwells25-Feb-03 1:31 
I have a form that has several controls on it all in a panel. Sometimes, the user needs to have read-only access to this form. If I disable the panel, then indeed all controls get disabled. But you cannot tell by looking at the controls that they are disabled. I want to draw on top of the form a graphic that is translucent so everything on the form is dimmed. I might also like the graphic to have a big "X" on it, or perhaps even say the reason that the form is disabled.

I tried several things, but nothing really works. I would be happy if I could even just draw a big red "X" over the form inside a red circle to indicate what I want. But if I draw on the form, my lines fall behind the panel and controls. So I tried placing two panels on the form. This works good, but the panels cannot be rotated, so I end up with a big "Cross" insetad of an "X".

So my question is how can I put a translucent image or rectangle that covers the entire form and all of its panels and controls? Or, how can I draw a line on a form so the line is drawn on top of all other panels and controls on the form? Or how can I rotate a panel so I can draw an "X" on top of the form which will cover all panels and controls on the form.

Or can anyone suggest a better way to indicate to the user that a form is read-only while they are in a particular mode?

thanks
Bryan

GeneralRe: translucent cover over form Pin
Paul Watson25-Feb-03 1:51
sitebuilderPaul Watson25-Feb-03 1:51 
GeneralRe: translucent cover over form Pin
bwells25-Feb-03 2:12
bwells25-Feb-03 2:12 
GeneralRe: translucent cover over form Pin
Paul Watson25-Feb-03 2:20
sitebuilderPaul Watson25-Feb-03 2:20 
GeneralRe: translucent cover over form Pin
bwells25-Feb-03 2:29
bwells25-Feb-03 2:29 
Generalparse emails Pin
Roger Alsing24-Feb-03 23:58
Roger Alsing24-Feb-03 23:58 
GeneralStackOverflow Pin
monrobot1324-Feb-03 18:33
monrobot1324-Feb-03 18:33 
GeneralRe: StackOverflow Pin
Sean Winstead24-Feb-03 18:51
Sean Winstead24-Feb-03 18:51 
GeneralRe: StackOverflow Pin
David Stone24-Feb-03 19:00
sitebuilderDavid Stone24-Feb-03 19:00 
GeneralRe: StackOverflow Pin
Sean Winstead25-Feb-03 0:28
Sean Winstead25-Feb-03 0:28 
GeneralRe: StackOverflow Pin
David Stone25-Feb-03 15:31
sitebuilderDavid Stone25-Feb-03 15:31 
GeneralRe: StackOverflow Pin
Sean Winstead25-Feb-03 18:34
Sean Winstead25-Feb-03 18:34 
GeneralRe: StackOverflow Pin
monrobot1326-Feb-03 5:08
monrobot1326-Feb-03 5:08 
GeneralBucket Head Pin
eggie524-Feb-03 18:15
eggie524-Feb-03 18:15 
GeneralRe: Bucket Head Pin
Sean Winstead24-Feb-03 18:52
Sean Winstead24-Feb-03 18:52 
GeneralRe: Bucket Head Pin
Sean Winstead24-Feb-03 18:54
Sean Winstead24-Feb-03 18:54 
GeneralRe: Bucket Head Pin
eggie524-Feb-03 19:00
eggie524-Feb-03 19:00 
GeneralRe: Bucket Head Pin
Brian Olej28-Feb-03 7:11
Brian Olej28-Feb-03 7:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.