Results 1 to 5 of 5

Thread: Form Font Styles

  1. #1
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default Form Font Styles

    I just want to bold some text on a form and there's zero documentation.

    Checked wiki.
    Ctrl + Space doesn't show anything, just that it's type TFONTSTYLES

    Anyone help and/or explain how to quickly look through the includes to find the record.
    I'm back

  2. #2
    Join Date
    Mar 2006
    Location
    Behind you
    Posts
    3,193
    Mentioned
    61 Post(s)
    Quoted
    63 Post(s)

    Default

    Check the tutorial's in the Advanced scripting area. If you still can't get it I'll help you more when I get home tonight. It should be something like Font.style := fsBold; Call that before you call Caption for what ever you are making making on the TForm.

    "Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."

  3. #3
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Simba Code:
    TLabel.FontStyle := [fsBold];
    Ctrl + Space and type "fs" for the fill list.

  4. #4
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Simba Code:
    TLabel.FontStyle := [fsBold];

    Ctrl + Space and type "fs" for the fill list.
    Well if I knew it started with fs
    I'm back

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by smurg View Post
    Well if I knew it started with fs
    Yeah.

    If you see a type you don't know the valid arguments for, just search for the letters. It's usually a pretty good guess. Like, TEdit.DragMode is a TDragMode. Ctrl + Space for "dm" and they come up.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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