Results 1 to 10 of 10

Thread: [RESOLVED] Is it possible tool tip text in two line

  1. #1

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Resolved [RESOLVED] Is it possible tool tip text in two line

    Hi all
    My next question that
    always tool tip text occur in one line but how it is possible that it occur in two line without lenghty code

    this i try but not working

    For Updating Any Student Double click On It +chr(13)+Select The Colum For Changing Section
    i write above as a grid tool tip text

    thanks

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

    Re: Is it possible tool tip text in two line

    use vbCRLF not chr(13). chr(13) is only half of what you need. You are applying the tooltip text using code, No?

  3. #3
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    Re: Is it possible tool tip text in two line

    ye the above is correct, you have two ways make your own control, or use some of the API calls in both cases you still use the same amount of code, anyway of the top of my head I have no code at hand but go http://www.pscode.com/vb and do a serach I am sure you find what you need.
    When your dreams come true.
    On error resume pulling hair out.

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

    Re: Is it possible tool tip text in two line

    dreamvb,

    Possibility you are in the wrong thread?????

  5. #5
    Hyperactive Member
    Join Date
    Jan 2006
    Location
    3rd rock from the sun
    Posts
    360

    Re: Is it possible tool tip text in two line

    randem

    tried to use your suggestion;
    VB Code:
    1. Command1.ToolTipText = "abc" & vbCrLf & "efg"
    the result is still "abcdefg" on one line... why?

  6. #6

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Is it possible tool tip text in two line

    Code:
     & vbCrLf & Not showing Tool Tip Text In New Line  why
    It occuring like this style

    VB Code:
    1. Please duuble clilck for update!  & vbCrLf & Single for check

  7. #7
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: Is it possible tool tip text in two line

    It is not as easy as youw ould think it is. You need to use API to get it done. Take alook at his
    http://www.vb-helper.com/howto_multi_line_tooltip.html
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  8. #8
    Hyperactive Member
    Join Date
    Jan 2006
    Location
    3rd rock from the sun
    Posts
    360

    Re: Is it possible tool tip text in two line

    chill Shakti.. check Shuja Ali's reply,
    the answer to your question is there.

  9. #9

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Is it possible tool tip text in two line

    Thanks a Lot

  10. #10

    Thread Starter
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Re: Is it possible tool tip text in two line

    Thanks all

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