SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Dec 2003
    Location
    india
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    VbedtorEnterand remove text fromtextArea

    Hi All,

    We are scripting one VB gui application. In which I've one VbEdit and one VbEditor field.
    I need to remove all the previous available text from VbEdit and VbEditor.
    Using the script I could remove the text from the text field
    VbWindow("VbWindow").VbEdit("VbEdit").Set("") In the same way how can I remove the text from VbEditor component. I've given like
    VbWindow("VbWindow").VbEditor("VbEditor").Type ""
    But its not working.
    TIA

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: VbedtorEnterand remove text fromtextArea

    Try
    VbWindow("VbWindow").VbEditor("VbEditor").Object.T ext=""

  3. #3
    Member
    Join Date
    Dec 2003
    Location
    india
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: VbedtorEnterand remove text fromtextArea

    Hi Tarun,
    Thanks for your reply.
    It doesn't work. I'm getting General Run Error for this code.
    Please post your further inputs.

  4. #4
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: VbedtorEnterand remove text fromtextArea

    Try

    Msgbox VbWindow("VbWindow").VbEditor("VbEditor").Exist

  5. #5
    Member
    Join Date
    Dec 2003
    Location
    india
    Posts
    111
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: VbedtorEnterand remove text fromtextArea

    Hi,
    I checked, that returns true value.

  6. #6
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: VbedtorEnterand remove text fromtextArea

    I am not sure then why you are facing the issue

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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:19 PM.

Copyright BetaSoft Inc.