-
Hi,
I have a frame on my form and I wanted to put some labels inside it.
Unfortunately the labels won't remain on top of the frame so I had to use text boxes.
I don't want the user to be able to select the text or edit it in any way.
I've disabled the text boxes but now my text is gray which doesn't fit in with the context of my application.
Any suggestions would be much appreciated.
Best regards,
Rob Brown.
-
You need to click on the frame, choose the label from the toolbox, and draw it on the Frame. If you double-click on the label from the toolbox, it will end up on the Form and will be behind the frame.
-
Labels are OK
Whay won't the labels work? They do for me. More details please.
Cheers,
Paul.
-
Because they don't have a hwnd. Put a picturebox on the form and make it so that it doesn't have a border. Than you can put labels on the picturebox in the frames and they will stay on top.
-
<?>
[code]
'As noted above
'Draw the label on the frame and it will remain