Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
Runtime datasets and events |
Tue, May 31 2016 6:17 AM | Permanent Link |
Huseyin Aliz myBiss ApS | Hi All,
I have a dataset created at runtime, but somehow i cannot access event rowchanged for this dataset, is it not possible? I have created a type -> procedure DatasetRuntimeRowChanged(Sender: TObject; Column: TDataColumn); and a procedure for it: procedure TMainform.DatasetRuntimeRowChanged(Sender: TObject; Column: TDataColumn); begin Showmessage('Go'); end; Regards, Hüseyin |
Tue, May 31 2016 8:00 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Huseyin,
<< I have a dataset created at runtime, but somehow i cannot access event rowchanged for this dataset, is it not possible? >> Did you assign the event handler to the TDataSet instance in code ? Tim Young Elevate Software www.elevatesoft.com |
Tue, May 31 2016 8:12 AM | Permanent Link |
Huseyin Aliz myBiss ApS | Tim,
How do I do that? Regards, Hüseyin On 31-05-2016 14:00, Tim Young [Elevate Software] wrote: > Huseyin, > > << I have a dataset created at runtime, but somehow i cannot access event rowchanged for this dataset, is it not possible? >> > > Did you assign the event handler to the TDataSet instance in code ? > > Tim Young > Elevate Software > www.elevatesoft.com > |
Tue, May 31 2016 9:17 AM | Permanent Link |
Raul Team Elevate | On 5/31/2016 8:12 AM, Hüseyin Aliz wrote:
> How do I do that? Hüseyin, You need to assign the procedure you created to OnRowChanged event handler. When you're creating the dataset in code it's a good time to do this so event is right away wired up : myRuntimeCreatedDataset.OnRowChanged := DatasetRuntimeRowChanged; Raul |
Tue, May 31 2016 9:47 AM | Permanent Link |
Huseyin Aliz myBiss ApS | Raul,
Thanks, tried and it works Regards, Hüseyin On 31-05-2016 15:17, Raul wrote: > myRuntimeCreatedDataset.OnRowChanged := DatasetRuntimeRowChanged; |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |