Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Components » View Thread |
Messages 1 to 4 of 4 total |
TFileInputElementExtended Multiple File Upload component |
Mon, Oct 31 2022 8:26 AM | Permanent Link |
Allen Hunt | This is incomplete work as I learn how to create components. Basically,
1) I copied the TFileInputElement from WebUI.wbs and TFileComboBox from WebEdits.wbs. 2) Renamed them. 3) Added Result.setAttribute('multiple',''); to TFileInputElementExtended.CreateDOMElement: THTMLElement 4) Added InterfaceManager.RegisterElementClass( TFileInputElementExtended, HTML_TAG_INPUT ); to TFileComboBox.InitializeProperties; (I don't know if this is right or not. I'm still trying to figure it out) 5) Put everything in one source file. 6) I probably didn't do the IFDEF declared TFileComboBoxExtended if the compiler is not in DESIGN mode but this seems to work until I figure it out. I haven't done a callback to show the files selected or the number of files. And I have made a property so that Multiple may be toggled. I did send Tim an email requesting this. I hope it helps you. If you have any explanations or better suggestions please let me know. Thank you! Best regards, Allen Attachments: tfilecomboboxextended.zip |
Mon, Oct 31 2022 1:42 PM | Permanent Link |
Walter Matte Tactical Business Corporation | Thanks Allen - It will help me learn more too, and will pass on anything I might learn!
Walter |
Wed, Nov 2 2022 5:22 AM | Permanent Link |
Allen Hunt | Walter Matte wrote:
> Thanks Allen - It will help me learn more too, and will pass on anything I might learn! Your welcome and Thank you! Tim did reply to my email and said he would add multiple file support to TFileComboBox in the next build. Best regards, Allen |
Wed, Nov 2 2022 6:12 PM | Permanent Link |
erickengelke | Allen Hunt wrote:
> ... Very cool. Well done. > Tim did reply to my email and said he would add multiple file support to TFileComboBox in the next build. That will be appreciated too. Erick EWB Programming Books and Component Library http://www.erickengelke.com |
This web page was last updated on Friday, September 13, 2024 at 03:42 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |