Jump to content

IE udf help needed


Recommended Posts

hy, I have a question:

How could I use the IE udf to select and to multi select items in a listview (or SELECT as it is called in tags).

I attached a printscrit that ilustrates the listview that I have to select data from. post-36572-12772192576809_thumb.jpg

I do not like stupid and idiot people that write idiot things...If you are one, do not write.

Link to comment
Share on other sites

  • 2 weeks later...

Did you try _IEFormElementOptionselect()?

:blink:

It worked perfectly, but now I have another question...How could I get all the items in the listview?

I do not like stupid and idiot people that write idiot things...If you are one, do not write.

Link to comment
Share on other sites

It worked perfectly, but now I have another question...How could I get all the items in the listview?

ok, I found the solution...for anybody who needs it:

$Form_col = _IEFormGetObjByName ($oIE, "myForm")
    $Lista_obj = _IEGetObjById($Form_col, "mp")
    $colection = _IETagNameGetCollection ( $Lista_obj, "OPTION")
    Dim $lista_campuri_arr_corectat[1]
    For $colectionx in $colection
        if IsObj($colectionx) Then
            $camp = StringReplace(StringReplace($colectionx.innerText,"-|- Mon",""),"-|- Mar","")
            If $camp<>"" Then
                ReDim $lista_campuri_arr_corectat[UBound($lista_campuri_arr_corectat)+1]
                $lista_campuri_arr_corectat[UBound($lista_campuri_arr_corectat)-1]=$camp
            EndIf
        EndIf
    Next

I do not like stupid and idiot people that write idiot things...If you are one, do not write.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...