06-20-2006, 06:41 AM
Problem description:
I have two edit/combo box fields in the User Interface i want to retrieve the value from these two fields and add it.
iam using the accessible command to get the value from the edit/combo box fields....
eg:
str stepsize1 stepsize2
Acc a1=acc(FRAME_STEP_SIZE FIELD_FRAME (win(NORTHWIND_TITLE "" "" 0x202)) WINDOW_CLASS "" 0x1001 0 0 "c14")
Acc a2=acc(FRAME_STEP_SIZE FIELD_FRAME (win(NORTHWIND_TITLE "" "" 0x202)) WINDOW_CLASS "" 0x1001 0 0 "c13")
stepsize1.getwintext(child(a1.a))
stepsize2.getwintext(child(a2.a))
since both stepsize1 and stepsize2 are string varaible i am not able to add it...
can i retrieve the edit/combo box value as integer....?
ultimately i want to retrive the values in the two edit field and add it.... can anyone help me....
thanks,
nithin
I have two edit/combo box fields in the User Interface i want to retrieve the value from these two fields and add it.
iam using the accessible command to get the value from the edit/combo box fields....
eg:
str stepsize1 stepsize2
Acc a1=acc(FRAME_STEP_SIZE FIELD_FRAME (win(NORTHWIND_TITLE "" "" 0x202)) WINDOW_CLASS "" 0x1001 0 0 "c14")
Acc a2=acc(FRAME_STEP_SIZE FIELD_FRAME (win(NORTHWIND_TITLE "" "" 0x202)) WINDOW_CLASS "" 0x1001 0 0 "c13")
stepsize1.getwintext(child(a1.a))
stepsize2.getwintext(child(a2.a))
since both stepsize1 and stepsize2 are string varaible i am not able to add it...
can i retrieve the edit/combo box value as integer....?
ultimately i want to retrive the values in the two edit field and add it.... can anyone help me....
thanks,
nithin