Le Meur Guillaume Posted January 3, 2018 Share Posted January 3, 2018 Hello, it seems that, when we work see inherited forms, functions defined in the base form are not working in the derived form. For exemple : we want to store Left, top, Height and width properties when user resize a form. We relay informations with the function Form.ClientEvent.ExtEvents / window.Move / function window.move(sender, x, y, eOpts) { ajaxRequest(sender, 'resizeAndMove', ["width="+sender.width, "height="+sender.height, "x="+x, "y="+y]); } It's ok in the bas form, not the other. Perhaps because such "resizeAndMove" function is not really defined in the derived form ... Does someone have already note such trouble ? Regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 3, 2018 Share Posted January 3, 2018 Hi, Which edition and build are you using ?! Quote Link to comment Share on other sites More sharing options...
Le Meur Guillaume Posted January 4, 2018 Author Share Posted January 4, 2018 Hi, we are using the 1.0.2.1426 build. but in fact, there is no problem : It's because some other functions are defined in the inherited form. So the value of the property (TStringList kind) is erase but not merge. If we add this function by code (OnCreate event), it's ok. Sorry for this "fake news". Regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.