ClickButton

Click a windows button Control.

void ClickButton();

Parameters

None

Return Value

None

Remarks

This action operates on a standard Win32 button using the windows message BN_CLICKED.

For buttons that do not respond to this windows message, then another action such as LeftClick() or a shortcut key using SendKeys() should be used.

Example

Control cancelButton = setupDialog.FindControl("Cancel""Button");

cancelButton.ClickButton();

Related:

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant