How to carry a row back to the calling form ?

  • Thread starter Thread starter chak
  • Start date Start date
C

chak

Hello,

If i navigate to a Search screen, which has a grid, from which i pick a
row, what are the typical ways of taking the row's values back to the
calling form ?

Thanks.
 
Hi

I think the best way is do it like you would do if you would open a file
with the file dialog box. That’s:

Save the pick in the a property of the Search form. Then, from the calling
form ask if the user picked a row, if yes, read the property:

SearchForm.ShowModal();

If (SearchForm.OK){

int picked = SearchForm.selectedRow;

}

Tal
 
Back
Top