Description: i want to design form , that i can click New Button in the parent form , and will open a dialog form to create new record, but i don't know how can realize it when the New Button is s sysdefinedNewButton,, please give me some suggestions,Thanks!
Hi Sachin, Have you followed the suggestions in this thread? I think you have duplicated it.
Hi sachin mittal,
You can override the create method of form datasource and call the dialog form(Calling menu item via code) you created - So when you click New button, create method of form datasource will be called and the dialog form will be opened. On closeOk of the dialog form you can call the details form.
For reference you can take a look at TsTimesheetEntry form.
Thanks,
Girish S.
André Arnaud de Cal...
291,996
Super User 2025 Season 1
Martin Dráb
230,853
Most Valuable Professional
nmaenpaa
101,156