XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Guide to converting Yahoo Widgets to Xwidget https://www.bbs.xwidget.com/viewtopic.php?f=10&t=6660 |
Page 1 of 1 |
Author: | yereverluvinuncleber [ April 30th, 2017, 9:19 am ] |
Post subject: | Guide to converting Yahoo Widgets to Xwidget |
Guide to converting Yahoo Widgets to Xwidget Pt1 Part I of a six part series http://yereverluvinuncleber.deviantart.com/journal/Guide-to-converting-Yahoo-Widgets-to-Xwidget-Pt1-677100991 Posted the guide at DeviantArt as it will receive a lot more visibility there, this forum is a little dead for my liking. It has already had 239 views there and rising daily... only two here! Dead or what? The guide is a work-in-progress, each page will be updated as more information arises, page VI is being heavily modified now but most other pages are fairly accurate and complete. Please feel free to add your own observations here or on Deviantart. |
Author: | Jimking [ May 2nd, 2017, 3:05 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Very useful. Thank you ![]() (DA has millions of users. Do not expect the same response here from less than 3000 members..) |
Author: | yereverluvinuncleber [ May 5th, 2017, 10:44 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Thanks for responding. 388 viewers so far on DA. I happy with that. |
Author: | Jimking [ May 5th, 2017, 10:55 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
I think that it will be better if I move this topic here: Widget Develop Documents: viewforum.php?f=10 |
Author: | yereverluvinuncleber [ May 9th, 2017, 4:54 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Thanks for that Jim, can I ask that when and if you have time you have read-through. I'd like your response on any technical matters that you feel could be done in a different way. For example, setting colours in code does not seem to work at all so some response in that context would be appreciated. |
Author: | Jimking [ May 9th, 2017, 10:41 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
I will do it as soon as possible. From a quick reading I see that it requires time, work and advanced knowledge of js. I'm not so expert in java script and you know that I'm always more for the "direct way" when I design something trying to use the Designer in the direct way or finding "tricks" than use code. But I fully understand, and I saw it from my "complicated" designs, that the js is inevitable if you want to create cool stuff and go futher.. Many times I had so many ideas but my limited knowledge forced me to stop from add some extra functions. Since my free time is limited this period it will be more easy show me the part to check, about the colours and especially when and how you want to use them.. |
Author: | yereverluvinuncleber [ May 11th, 2017, 12:56 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
I have simply failed to change colours of any object in code, when I managed to change a colour it was random! The thing is that as Xwidget supports full jscript anything that a yahoo widget can do, xwidget can do, so there is no need to use the Xwidget cores and additional functions. This means that the code for a yahoo widget and an xwidget can be identical. This is a real win. Also, the code will work with a few tweaks as web widgets, so it make great sense to use Tony's stuff as little as possible for straight conversions. So basically I don't really want to know how to do things within the IDE, that is easy and in any case not applicable, if it needs to be done in code I just need to find out the method that works. That is what my guide was about. I have simply failed to change colours in code. It almost works. But not quite. |
Author: | yereverluvinuncleber [ May 11th, 2017, 1:09 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
The other thing is filters on dialog boxes, being able to add a filter. |
Author: | yereverluvinuncleber [ May 11th, 2017, 1:10 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
And capturing a key press at any time while the widget is running. I have workarounds for all of these but I need to know what if any options exist. |
Author: | Jimking [ May 11th, 2017, 4:31 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Quote: I have simply failed to change colours of any object in code, when I managed to change a colour it was random! For the colours I need more specific info because there are some js codes that I have used, so I need to know what exacty you want to do. For example if you want to change colour using text, roundline, progress bar..or whatever. If you want to add the possibility to change the colour with clickon or right click option then yes you need js. But for the rest or you can use the designer and the values there playing with the effects or you can create pngs with various colours and approach the design in a whole new way. But I as I said give me more "practical" details.. Quote: The other thing is filters on dialog boxes, being able to add a filter. Filter? You mean add effects-like on the dialog boxes? The designer itself offers some options to modify an image without external work. Even when I want something more special I use GIMP to modify it. Or I understood wrong and you mean something else.. Quote: And capturing a key press at any time while the widget is running. I used this feature for key press and mouse functions (maybe you find my examples not exactly you're looking for but I think that they will be useful) http://jimking.deviantart.com/art/Weath ... -470517440 http://jimking.deviantart.com/art/Broke ... -452784862 http://jimking.deviantart.com/art/Raind ... -467534607 http://www.deviantart.com/art/I-pad-1-339438490 (by subhanulhaque, that captured all the keys) |
Author: | yereverluvinuncleber [ May 11th, 2017, 9:48 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
I assume that the keypress widgets use the isKeyDown in a timer. That is very inefficient. I am looking for something like widget.onKeyDown(); |
Author: | yereverluvinuncleber [ May 11th, 2017, 9:50 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Quote: The other thing is filters on dialog boxes, being able to add a filter. No, I mean a dialog box filter. You open a file dialog box to select a file. fileName = openFileDialog(""); You only want to open XML files so you apply an input filter of "*.xml" so the dialog box only lists xml files. |
Author: | yereverluvinuncleber [ May 11th, 2017, 9:52 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Quote: if you want to change colour using text, roundline, progress bar! Yes - those - all of them. |
Author: | yereverluvinuncleber [ May 11th, 2017, 10:19 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Quote: http://jimking.deviantart.com/art/Weath ... -470517440 http://jimking.deviantart.com/art/Broke ... -452784862 http://jimking.deviantart.com/art/Raind ... -467534607 http://www.deviantart.com/art/I-pad-1-339438490 (by subhanulhaque, that captured all the keys) Nope, not useful. Especially not the last. That isn't capturing keypresses. It is simulating an on-screen keyboard so it is capturing mouse events not keyboard events. We know the onkeyDown function works on edit boxes but it doesn't work on anything else, I want to capture any keypress in general for the whole widget not for one or two edit boxes. Basic stuff to capture a keypress. |
Author: | Jimking [ May 11th, 2017, 10:38 am ] |
Post subject: | Re: Guide to converting Yahoo Widgets to Xwidget |
Hmm.. I think that @meme and @digigamer can help you more at this point. They will know if this it's possible at the end or not.. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |