Getting the Value of the Active Cell in a Browse
Description
This technique returns the value of the current cell of a browse when the user double clicks. This example displays the cell value in a message box.
Place the browse in design mode.
Select Browse > Events > OnRowDblClick.
Enter the following code. Substitute the name of your browse for "CustomerBrowse".
temp1=CustomerBrowse.active() temp2=eval("CustomerBrowse:" + temp1 + ".text") ui_msg_box("","" + temp2) end
See Also