SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Delete information from a HTMLEditBox

    In TestPartner I'm having a problem deleting text from a textbox. When I run the script, it clicks into the correct textbox but skips to the next textbox and inserts the required information there.

    So how do you delete information from a HTMLEditBox?

    Attach to Name=hometop
    HTMLFrame("Name=hometop").Attach
    HTMLEditBox("Name=ADD1").Click 56, 12 'Delete
    HTMLEditBox("Name=ADD1").Click 56, 12
    HTMLEditBox("Name=ADD1").SetText "237452"

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Location
    Wisconsin, USA
    Posts
    5,338
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Delete information from a HTMLEditBox

    As far as I know, you will have to replace the contents of the textbox in order to "delete". For example, if the first time you have a SetText "234567" and you wanted to delete the middle 4, you would have to issue a new SetText "23567" command.

    Make sense?

  3. #3
    Junior Member
    Join Date
    Nov 2006
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Delete information from a HTMLEditBox

    Thanks

 

 

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 11.11%
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 07:55 AM.

Copyright BetaSoft Inc.