Yet another DesktopX ideas.
Friday, March 18, 2005 by XX | Discussion: DesktopX Wishlist
New ability to change fonts.
Object.Font="Microsoft san seref"
Object.Fontsize=76
Object.text="Get the idea?"
Ability to split the entire script into "areas" with 2 viewing modes, "One Page" and "Sectioned"
In one page mode, the entire script would look like this:
'Called when the script is executed
Script.Group Wakeup
Sub Object_OnScriptEnter
Msgbox "I'm awake!"
End Sub
End Group Wakeup
Script.Group Exit
'Called when the script is terminated
Sub Object_OnScriptExit
msgbox "Goodbye!"
End Sub
End Group Exit
Notice the additional code? When it's switched to sectioned, and that combo box with script group list is on just "Wakeup"...
Sub Object_OnScriptEnter
Msgbox "I'm awake!"
End Sub
That's it. If you want to see Exit group, you just change combobox to "Exit" and you can see this:
Sub Object_OnScriptExit
msgbox "Goodbye!"
End Sub
The only way to add new script.group sections is to switch to one page mode. For such a small script such as this example, it's useless, but some of object has very complex code, and this could be more useful to lessen clutter.
Reply #2 Saturday, March 19, 2005 12:21 AM
My idea is customizable by user while your version is based on functions or subs.
Either way will work for me.

The ability to change font size and kind would be amazing too.

Reply #4 Saturday, March 19, 2005 2:05 PM
| Object.Font="Microsoft san seref" Object.Fontsize=76 Object.text="Get the idea?" |
I agree with this one, this would be REALLY cool to have. I'd also be able to set bold, underline etc.
Reply #5 Tuesday, March 22, 2005 3:34 AM
Styles would be more flexible that scripted fonts (though this would be included too), because you could set an object's text to a style and then you could rapidly change the complete look of an object by editing the style rather than each individual object.
Reply #7 Wednesday, March 23, 2005 3:37 AM
Reply #9 Friday, March 25, 2005 9:41 AM
You could use Drawtext(Container,"Test Text",X,Y,Color,Font,FontSize....)
Which would draw text in that container, without having to use a text object. It would then be possible to create your own controls like transparent text box,list box etc. without having to create a lot of objects that are text.
You could then use Container.Clear to clear the container.
I have created 2 or my own transparent listboxes in javascript. The only way you can highlight text is to create or clone a lot of text boxes and change the color of the selected one or change the text by putting a "*" in front of the selected text. It would be far easier if i had drawtext.
Reply #10 Friday, March 25, 2005 12:49 PM
Reply #11 Friday, March 25, 2005 1:59 PM
listing the sounds with their associated mouse states would be a time saver for us modifying/developing themes and widgets...

Reply #13 Sunday, March 27, 2005 9:36 AM
Even more useful for my current object with is a listbox. Now I need to create and delete text object and selection objects and iterate through all of them. With drawing abilities I could simply clear what I've drawn and redraw the listbox.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Friday, March 18, 2005 7:04 PM