Nevron Forum

Additional question on NtaskDialog

https://www.nevron.com/Forum/Topic3250.aspx

By JSW W. - Wednesday, March 17, 2010

dlg.Verification.Text = "Close this dialog when download is complete"

how to check above checked?
By Angel Chorbadzhiev - Wednesday, March 17, 2010

Hello JSW W.,

You can find an implementation of this scenario in the following example in the example application provided with Nevron Vision:

All Examples -> Custom Forms -> Task Dialog Examples - "Progress Dialog... " button.

Regards,

Angel.

By Bruce Guthrie - Monday, March 22, 2010

Hello

i have another question.  i want to show a task dialog but with NO buttons. i set the

dlg.PredefinedButtons = TaskDialogButtons.None

but when i run the programme i still get an OK button showing on the task dialog. how do i stop this OK button from showing?

regards

Bruce.

By Angel Chorbadzhiev - Monday, March 22, 2010

Hello Bruce,

In NTaskDialog you need to have at least one button, user define or predefined.

To show the dialog without any buttons you can set PredefinedButtons to None and also you can create an user defined button and make it invisible:

NPushButtonElement[] buttons = new NPushButtonElement[1];

buttons[0] = new NPushButtonElement();

buttons[0].Visible = false;

dlg.UserButtons = buttons;

dlg.PredefinedButtons = TaskDialogButtons.None;

Regards,

Angel.

By Bruce Guthrie - Tuesday, March 23, 2010

hello Angel

 

OK got it now thnaks for that.

regards

bruce.