SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Feb 2004
    Location
    AZ
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    MSFlexGridWndClass Table Interaction

    I am using WR 7.6, and I have come across some tables using the MSFlexGridWndClass object.

    I am attempting to read values from the cells and select rows. (I need to loop through the rows to find the row I am looking for, then select it).

    Unfortunately these tables are abound in the application I am testing, so I have no choice but to find a way to get this working [img]images/icons/blush.gif[/img]

    I can't get WR to interact with the table properly. Here are the properties of the object from GUI Spy:

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">

    {displayed: 1,width: 629,x: 7,y: 135,abs_x: 9,class: object,MSW_class: MSFlexGridWndClass,abs_y: 204,maximizable: 0,focused: 0,height: 157,active: 0,MSW_id: 0,handle: 1901242,minimizable: 0,nchildren: 0,enabled: 1,TOOLKIT_class: MSFlexGridWndClass}

    </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">I have tried to use:

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">ActiveX_get_info(&quot;MSFlexGridWndCl ***&quot;,&quot;TextMatrix(1,1)&quot;,vout);

    </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">and

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">tbl_activate_cell(&quot;MSFlexGridWndC lass&quot;, &quot;#1&quot;, &quot;#1&quot;

    tbl_set_selected_row(&quot;MSFlexGridWndClass&quot ;, &quot;#1&quot;
    tbl_set_selected_cell(&quot;MSFlexGridWndClass&quo t;, &quot;#1&quot;, &quot;#1);

    </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">I get the following errors:

    "Operation Not Permitted" and "Error: Operation is not appropriate for this widget class", respectively.

    I have tried using the ActiveX and/or Java plugins with these commands as well.

    Anyone have any ideas on how I can get Text from this table and Select rows?

    Thx in advance for any help on this, as I have searched QAForums and Mercury support to no avail...

  2. #2
    Junior Member
    Join Date
    Feb 2004
    Location
    AZ
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: MSFlexGridWndClass Table Interaction

    Well, I ended up having to use the obj_xxx_text functions. It works, but isn't the cleanest way of doing it [img]images/icons/blush.gif[/img] )

 

 

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 12:20 PM.

Copyright BetaSoft Inc.