Forum Discussion
coded in c#.
I tried to pass object mpanel to the function findTxnLink but object is not recognised. error say object doesn't recognised. wheather I am implemented correctly. I am in process of creating in gendralised function. I have to put findTxnlink function is seperate unit. I tried with useunit also same result is persist. guide me how to resolve this problem.
function findTxnLink(mpanel, objectid)
{
Log["Message"]("pass into condition stmt1");
var Props, Values, w;
// Creates arrays of property names and values
Props = new Array("ObjectType", "ObjectIdentifier");
Values = new Array("Link", "objectid");
Log["Message"]("pass into condition stmt2");
// Searches for the linknode select that item
w = mpanel["FindChild"](Props,Values, 3);
w["Click"]();
Log["Message"]("pass into condition stmt3");
}
function test()
{
var iexplore;
var frame;
var form;
var panel;
var textbox;
var table;
var mpanel;
iexplore = Aliases["iexplore"];
frame = iexplore["pageMiserBa"]["applicframe"]["mainframe1"];
form = frame["Mainmenuform"];
panel = form["Txntreepanel"];
mpanel = panel["panelMenutxndiv"]["menupanel"];
c=findTxnLink(mpanel, "Node0");
c["Click"]();
}
Related Content
- 6 years ago
Recent Discussions
- 40 minutes ago
- 23 hours ago
- 3 days ago