Login ProductsSalesSupportDownloadsAbout |
Home サ Technical Support サ Elevate Web Builder Technical Support サ Support Forums サ Elevate Web Builder General サ View Thread |
Messages 1 to 3 of 3 total |
TDataSet.AfterLoad not working for TDataSet.LoadColumns |
Mon, Oct 24 2016 3:16 PM | Permanent Link |
Bruno Larochelle | I知 trying to use the event TDataSet.AfterLoad to run some code after TDataSet.LoadColumns is completed. According to the documentation (http://www.elevatesoft.com/manual?action=viewevent&id=ewb2&comp=TDataSet&event=AfterLoad) this should be the correct event to implement.
I looked at the core file for WebData and it looks like to fire the TDataSet.AfterLoad event the method TDataSet.DoAfterLoad needs to be called and currently within WebData TDataSet.DoAfterLoad is only called in TDataSet.LoadRows (should it also be caleed within TDataSet.LoadColumns). Ultimately I知 trying to detect when TDatabase.LoadColumns is complete (after making GET request to a php script), and it is my understanding that TDatabase.LoadColumns calls TDataSet.LoadColumns after the server request is finished. So to detect when TDatabase.LoadColumns is complete I知 listening for TDataSet.AfterLoad. Any ideas/suggestions? Philip Reddish Environment Canada |
Tue, Oct 25 2016 3:01 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Bruno,
<< I知 trying to use the event TDataSet.AfterLoad to run some code after TDataSet.LoadColumns is completed. According to the documentation (http://www.elevatesoft.com/manual?action=viewevent&id=ewb2&comp=TDataSet&event=AfterLoad) this should be the correct event to implement. >> Yeah, that was originally the idea, but it didn't actually get implemented that way. I'll have to add a fix for this, but it will most likely involve a new set of events for the loading of the columns. Tim Young Elevate Software www.elevatesoft.com |
Wed, Oct 26 2016 10:10 AM | Permanent Link |
Bruno Larochelle | thanks Tim
// Tim Young [Elevate Software] wrote: Bruno, << I知 trying to use the event TDataSet.AfterLoad to run some code after TDataSet.LoadColumns is completed. According to the documentation (http://www.elevatesoft.com/manual?action=viewevent&id=ewb2&comp=TDataSet&event=AfterLoad) this should be the correct event to implement. >> Yeah, that was originally the idea, but it didn't actually get implemented that way. I'll have to add a fix for this, but it will most likely involve a new set of events for the loading of the columns. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Monday, October 14, 2024 at 05:15 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |