XWidgetSoft Forum https://bbs.xwidget.com/ |
|
Function rsscore1OnUpdate(Sender) - HELP! https://bbs.xwidget.com/viewtopic.php?f=7&t=2765 |
Page 1 of 1 |
Author: | Armando [ March 20th, 2013, 3:55 pm ] |
Post subject: | Function rsscore1OnUpdate(Sender) - HELP! |
(sorry form my english!!!)) ABOUT THIS PIECE OF CODE: function rsscore1OnUpdate(Sender) { icon1.Hint = text1.Text; } Well, then, I have a question about this piece of code above: when the rsscore1 is automatically updated, icon1 will is shown a "hint" with the title of the RSS and its corresponding description? What I want? I want to do that: when de rsscore automatically updates, the icon1 (image) show a hint with the same text as text1 (text). In turn, text1 has as "binding core": rsscore1, and the "format core data" %item1_title %item1_description Thanks!!! |
Author: | Tony [ March 20th, 2013, 6:43 pm ] |
Post subject: | Re: Function rsscore1OnUpdate(Sender) - HELP! |
Do you mean the icon1's Hint auto display when rss update? but the icon1's hint only displayt when you mouse hover on icon1. I think you can add a image control A and load a PNG image looks like a Hint, and place a text control B on the A, and set A invisible when rss update , you set the B text and make the A visible, etc: function rsscore1OnUpdate(Sender) { B.text = text1.Text; A.visible = true; } |
Author: | Armando [ March 21st, 2013, 3:39 am ] |
Post subject: | Re: Function rsscore1OnUpdate(Sender) - HELP! |
Thanks TONY! I being trying, but i can't. I made this test widget. But don't works! Could you see it and correct it? THANKS! RSSautoshow.XWidgetPkg [557.55 KiB] Downloaded 264 times PS: I add some elements like button just to test the effect |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |