Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Components » View Thread |
Messages 1 to 5 of 5 total |
Property Editors |
Tue, Jul 7 2015 7:48 AM | Permanent Link |
cwsymons | Hi,
I want to write a component but I want to register my own property editor. Is this possible? tia Craig |
Tue, Jul 7 2015 2:10 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Craig,
<< I want to write a component but I want to register my own property editor. Is this possible? >> Not at this time, no. That type of functionality is going to require some items that aren't in the IDE yet, namely registering native-code DLLs for handling the property editing. However, there are ways to "customize" the property editing, including using lists and translating to/from string representations. If you can give me an idea of what you're trying to do, I can give you more information on how you could do it with EWB 2. Tim Young Elevate Software www.elevatesoft.com |
Tue, Jul 7 2015 5:57 PM | Permanent Link |
cwsymons | HI Tim,
I am trying to create a TreeView component. As you say, I could represent it using strings. The main hurdle is needing to be able to handle the displaying of the stringlist editor so I could populate the editor prior to being displayed and also depopulate the editor after the ok button is pressed. regards Craig |
Thu, Jul 9 2015 12:50 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Craig,
<< I am trying to create a TreeView component. As you say, I could represent it using strings. The main hurdle is needing to be able to handle the displaying of the stringlist editor so I could populate the editor prior to being displayed and also depopulate the editor after the ok button is pressed. >> Sorry about the delay - I set up this new newsgroup and forgot to set my newsreader to sync it. Based upon my reviews on creating a treeview control during EWB 2 development, I came to the conclusion that providing design-time treeview population would be a non-starter, most notably due to the lack of being to able to create decent property editor dialogs. There are two (undocumented) modifiers available for properties to handle converting non-string-properties to strings for editing purposes, and they look like this: property MyProperty: Integer read FMyProperty write FMyProperty get GetMyPropertyAsString set SetMyPropertyAsString But, they won't help with getting the strings edited in the string list editor, at least not for now. I'll do some more playing around with things to see if I can make any additional progress, and will report back here if I'm able to come up with something more useful for you. Tim Young Elevate Software www.elevatesoft.com |
Thu, Jul 9 2015 5:50 PM | Permanent Link |
cwsymons | Thanks Tim
|
This web page was last updated on Thursday, March 28, 2024 at 06:05 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |