Page 1 of 1
Posted: Sat Nov 23, 2002 8:25 pm
by BackupUser
Restored from previous forum. Originally posted by Kale.
here is a small app developed to handle tracking direct debits (monthly household bills, etc...) I find this a great help to managing my own household, so i thought i would release the code for beginners to learn from and because its handy

this is the fourth version because others were in other languages.
There are 2 version in the zip a Win9* and a WinXP version purely for asthetics. all source and graphics are included.
Download: http://www.garyw.uklinux.net/PB/Finance ... 0v4.02.zip
There is a small bug

i have found but can not seem to explain. If you click the ListIconBox's heading to sort sometimes it doesn't sort correctly, to demonstrate this click on the headings in this order:
1) Cost
2) Bill to be Paid
3) Date of Debit
the list is now wrongly sorted, click the 'Date of Debit' heading again to sort correctly.

wierd uh?
This app has been developed with Pounds Sterling in mind but i guess it could easily be changed to another currency.
Any feedback is greatly appreciated!
--Kale
New to PureBasic and falling in Love! 
Posted: Sat Nov 23, 2002 11:25 pm
by BackupUser
Restored from previous forum. Originally posted by tinman.
Well, it never sorts correctly the first time you click on a new column here
Also, I'd suggest that when a column is clicked on for the second time that you reverse the sort order.
When you put 0 in the date box the program tells you that you should enter a valid date between 0 and 31.
I don't know if you should be able to enter an MOT/road tax expiry date that is 6 years away
There appears to be a sizing gadget in the bottom right corner of the window, but the window is not sizeable.
Finally, I hope you handle the payment being made on 31st February properly
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
Posted: Sun Nov 24, 2002 12:08 am
by BackupUser
Restored from previous forum. Originally posted by PB.
> There are 2 version in the zip a Win9* and a WinXP version purely
> for asthetics.
Your images have the wrong background colour on my system -- you need
to use graphics with a transparent background. See this thread for
more info:
viewtopic.php?t=2564
Posted: Sun Nov 24, 2002 12:45 am
by BackupUser
Restored from previous forum. Originally posted by Kale.
Finally, I hope you handle the payment being made on 31st February properly

how do you mean? any more info?
--Kale
New to PureBasic and falling in Love! 
Posted: Sun Nov 24, 2002 12:59 am
by BackupUser
Restored from previous forum. Originally posted by PB.
> > I hope you handle the payment being made on 31st February properly

>
> how do you mean? any more info?
February only has 28 or 29 days (never 30 or 31).
Posted: Sun Nov 24, 2002 1:22 am
by BackupUser
Restored from previous forum. Originally posted by Kale.
February only has 28 or 29 days (never 30 or 31).
yup i know, but if you had a debit/bill date from a bank/etc.. then it wouldn't be on the 30-31 of feb. It would be
New to PureBasic and falling in Love! 
Posted: Sun Nov 24, 2002 1:31 am
by BackupUser
Restored from previous forum. Originally posted by Kale.
BTW the size gadget is purely asthetical

(i like the look of them!)
--Kale
New to PureBasic and falling in Love! 
Posted: Sun Nov 24, 2002 1:43 pm
by BackupUser
Restored from previous forum. Originally posted by tinman.
Originally posted by Kale
February only has 28 or 29 days (never 30 or 31).
yup i know, but if you had a debit/bill date from a bank/etc.. then it wouldn't be on the 30-31 of feb. It would be <=29
Yes, as long as your software recognises that and changes the "days left before payment" part in February
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.40)
Posted: Sat Apr 12, 2003 6:27 pm
by BackupUser
Restored from previous forum. Originally posted by Kale.
well if nothing more, it provides a good newbie guide for ListIconGadgets
--Kale
In love with PureBasic! 
Posted: Mon Apr 14, 2003 7:55 pm
by BackupUser
Restored from previous forum. Originally posted by Num3.
Just one thing, don't use window animation calls. It will crash your app on windows NT...
--
Kind Regards
Rui Carvalho
Old programmers never die... They branch into a subroutine...
Posted: Mon Apr 14, 2003 10:52 pm
by BackupUser
Restored from previous forum. Originally posted by Kale.
Thanks for the tip Num3, they are all commented out in there

i thought i wouldn't use them after all, i just thought they were a little overkill and a bit cheesy. I left them in there just incase i wanted to produce this 'fade in' effect in another program and didn't want to lose working code.
--Kale
p.s. heres another in a webpage (uses cookies):
http://www.garyw.uklinux.net/JS/DebitCheck%20v3.3.htm
In love with PureBasic! 