Results 1 to 5 of 5

Thread: Label text color

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    Antrim
    Posts
    80

    Question

    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.

  2. #2
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    736
    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.

  3. #3
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008

    Labels are OK

    Whay won't the labels work? They do for me. More details please.

    Cheers,

    Paul.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  4. #4
    Guest
    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.

  5. #5
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    [code]
    'As noted above
    'Draw the label on the frame and it will remain

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width