Message 1 of 9
Check In dialog box: Need to have OK button selected as default - iLogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
iLogic code request!
Currently, OK is not selected. We handle so many documents that we never input data for comments. Therefore we would like OK button is already selected so that by pressing enter (like the dialog box for Save) the document will be checked in.
Request help. Currently, I use the code shown below:
Sub Main() oCheckIN() End Sub Sub oCheckIN() ThisApplication.CommandManager.ControlDefinitions.Item("AppZoomallCmd").Execute iLogicVb.UpdateWhenDone=True 'ThisDoc.Document.Save() ' 'ThisApplication.ActiveView.Fit ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop").Execute2(False) End Sub
Thanks.