Widget to display web page
from
Stardock Forums
Hi,
I am a developer and have just started looking into DesktopX, and compared with many other solutions out there I have to say that I like it quite a lot. OK, to get to the point:
I need to create a widget that will display any page (configurable) in a widget. At this point I am hardcoding the web address into the script, I'm pretty sure that I can figure out how to the customization allowing the web site to be set by the user.
I have been able to accomplish this to some degree by creating an object with the following code:
Sub Object_OnScriptEnter
Control.Navigate2 "http://www.somesite.com"
End Sub
But I am having the following problems with this method:
1. One is unable to do anything with the widget, and it can only by moved with a right-click. Is that normal?
2. I would like to display some sort of frame around it. I tried to set the option looking at the picture frame widget (which seems to do that in the States->Appearance tab), but this tab is not available in my object.
The frame is really the most crucial thing for me I believe at this point, so any help with this would be appreciated.
Thanks!
I am a developer and have just started looking into DesktopX, and compared with many other solutions out there I have to say that I like it quite a lot. OK, to get to the point:
I need to create a widget that will display any page (configurable) in a widget. At this point I am hardcoding the web address into the script, I'm pretty sure that I can figure out how to the customization allowing the web site to be set by the user.
I have been able to accomplish this to some degree by creating an object with the following code:
Sub Object_OnScriptEnter
Control.Navigate2 "http://www.somesite.com"
End Sub
But I am having the following problems with this method:
1. One is unable to do anything with the widget, and it can only by moved with a right-click. Is that normal?
2. I would like to display some sort of frame around it. I tried to set the option looking at the picture frame widget (which seems to do that in the States->Appearance tab), but this tab is not available in my object.
The frame is really the most crucial thing for me I believe at this point, so any help with this would be appreciated.
Thanks!
