Small gift for the community. Given the current state of WebDialog and the removal of the palette version, I integrated the jsPanel library into Xojo.
Obviously not all the functionality is present because I integrated only those that I needed.
For those interested you can download the example with the class here.
I will try to see if there is a way for a child to minimize within the parent. I can only move the child within the parent and maximize works as expected.
Unfortunately when specifying the controlID it has this behavior which is not up to me. I canāt tell if itās a bug or intentional. There would be also a fourth parameter that is used to disable the function and involves manually writing code to place the dialog where you want. To get the effect you are looking for just set it to āparentā.
Hi Attilio,
thank you for share this usefull module.
Iām not an expert user of Xojo, I try to find a way to run a method in the calling form when on the jsPanel I push a button.
I try with eventdefinition/addhandler/raiseevent but without success. Is there a way to do this?
Could you give me some suggestions?
Hi oscar,
unfortunately Iām on vacation these days and have a hard time helping you. If you have patience to wait a few days I will try to create an example. Anyway from what I understand you have a WebContainer with a WebButton and what you need is to call a method that is present on the webpage? The process you described is correct. Define a new event (EventName), invoke the event with āRaiseEvent EventNameā when you click the button. When you create the webContainer with (var t as new WebContainerpersonal) you have to add the directive AddEvent t.EventName,AddressOfMethodName . Another way to do the same thing is to use delegates.
Sorry for the unclear answer. If you canāt solve the problem I will try to post an example next week. If you need anything else feel free to write me in private
I would like to tell you that I highly appreciate your free gift to Xojo users. This utility is so great! Just a quick question and sorry for my ignorance. Where can I get the resource list of the HeaderLogo property? Is it from FontAwesome or Bootstrap?