SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Sep 2001
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is there a better solution than GetFullCaption( )?

    I am using GetFullCaption() to retrieve the text of a HtmlText object. The problem is this seems to only get the text that is displayable. It does not include the text of that object that are not viewable (scrolled off screen). I've tried GetText() but it returns null. Also, is there a way to workaround the maximum of 511 characters for GetFullCaption()?

    Any ideas?

  2. #2
    Senior Member
    Join Date
    Jul 2002
    Location
    Paris (France)
    Posts
    182
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a better solution than GetFullCaption( )?

    Have you tried GetText with bFullText set to TRUE?

    That is

    sText = object.GetText(NULL, NULL, TRUE)

    --------------
    sText = object.GetText ([iStartChar, iNumChars, bFullText])


    sText = The text. STRING.

    iStartChar = Optional. The position in the text (starting with 1) of the first character to return. Default is 1. INTEGER.

    iNumChars = Optional. The number of characters to return. Default is all characters after iStartChar. INTEGER.

    bFullText = Optional. If TRUE, returns the full text of the object. If FALSE (the default), returns the first line. BOOLEAN.
    -----




    ------------------
    David Genrich
    Icarian
    555 North Mathilda Ave
    Sunnyvale, CA 94086
    davidg@icarian.com

  3. #3
    Guest

    Re: Is there a better solution than GetFullCaption( )?

    Hi,
    Can you tell me which version are you using? Coz, I'm using 4.6.2 in which I
    don't have an option of setting the third argument
    'bFullText'.

    Thx.

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:06 PM.

Copyright BetaSoft Inc.