Daryl McMurray Posted February 26, 2018 Share Posted February 26, 2018 I have created a new property editor for the UniGui TUniClientEvents property in UniGui Controls. This is a single editor that can edit both the ext JS Events and the Uni JS Events for any UniGui component, form or frame. Main features: - Only displays the events for which a handler has been created - no more scrolling when you just want to modify an existing event. - All extJS events can be added for all JSObjects of a given component. Quick filter for finding possible events. - Non Modal - you can have multiple editors open for different UniGui components/forms/frames at the same time and Copy / Paste between them. - adds existing events to the context menu (Right click) in IDE so you can instantly jump to any existing event for a given component and begin editing. - allows access to original editors supplied with UniGui via button or context menu. History: When working with UniGui, I found I was spending a lot of time searching through JS event lists to find the one or two that I was using and needed to edit or tweak. I also found it unproductive to have to keep closing one editor to open and work with the events of another as I was often copying JS code from multiple events of one component to another. This editor is the result of my efforts to improve the productivity of this amazing framework. If any of you find this useful, please let me know. I have been using it exclusively for a few weeks now and believe it to be bug free. All feedback is appreciated. Updated March 1, 2018 - Corrected issues with using in XE5 (Thank you @mika). Included Package projects for Delphi versions (Thank you ) UniClientEventsPropEditor.zip 7 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 26, 2018 Share Posted February 26, 2018 Very good job, thanks for sharing! Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted February 26, 2018 Share Posted February 26, 2018 Excellent, it follows one more facilitator for installation of the same UniClientEventsPropEditor.rar 2 Quote Link to comment Share on other sites More sharing options...
Daryl McMurray Posted February 26, 2018 Author Share Posted February 26, 2018 Thank you , That will make it much easier for people to install and use Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted February 27, 2018 Share Posted February 27, 2018 Master Farshad, I hope your contribution will be included as a native form in the next version of unigui, thank you very much for your invaluable contribution. Quote Link to comment Share on other sites More sharing options...
Georges Soares Posted February 27, 2018 Share Posted February 27, 2018 Very good Quote Link to comment Share on other sites More sharing options...
mika Posted February 28, 2018 Share Posted February 28, 2018 I can't get this to work. I use XE5 and latest uniGUI (1.0.0.1425). I get following errors: Line: 17: System.ImageList // Unit does not exist Line: 540: LocalClientEvents.ExtEvents.AddPair(EventItem.EventName,EventItem.EventPrototype); // Method AddPair does not exist Line: 548: LocalClientEvents.UniEvents.AddPair(EventItem.EventName,EventItem.EventPrototype); // Method AddPair does not exist Can anyone help with this? Quote Link to comment Share on other sites More sharing options...
Daryl McMurray Posted March 1, 2018 Author Share Posted March 1, 2018 Hi Mika - it looks like there are some parts of the editor that XE5 doesn't like. I'm working on it and will post here when I've got it corrected. Quote Link to comment Share on other sites More sharing options...
mika Posted March 1, 2018 Share Posted March 1, 2018 Thank you very much Daryl! Quote Link to comment Share on other sites More sharing options...
Daryl McMurray Posted March 1, 2018 Author Share Posted March 1, 2018 I've solved it. For interest sake... First, the System.ImageList was left over in my uses from something I had been trying and was no longer needed... I've removed it. Second, the AddPair method of the Tstrings object doesn't exist in in XE5 - so I just replaced the call with: LocalClientEvents.ExtEvents.Add(EventItem.EventName + '=' + EventItem.EventPrototype); And lastly, if you had gotten past that, you would still had an error because I've learned that in XE5, you can not use a #0 as a quotechar in a Tstrings for delimitedtext. You can find the new version here -> UniClientEventsPropEditor.zip I have also updated the original post to contain the corrected code. Thank you Mika for your feedback. Quote Link to comment Share on other sites More sharing options...
mika Posted March 2, 2018 Share Posted March 2, 2018 This is very much appreciated. Thank you very much Daryl! It was very nice of you to update this for XE5 also. Quote Link to comment Share on other sites More sharing options...
Daryl McMurray Posted March 2, 2018 Author Share Posted March 2, 2018 No problem - I put it up here so that people could use it - I'm glad that people are interested. Please let me know how it works for you, and if you find any other issues. Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted December 27, 2018 Share Posted December 27, 2018 News Compatible with the latest version of uniGui. Delphi 2007 - 10.3 RIO UniClientEventsPropEditor.rar Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted June 13, 2019 Share Posted June 13, 2019 Anybody test this in RIO with unigui 1.50.0.1484 ? There is no error while installing, but IDE editor not show? Quote Link to comment Share on other sites More sharing options...
Daryl McMurray Posted June 18, 2020 Author Share Posted June 18, 2020 Haven't been back here for a while... Was looking at getting back into UniGui with all the amazing updates - Wondering if anyone is actually still using my UniClientEvents Property edtior - should I continue to post updates/changes? 1 Quote Link to comment Share on other sites More sharing options...
azago Posted June 25, 2020 Share Posted June 25, 2020 Yes Quote Link to comment Share on other sites More sharing options...
Fred Montier Posted August 10, 2020 Share Posted August 10, 2020 any updates ? Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted November 20, 2021 Share Posted November 20, 2021 News Compatible with the latest version of uniGui 1.90.0.1555 and ExtJS 7.4.0. Delphi 2007 to Delphi 11.0 Alexandria UniClientEventsPropEditor.rar 1 Quote Link to comment Share on other sites More sharing options...
Naina DDK Posted July 11, 2022 Share Posted July 11, 2022 Please can you share your propertyeditor code Quote Link to comment Share on other sites More sharing options...
Marlon Nardi Posted November 11, 2023 Share Posted November 11, 2023 News Compatible with the latest version of uniGui 1.95.0.1575 and ExtJS 7.5.1. Delphi 2007 to Delphi 12.0 Athens UniClientEventsPropEditor.zip 3 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.