Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

How i do one double click in C# scrit?

$
0
0

I'm testing one application that you double click in an textbox and that allows you to insert a price.

This is my script:

 

My function:

 

 

function SetValue(ValueGroupPerson)
{
var txtBoxValueGroupPerson = Properties["GetTxtBoxValueGroupPerson"]();
txtBoxValueGroupPerson["DblClick"];
txtBoxValueGroupPerson["Keys"](ValueGroupPerson);

 

 

The map object:

 

function GetTxtBoxValueGroupPerson()
{
return Sys["Process"]("XXXXXX")["WinFormsObject"]("Frm_Menu")["WinFormsObject"]("MdiClient", "")["WinFormsObject"]("Frm_Values")["WinFormsObject"]("Panel1")["WinFormsObject"]("Panel2")["WinFormsObject"]("Value")["WinFormsObject"]("Values");
}

 

This is the error:

"Object doesn't support this property or method"

 

Somebody can help me?
Thanks.

 

Viewing all articles
Browse latest Browse all 20755

Trending Articles