jeannepjones
asked on
Powerbuilder : see radiobutton update immediately
I have a datawindow with radio buttons. on the itemchanged event I have code to remove the checks from other boxes if a certain button is checked. in the itemchanged I have it call an event ue_accepttext, which has accepttext for that datawindow in it, but it still does not see the last button I checked, value is still 0 (I set to 1 if checked), but if I check another button, it then see the value of 1 for the button I clicked before this on.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In itemchanged event if you want the value of the column which is just changed you should use argument 'data' of Itemchanged event. For other columns you can use .object notation.
e.g.
ItemChanged Event
-------------------------
string ls_colname
choose case ls_colname
case 'empid'
Messagebox('emp_id',data)
messagebox('empname',strin
case 'empname'
messagebox('emp_id',string
messagebox('empname',data)
End Choose
Otherwise let us what behaviour you are expecting and where?
Regards,
Sandeep