Results 1 to 5 of 5

Thread: Subscript in a Label Box !

  1. #1
    ashky
    Guest

    Question Subscript in a Label Box !

    Hai,

    I was wondering if it is possible to get a subscript in a label box's caption.

    For example, one my label's caption is X2, but that 2 must go down, that is a , a subscript. X_{2}

    How can this be done !!!!!!!!!!

    Any ideas/comments/codes highly appreciated...,

    ashky.

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    No, unless you find a subscript character. There are superscript characters for 1,2, and 3, but I haven't found subscript ones yet.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3
    ashky
    Guest

    Thanks for the reply



    Hmm., so i have the only alternative of having another label control, small in font under the main text !!!!!!!

    Is this kinda feature available in .Net ????????????

    thanks for the reply,

    ashky

  4. #4
    Addicted Member
    Join Date
    Sep 1999
    Posts
    229
    Hi ashky,

    You can use RichTextBox instead of Label control.
    Explore TextRTF property, there are many formats there.
    See attachment.

    Hope it helps
    Keiko

  5. #5
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Hi ashky
    If the label is not sooooper complex you could always print directly to the form or picture box and set the x,y posn as required.. a little bit more work but not too difficult if u really need super or sub scripting
    Regards
    Stuart
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

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