Passing data to functions from amulet


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by j on August 06, 2000 at 16:54:48:

I must have missed something in the manual. I've read most of it at this point.

The following are pieces of sample6,

Am_Define_Method (Am_Object_Method, void, open_add_dialog, (Am_Object cmd))
{
Am_Value retvalue;
Am_Pop_Up_Window_And_Wait (adddialog, retvalue, true);
if (retvalue.Valid ())
{
Am_Beep ();
}
}
.Add_Part(AddNameInput, Am_Text_Input_Widget.Create("AddNameInput")
.Set(Am_LEFT, 20)
.Set(Am_TOP, 20)
.Set(Am_WIDTH, 220)
.Set(Am_HEIGHT, 25)
.Get_Object(Am_COMMAND)
.Set(Am_LABEL, "Name :")
.Get_Owner()
.Set(Am_FILL_STYLE, Am_Amulet_Purple))

So when the input the name, how do I pass that to a function, such as void addnode(char s[]); ???


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]