Results 1 to 2 of 2

Thread: Drilling down

Threaded View

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,010

    Drilling down

    The Lianja Object Model blog is a good start, but there are a few things missing (and they are probably there in some other form), hence the question.

    In VFP, I would use amembers() on an object to get the properties and/or methods. Or, if it hadn't been broken, I could have iterated the sub-objects. I tried iterating from the console on a page object, using this code:


    Code:
    loProdPage = Lianja.getelementbyid("Product")
    foreach oItem in loProdPage
        loItem = oItem
        =messagebox(oItem.name)
    endfor

    and in the debugger it would freeze on line 3 (foreach).

    Being able to map what is there now is a key to building tools, of course. Any hints or suggestions welcomed.

    tia,

    Hank
    Last edited by HankFay; 2012-05-07 at 17:02.

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us