rgreat Posted May 16, 2017 Share Posted May 16, 2017 Tried this: Draw: TUniImage; UniSession.AddJS( '$("#"+MainForm.Draw.nm+"_id").find("img:first").load(function() { alert("!"); } );' ); But it's fire only once on page load. After that at runtime i do: Draw.Picture.Bitmap.Assign(SomeBmp); But event does not fire. Do i need to free and recreate Draw at runtime? Any ideas? 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.