![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Mon, Jan 18 2021 5:37 AM | Permanent Link |
erickengelke | I've begun to convert some large projects.
Very few issues, mostly I just needed to add more TypeCasting as EWB is pickier about assignments. One runtime exception popped up was when I changed a TDataSet for a grid. If I disabledcontrols then removing entries of the TDataSet, enablecontrols would generate an Exception of Index -1 out of bounds at the exact line where I re-enabledcontrols. Commenting out the dsiablecontrols/enablecontrols code resolved the issue for this instance, but there may be an problem there that could break other people's code. I'm already calling BeginControlUpdate and EndControlUpdate so these calls were not needed in my case. Erick EWB Programming Books and Component Library http://www.erickengelke.com |
Tue, Jan 19 2021 10:11 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Erick,
<< I've begun to convert some large projects. Very few issues, mostly I just needed to add more TypeCasting as EWB is pickier about assignments. One runtime exception popped up was when I changed a TDataSet for a grid. If I disabledcontrols then removing entries of the TDataSet, enablecontrols would generate an Exception of Index -1 out of bounds at the exact line where I re-enabledcontrols. Commenting out the dsiablecontrols/enablecontrols code resolved the issue for this instance, but there may be an problem there that could break other people's code. I'm already calling BeginControlUpdate and EndControlUpdate so these calls were not needed in my case. >> BeginControlUpdate/EndControlUpdate are specifically for use by control developers within controls, and should not be used outside of that context. In what context are you using them ? Tim Young Elevate Software www.elevatesoft.com |
Tue, Jan 19 2021 12:56 PM | Permanent Link |
erickengelke | Tim Young [Elevate Software] wrote:
Erick, << I've begun to convert some large projects. ommenting out the dsiablecontrols/enablecontrols code resolved the issue for this instance, but there may be an problem there that could break other people's code. I'm already calling BeginControlUpdate and EndControlUpdate so these calls were not needed in my case. >> > BeginControlUpdate/EndControlUpdate are specifically for use by control developers within controls, and should not > be used outside of that context. In what context are you using them ? I was using them in the wrong context, it was very old code before I knew to use BeginControlUpdate/EndControlUpdate. Erick EWB Programming Books and Component Library http://www.erickengelke.com |
This web page was last updated on Thursday, March 30, 2023 at 10:19 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |