Freeman35 Posted October 20, 2016 Posted October 20, 2016 Hello, when I try this code "UnimLoginForm.ClientEvents.UniEvents.Add('');" in "TUnimLoginForm.FormCreate" I get error "An instance <UnimLoginForm> already is being created" I wanna add some function in runtime. this is for easy use for checked each forms has added unievent(s) How to do this? trail 1321 Thank you Quote
Administrators Farshad Mohajeri Posted October 20, 2016 Administrators Posted October 20, 2016 You don't need to use "UnimLoginForm" instance. Simply use: ClientEvents.UniEvents.Add Quote
Freeman35 Posted October 22, 2016 Author Posted October 22, 2016 Thank you Farshad, this my code: ClientEvents.UniEvents.Add('function window.beforeInit(sender, config){config.showAnimation ={type: ''slide'', direction: ''right'', duration: 1000,};}'); I'm not get error now, but application not work. I mean, just square and loading... text show, small square moving, but loginform or any form not showing. and not any error showing but stop like that. Quote
Administrators Farshad Mohajeri Posted October 22, 2016 Administrators Posted October 22, 2016 "ClientEvents-Dynamic" demo will help you. Quote
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.