Results 1 to 5 of 5

Thread: Centralize a heading on a frame

  1. #1

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Centralize a heading on a frame

    Morning !

    I want to add a heading to a frame.

    Normally I would just use the frames 'Caption' property, but this will left justify the heading on the top of the frame.

    What I want to do is habve my heading centralized.

    I tried setting the frames caption property to nothing, creating a label, and dropping that over the top. Unfortunately the frame always remains on top so the label disappears !

    Is there a way around this by maybe playing with the ZOrder of the frame perhaps ?

    Or can anyone suggest a neater way ?

    Cheers

    Steve.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    TheBionicOrange


    You are just creating the label in the wrong maner. A frame is designed to be a container for all other objects. Create the label on top of the frame, do not drag it to the frame.

  3. #3

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818
    I know what a frame is for !!!

    Surprisingly it IS acting as a container for my objects !!

    I just want its heading to be centralized, and not left justified !

  4. #4
    Hyperactive Member
    Join Date
    May 2001
    Posts
    306
    If you've ever noticed that the boundries of the frame control goes beyound the top line of the frame. If you put a Label inside the frame you'll be able to position it so it looks like this.


    -------------------frame heading----------------------

  5. #5

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818
    Yeah I just realised how dull I was being

    Cheers Scostell !

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