Eli Posted January 12, 2006 Posted January 12, 2006 (edited) I have the controlID for the tab and the classnamenn "SysTabControl321" but for some reason I cant do anything with it. dim $win dim $t Opt("WinTitleMatchMode", 2) $win = "VISION" winactivate($win) WinWaitActive($win) ;ControlFocus($win, "", "SysTabControl321") $t = ControlCommand($win, "", "SysTabControl321", "CurrentTab", "") MsgBox(0, "", $t) this pops up a blank box for a second then closes it I tried just ControlFocus and that didnt work, I also previously tried sending some commands to it and nothing worked. Does it have something to do with it being in a MDI app? Edited January 12, 2006 by Eli
Eli Posted January 12, 2006 Author Posted January 12, 2006 ok, got it to return something..... "1" it only returns 1 no matter what tab its on. even with the controlfocus
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