I have a settings form containing a page control with many tabs, each have many textboxes for settings. I use the following code to determine if a settings value is changed so that a save button can be enabled/disabled and perform other actions. It would be useful if I could identify the name or index of the active tab sheet and pass that to my ValidateSettings procedure. I can't find a property that Sender has available like the "Name" or "Text" that I currently use.
Procedure TfrmSettings.txtPvUploadStartDelayEditingDone(Sender: TObject);
Begin
With TEdit(Sender) Do
Begin
ValidateSettings(Name, Text)
End;{With}
End;{Procedure}