Select to view content in your preferred language

User Form in Background?

791
3
04-15-2010 12:20 PM
MatthewPeterson
Emerging Contributor
Is it possible to run user forms in the background of arcmap?  I would like my form to be open and to still be able to work with my map document.  Right now I have to close my user form in order to control arcmap.
0 Kudos
3 Replies
MatthewPeterson
Emerging Contributor
i think it would have something to do with IDockableWindow, but can't seem to find any information on this...
0 Kudos
StefanOffermann
Deactivated User
Is it possible to run user forms in the background of arcmap?  I would like my form to be open and to still be able to work with my map document.  Right now I have to close my user form in order to control arcmap.


How do you open your dialog? Try to replace

new Form().ShowDialog()


with

new Form().Show()


This should open the dialog non-modal.

Best regards, Stefan
0 Kudos
MatthewPeterson
Emerging Contributor
figured it out...

on the forms properties set showmodal = false

allows me to interact with arcmap while keeping the form open.
0 Kudos