CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Posts
    16

    maintaining subscripts and superscripts in combo

    i need to show some options in a combo box in subscript and superscript form. is it possible. for chemical formula of water, it is showing H2o. but i need to show '2' in subscript form.







  2. #2
    Join Date
    Jul 2001
    Posts
    5

    Re: maintaining subscripts and superscripts in combo

    Your question is not clear. Provide a small example of what you're looking for.


  3. #3
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: maintaining subscripts and superscripts in combo

    Try:

    Combo1.Text = chr$(&h48) & chr$(&hb2) & chr$(&h4f)




    Hope this helps,
    Duncan

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

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

Featured