One More To go...
last tutorial?
Sunday, May 27, 2007 by RomanDA | Discussion: DesktopX
I have been working out of town for what seems like a year now, but i hope to be in town for the next few days.
I have been working on these DX Tutorials for a while now, my original goal was to create 10, well, i have made 9 so far and only plan on doing 1 more (for now). The question of the day is, what would you aspiring DX coders want me to do this last tutorial on?
The plan was to do it on a INI type file, how to read/write data as well as show how to edit this info in a dialog box. But I want to make this something that people will actually want. I have had so little response on the last 3-4 tutorials, and would like this one to not end up like those.
So I will ask you.. but i need to know ASAP, so post some suggestions, the one i like the most (or gets the most comments) will win (if i know how to do it.. LOL), but i need to know by wednesday at the latest, so i can get it done before im shipped out of town AGAIN.
I really hope that someone has got some usage out of the previous tutorials.
Reply #3 Monday, May 28, 2007 7:40 PM
Thanks, but i think everyone is out enjoying the holiday.. maybe tomorrow
Reply #5 Tuesday, May 29, 2007 8:28 AM
Reply #6 Tuesday, May 29, 2007 9:25 AM
How to create independent clone widgets, that is when each widget has multiple objects that interact with one-another by name. When you make a clone (of the whole widget) it interacts with objects in the original widget. Yes you can use Object.Parent etc but what if the component objects are not parent/children?
Then what about Gadgets? How can you tell if another instance of the current gadget is already running? How would you best organise the Persistent states for each independent Gadget/Widget?
Is that enough to be going on with?
Reply #7 Tuesday, May 29, 2007 9:35 AM
Reply #8 Tuesday, May 29, 2007 11:53 AM

Reply #9 Tuesday, May 29, 2007 12:25 PM
Also wanted to say Thanks for all the work you have put into the script tutorials. I have used a couple of them and they worked great.
Reply #11 Tuesday, May 29, 2007 12:45 PM
Reply #12 Tuesday, May 29, 2007 1:07 PM
Look at the GalCivII Drive Meter Link IMPORT it into a empty desktop, look at the button on the edge of the item, it does exactly what you want, but it does it on mouse click not over, but that could easily be changed.
In the case of the Drive Meter it actually changes the width of the object, not just slides it, so there was a mask and some other things involved. But this could be a good tutorial. I like it best so far.
Reply #13 Tuesday, May 29, 2007 1:50 PM
It is not exactly what I was looking for but I think I can modify My Idea to work with it. It might even look better to expand it this way. And the mouse down is the way I would want it to work. I can see a lot of possibilities of being able to expand one object from another. IMHO I think it would make a great Tutorial.. I disabled all the script except for the button script and it still expands and shrinks. It was trying to access the floppy and was driving me nuts.. lol
I think the code in the button is all I would need and I sincerely hope so because the rest of the code scares the crap out of me...
Reply #14 Tuesday, May 29, 2007 2:05 PM
trying to think who i stole that from.. LOL (for you Zu!).....
I will look into this idea as a tutorial, how about.
Main object controls other objects
1. Showing/hiding an object with a click on main
2. Sliding object by clicking on main (using a mask)
3. Expanding/Shrinking object by clicking on main
This way we start with the easy stuff (object.visible = true/false) and move up from there.
Anyone like this?
Reply #15 Tuesday, May 29, 2007 2:09 PM
Edit: I need to refresh before I post!
Sounds like a good idea RomanReply #16 Tuesday, May 29, 2007 6:09 PM
Reply #17 Tuesday, May 29, 2007 6:13 PM

Reply #18 Tuesday, May 29, 2007 6:18 PM
Reply #19 Tuesday, May 29, 2007 6:54 PM
Thanks for the Links but I don't want it to dock to the edge of the screen. What I am looking for is a script that will allow one object to extend it's self from another object. I know that I can make one object a parent to another and then have it open and close. I want it to slide or roll out from another object. Example: Have a calendar slide open or slide closed from a main menu. I have had an idea in my mind for a long time but could never find a script that would allow me do it. I am trying to make the script from the GalCivII Drive Meter work. I almost had it working then BAM it blew up lol.... Still trying to figure out what I did wrong.
Reply #20 Tuesday, May 29, 2007 7:18 PM
Get it at sendspace
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 Sunday, May 27, 2007 9:22 PM
Trying to rack my brain for suggestion but, since I'm fooling around with xpath and CDO that's a little beyond what you're trying to accomplish.
PS. I hope they don't ship ya parcel post?