KH0RKHE Posted August 31, 2021 Share Posted August 31, 2021 given a JavaScript library, are there any resources on how to define a UniGUI component out of it? Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 31, 2021 Share Posted August 31, 2021 Hello, Sorry, your question is not clear to me. Quote Link to comment Share on other sites More sharing options...
KH0RKHE Posted August 31, 2021 Author Share Posted August 31, 2021 Hello Sherzod, Allow me to clarify. Let's say I find a nice JavaScript component, for the sake of example, a notification bubble that vanishes after a while. I would like to make a uniGUI component out of that, meaning I want to be able to programmatically create this component using Delphi code. In the case of other components, I may even want to drop it at design-time. So, a Delphi component (class) must be defined to "wrap" the underlying JavaScript code: I can now create my component object by simply "TMyNotification.Create (aOwner)". this Delphi class may even be registered, so I can drop the component on the form, same as a TUniPanel. I would like to better understand how to achieve this "wrapping", or the layer between Delphi code and JavaScript code, for some existing JavaScript component? Thanks! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 1, 2021 Share Posted September 1, 2021 Hello, You can analyze these demo examples: \FMSoft\Framework\uniGUI\Demos\Desktop\Basic jQuery \FMSoft\Framework\uniGUI\Demos\Desktop\CustomControl-xx 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.