Profile Picture

Additional question on NtaskDialog

Posted By JSW W. 14 Years Ago
Author
Message
JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
dlg.Verification.Text = "Close this dialog when download is complete"

how to check above checked?


Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

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.



Bruce Guthrie
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 14, Visits: 2

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.



Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

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.



Bruce Guthrie
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 14, Visits: 2

hello Angel

 

OK got it now thnaks for that.

regards

bruce.





Similar Topics


Reading This Topic