artem_niko Posted March 20, 2023 Share Posted March 20, 2023 Good afternoon! How can I disable effects, transparency, when moving a form beyond its title when the form property Movable=True? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 20, 2023 Share Posted March 20, 2023 14 hours ago, artem_niko said: How can I disable effects, transparency, when moving a form beyond its title when the form property Movable=True? function window.beforeInit(sender, config) { config.ghost=false; } 1 Quote Link to comment Share on other sites More sharing options...
artem_niko Posted March 21, 2023 Author Share Posted March 21, 2023 14 hours ago, Sherzod said: function window.beforeInit(sender, config) { config.ghost=false; } Perfect! It's working But, why, if I'm writing code, when create dynamic UniForm, I'm not getting error, but and no get result? begin ... f.ClientEvents.ExtEvents.Values['window.beforeInit']:= 'function window.beforeInit(sender, config) {' + 'config.ghost=false;}'; ... end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 21, 2023 Share Posted March 21, 2023 Use UniEvents... 1 Quote Link to comment Share on other sites More sharing options...
artem_niko Posted March 21, 2023 Author Share Posted March 21, 2023 2 minutes ago, Sherzod said: Use UniEvents... Yes, that's right, I wrote it wrong. Thank you very much, everything works! 1 Quote Link to comment Share on other sites More sharing options...
albertovesx Posted March 23, 2023 Share Posted March 23, 2023 Wow, I did not know about this, it is eally nice 1 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.