PDA

View Full Version : ShowPropertyDialog()



loukas07
December 3, 2014, 16:16:40
Hello everyone,

is there any way to close() or hide() the property dialog that you have previous opened using ShowPropertyDialog() ??

Thanks,
Loukas

Stefan Geissler
December 3, 2014, 17:17:33
Hello

Usually clicking the OK button will close the dialog.

Except something went incredibly wrong and the communication with the camera hangs.

Which camera do you use?
Which computer model / manufacturer to you use?

loukas07
December 4, 2014, 16:05:12
Thanks for your quick reply!

I can close it normally by clicking the 'x' button, or the 'cancel', or the 'ok'.
The problem is that I want to close or hide the dialog with a call, i.e. imagingControl.ClosePropertyDialog();

I open this dialog in a different thread when you double-click on a form. I want to close dialog when the form is closing!
I cannot find any way...

Thanks!

Stefan Geissler
December 4, 2014, 17:21:23
I am very sorry, there is no other way to close this dialog.
You may write your own one? There is a sample "Making Device Settings" that is the source code of a similar dialog.
My Documents\IC Imaging Control 3.3\samples\