Published on April 29, 2008 By RPGFX In Skinning
ok, if any of you expert widget makers out there would be willing to make me a very specific widget, let me know.  What I'm looking for is this...

An age widget, which simply uses some kind of script to calculate someone's age based on me entering their date of birth or something like that, and displays just their name and age.  And the age would change automatically when the person has a birthday.  Is that possible?  I'm sure one of you amazing widgeteers out there can do this.  I've got alot of cousings and nephews and uncles who's age I can never remember.  And rather than having to look up birthdays all the time, then figure out their age from that, I'd like my computer to do it for me...   Ok, now here's the annoying part.  I want it to be pretty simple looking... just a basic white background, with a little shadowing and bevelling on the edges, but not much.  The width needs to be 138, (the width of all my other widgets I use) and the height of course would/could expand depending on how many names are on the list... And 8 pt Seogue for the font, in black.  And just a simple little button that brings up a dialog to add names and birthdates...

I know I'm being kind of annoying and specific, but hey, if I'm going to request a widget, I might as well take all the guess work out of it, right? 

Below is a mock up that I came up with...

Thanks so much ahead of time if anyone decides to give this a go...



Comments (Page 3)
4 Pages1 2 3 4 
on May 21, 2008
wowwee. Looking better and better every day. Can't wait to have it...
on May 21, 2008
Thanks guys.

I would love to look over this code when its all done to see how your doing the row/col thing its something i have always struggled with in DX.


I hear you. Once I got multidimensional array's down part it became easier. Looking at some of Skarns' objects is where I learned. Basically you just calculate the position by dividing the object height by the number of variables(rows) in the array.

It's going to be released as a widget;so, the code will be viewable but, I think it's still easier to grasp from Skarn's work.
on May 21, 2008
I have used a lot of "datasets" as they work like databases and i do a lot of web design so, it all links together. will have to check it out.
on May 21, 2008
Cool. Looking for the finished product.
on May 21, 2008
Patience young jedi!

There's 57 functions/sub procedures and I haven't added the alarm feature, sounds, skinning or font themes yet! Those should go fairly quick it's the minutiae of sizing, hiding, etc. that takes the most time.
on May 21, 2008
My goodness!

This is looking awesome, SirS. It's amazing the amount of effort you've put into this. Good work!      
on May 30, 2008
I've affectionately codenamed this "Big Daddy" due to the script size.

Anyways, I've put aside making this skinnable for the time being due to other commitments.
It should be easy enough to skin on your own without touching the script.

Just the alarm function and a better basic skin & we're good to go...at least until you guys find what I missed!

on May 30, 2008
Looks great
on May 30, 2008
I had no idea of how much work went into these things. "Verrry Interesting"!
on May 30, 2008
Oops, mislabeled open and closed...sort of obvious though.

I had no idea of how much work went into these things. "Verrry Interesting"!


Some of them can go really fast and others don't. Just like when you are putting a skin together and tweaking some of the finner items takes time the same goes with scripting various functions together.
on May 30, 2008
glad to see you haven't given up on it. Looking good!
on Jun 10, 2008
Take it for a test run.

Head these warnings or perish in a pit of fire.

When you first run, you'll get a message box asking for the folder and the data file.
I've included one that has 25 names/birthdays. Browse to the folder in the folder dialog
and type "birthday" in the file name.
- Uncheck Use settings file if you want to use the registry to store all of the settings
- Make sure to check the "Use Existing file" since there is one provided
- The widget will close and you'll have to restart it.
- Two of the default font settings for some reason don't show up, so you'll have to edit the Title and Page Status Text settings
- Drag the bottom sizer to resize the height and hit the toggle button (bottom right corner) to shrink/grow the widget.
- Page Navigation buttons are in the header and footer at the right side

Things to know
- I'm not sure if the sort function will work for everyone as it uses ado.
- The cleanup selection in the menu generates a vbscript file in the directory and will remove all entries created. This is needed even if you use a settings file.


BirthdayTracker@Box.net
on Jun 11, 2008
well, unfortunately, this widget is not working for me in a number of ways. the resize won't work... the only way I could close it was with ctrl/alt/del and end it there. and when I move one part of the window, both parts move together. I can't make them work independently. And most importantly, I get no menu on right click at all. Has anyone else tried it out? Are you getting any of these problems too?
on Jun 11, 2008
Good to know. Looking for usability issues like this because of the animation/paging features.

The normal right click menu should a appear wherever the "move" cursor is but, you should also have access to it in the system tray.

The widget menu is a a left click menu at the top left just above the name title and your cursor will change to a hand when you hover it plus show a tooltip called "menu".

Want to know more about the resize issue. There are only two sizers, one on the right side (left-right arrow) and one on the bottom (up-down arrow). The bottom right corner (toggle button) has no resizing and I know the button is too close to the page down button. If you drag the bottom sizer beyond the list it should snapback to the bottom of the list.

Did you try the column sort yet? Click on the Name or Age Column Title.

It shouldn't matter but, what version of DesktopX are you using?

PS. I know there needs to be documentation but, I'm using you guys as guinea pigs because the majority of people ignore the documentation.
on Jun 11, 2008
Using DX 3.50.060 and XP SP2

First time I loaded it up it said Loading... and the alarm kept going off and it resized itself a few times lengthwise. I let it go for a few minutes to see if it would fix itself and it didn't.

Second time it stayed the small box and still said Loading... and had the alarm going off. When trying to click the menu area a few different times it would show the hand and say menu about 50% of the time and when I clicked it it made the sound effect for the menu but didn't show a menu.

Third time had same results as the second.

4 Pages1 2 3 4