alback Posted April 23, 2007 Share Posted April 23, 2007 I receive a Variable must be of type "Object" error when running the following code. #include <A3LTabControl.au3> ;this function selects the desired tab from the desired tab menu Func SelectTab($Handle, $TabName) $a = _Tab_FindTab ($Handle, $TabName) If $a = -1 Then MsgBox(0, "Can't find Tab Menu", $TabName) Exit EndIf If _Tab_SetCurFocus ($Handle, $a) = -1 Then MsgBox(0, "Can't select Tab Menu", $TabName) Exit EndIf EndFunc ;==>SelectTab Thanks Link to comment Share on other sites More sharing options...
PaulIA Posted April 23, 2007 Share Posted April 23, 2007 I receive a Variable must be of type "Object" error when running the following code.#include <A3LTabControl.au3>;this function selects the desired tab from the desired tab menuFunc SelectTab($Handle, $TabName) $a = _Tab_FindTab ($Handle, $TabName) If $a = -1 Then MsgBox(0, "Can't find Tab Menu", $TabName) Exit EndIf If _Tab_SetCurFocus ($Handle, $a) = -1 Then MsgBox(0, "Can't select Tab Menu", $TabName) Exit EndIfEndFunc ;==>SelectTabThanksYou must have missed the "Read this before you download" part in the Auto3Lib thread. You definitely missed the part about posting all Auto3Lib questions in the Auto3Lib thread. You need the beta version of AutoIt that has the new DllStruct functions in it. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
alback Posted April 23, 2007 Author Share Posted April 23, 2007 You must have missed the "Read this before you download" part in the Auto3Lib thread. You definitely missed the part about posting all Auto3Lib questions in the Auto3Lib thread. You need the beta version of AutoIt that has the new DllStruct functions in it.You're right, I did not read the "Read this before you download" message. However, I did attempt to post in the Auto3Lib thread and received the following message:Sorry, you do not have permission to start a topic in this forumI will install the beta version and go from there.Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now