Hi guys, I need a one help, I had 2 form(unit1,unit2)  file and 1 unit(unitComman) file, In unitcomman had one add function I wrote it. both form file can assess this method, at now I want to know which form call that function. that is called object and form name I want to display.

Comments

  1. Pass the caller as additional parameter to the function. Just like Sender: TObject or Sender: TForm.

    ReplyDelete
  2. Thank you, But I need to display object neme without passing TObject parameter.

    ReplyDelete

Post a Comment