Message 1 of 11
Not applicable
06-09-2011
11:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
when i use Autodesk.AutoCAD.Windows.ColorDialog from a modeless form, the colordialog doesn't get focus, so you have to click twice to pick the color (the first click only sets focus to the dialog)
when i put the same code in a command and run it from commandline, it gets focus
Dim cd As New Autodesk.AutoCAD.Windows.ColorDialog
If cd.ShowDialog <> Windows.Forms.DialogResult.OK Then Exit Sub
Solved! Go to Solution.