Message 1 of 23

Not applicable
11-29-2018
02:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Ok I have an iLogic rule that opens the iProperties dialog for the file type that is active. That much I got. Now I need to send a CTRL + TAB keystroke after it is opened so that the 'Summary' tab is active when the iProperties dialog is shown.
here is the code I got:
SyntaxEditor Code Snippet
Imports System.Windows.Forms Sub Main() Dim oCommandMgr As CommandManager oCommandMgr = ThisApplication.CommandManager Dim oControlDef As ControlDefinition oControlDef = oCommandMgr.ControlDefinitions.Item("DrawingiPropertiesCmd") Call oControlDef.Execute '2(False) SendKeys.SendWait("^{TAB}") '← I'm guessing that the '^' carot is supposed to be the 'CTRL key' but all this does is just a normal 'TAB' which sets the 'Help' active ThisApplication.UserInterfaceManager.DoEvents() End Sub
Please do not reply with HOW to get the dialog to open I know how to do that I just want the Summary TAB to be the active tab when it does.
Solved! Go to Solution.