Keeper GSPOC (simplistic info manager. Source project

Share your advanced PureBasic knowledge/code with the community.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

**Updates** (Upload tonight)

Drag and drop an item between one category and another

Not allowed to drag to "No Category" category, makes no sense.

Pressing RETURN on the main screen checks WHERE it has been pressed:
.EditCategory if on category tree
.EditItem if on title list
.SearchData if in the string search box

More procedures renamed to keep in line with 'data' rather than 'Password' or 'Keeper'. I had lots of legacy procedures that needed renaming.

Main form control bar now remember the state and is no longer reversed.

Reminder on window title what the shortcut keys list is. This list (and the key for it) is automatically updated from the MyConstants file when you updated to your preferred shortcuts.

Record number and title selected are inserted into the top row of the detail pane in case title list has lost focus and you forget which record you were on

Tootltip text on statusbar has been updated for all the extra buttons (I hope)

Dragging and dropping on category bar doesn't change category any more as change event is disabled on it. Was too distracting! The change event on the title list still is active though.

SearchString field checks EventType now as merely activating the gadget didn't clear the cue, even when you pressed RETURN to start the search. Strange things were happening.

Can't think of anything else. Anyone??

**Uploaded** Couldn't wait.
Amateur Radio, D-STAR/VK3HAF
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

Did notice something strange. I can drag and drop the first time and the database doesn't always get updated with the new category. I sometimes have to do it twice (???) to work once.

Extensively debugged before and after the drag and the routing is making it to the database command with the right category and record number, it just doesn't seem to work first time for some real reason.

And there are no database errors, the DatabaseUpdate command succeeds but the record doesn't update???

Don't know why.
Amateur Radio, D-STAR/VK3HAF
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

Startup password and new password windows are fixed, they no longer have the focus stolen from their string boxes on unhide.

Still cannot figure out the problem in the post above though.

Will upload the current build tomorrow?

Anyone have any ideas or suggestions please? Or should I move on to something else? (What, I don't know. Moowing the lawn maybe..)
Amateur Radio, D-STAR/VK3HAF
User avatar
electrochrisso
Addict
Addict
Posts: 980
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Keeper GSPOC (simplistic info manager. Source project

Post by electrochrisso »

Fangbeast wrote:Startup password and new password windows are fixed, they no longer have the focus stolen from their string boxes on unhide.

Still cannot figure out the problem in the post above though.

Will upload the current build tomorrow?

Anyone have any ideas or suggestions please? Or should I move on to something else? (What, I don't know. Moowing the lawn maybe..)
Forget the lawn Fang, you gotta finish off your masterpiece. :)
PureBasic! Purely one of the best 8)
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

electrochrisso wrote:
Fangbeast wrote:Startup password and new password windows are fixed, they no longer have the focus stolen from their string boxes on unhide.

Still cannot figure out the problem in the post above though.

Will upload the current build tomorrow?

Anyone have any ideas or suggestions please? Or should I move on to something else? (What, I don't know. Moowing the lawn maybe..)
Forget the lawn Fang, you gotta finish off your masterpiece. :)
You are such a sensible fellow, you must be family. Far too hot to do mowing now, even if that young, pregant 25 year old skinny bean next door is hell bent on shaming me into it, I will not succumb I tell you!!

But, what else is there to do apart from that one bug??? Quick, give me some ideas to keep me inside or I will no longer have excuses to not go outside and bake my tiny brain cells!!!
Amateur Radio, D-STAR/VK3HAF
User avatar
electrochrisso
Addict
Addict
Posts: 980
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Keeper GSPOC (simplistic info manager. Source project

Post by electrochrisso »

You are such a sensible fellow, you must be family. Far too hot to do mowing now, even if that young, pregant 25 year old skinny bean next door is hell bent on shaming me into it, I will not succumb I tell you!!
Ok Fang! 25 and pregnant what's going on their mate, nudge nudge :wink: :wink: :lol:
PureBasic! Purely one of the best 8)
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

electrochrisso wrote:
You are such a sensible fellow, you must be family. Far too hot to do mowing now, even if that young, pregant 25 year old skinny bean next door is hell bent on shaming me into it, I will not succumb I tell you!!
Ok Fang! 25 and pregnant what's going on their mate, nudge nudge :wink: :wink: :lol:
No, no, no, a thousand times no!! Get your mind out of the gutter and on to the business at hand sir! You have been drinking far too much of the Darling river water again.

I need suggestions for this code, now hop to it you Darling river Sheep rooter!

Better still, you do some work on it for a change:):)
Amateur Radio, D-STAR/VK3HAF
User avatar
electrochrisso
Addict
Addict
Posts: 980
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Keeper GSPOC (simplistic info manager. Source project

Post by electrochrisso »

I need suggestions for this code, now hop to it you Darling river Sheep rooter!

Better still, you do some work on it for a change :) :)
Ok Sir Fang, I have just downloaded your latest version, I will have a look before it gets too hot, it is already 30c here and I don't have air conditioning, I can feel a Darling River dunk coming on. :)
And you forget again, I am into Goats these days. :P
PureBasic! Purely one of the best 8)
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

Ok Sir Fang,
Oh thank you so very much. Not only do I look old and ugly but now you have added 20 years on to my face with that "Sir" business. You bastard!!
I have just downloaded your latest version,
Correction, latest PERversion!
I will have a look before it gets too hot, it is already 30c here and I don't have air conditioning, I can feel a Darling River dunk coming on. :)
Don't forget that when you are under and a carp slips up your crack that you should have worn a wetsuit!! Slippery little suckers.
And you forget again, I am into Goats these days. :P
What??? How could you??? Rings hand perverted for years and you went and stole them!!! You fiend from hell!!

Hmm, they could have been KCC's perverted goats on second thought. It's those picture he posts you see?
Amateur Radio, D-STAR/VK3HAF
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

It's taken me a while but with some help, I finally managed to rewrite this program sensibly and neatly.

If anyone is still interested, will find somewhere to upload the source project somewhere tomorrow.

Think I got everything done (I hope so!!)
Amateur Radio, D-STAR/VK3HAF
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

Can't believe how much I shagged this code out of proportion. Spent 3 weeks rewriting this mess with the following results:

Fixes:

Fixed: Tooltips finally are shown on the statusbar
Fixed: All variables reworked and make total sense. (Huge job!)
Fixed: Procedures are clean and better commented (Mostly)
Fixed: Better code formatting all over the place

Additions:

Added: Export current categories to a disk file.
Added: Import categories from a disk file.
Added: A count of the number of items next to each category.

Added: All missing shortcuts and associated text

Added: Add attachments to a record
Added: A count of the number of attachments next to each title.
Added: Attachments are compressed before storage or stored as-is if they cannot be compressed.

To-Do:

1. EditorGadget character effects for the data form.
2. Importing someone else's Keeper data from disk.
3. Report form for attachments stored for selected record.

Can't think of anything else for now.
Amateur Radio, D-STAR/VK3HAF
tbohon
User
User
Posts: 42
Joined: Sat Nov 22, 2008 4:22 am
Location: Olympia, WA USA

Re: Keeper GSPOC (simplistic info manager. Source project

Post by tbohon »

Would love to see the source code ... can I download it from somewhere???

Tnx.

Tom
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

Didn't think anyone was interested in this steaming pile of carp. But here is the link anyway. Uploaded it this afternoon when I remembered.

Still a few things to do, but no proper todo list as yet:):)

https://www.dropbox.com/sh/qjrsw33plpcl ... czDDa?dl=0
Amateur Radio, D-STAR/VK3HAF
User avatar
electrochrisso
Addict
Addict
Posts: 980
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Keeper GSPOC (simplistic info manager. Source project

Post by electrochrisso »

Been waiting for you to get that upload link happening Fang so I can have a look. :)

Here is the direct link to bypass all that other dropbox stuff. :wink:

https://dl.dropboxusercontent.com/conte ... /file?dl=1
PureBasic! Purely one of the best 8)
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Keeper GSPOC (simplistic info manager. Source project

Post by Fangbeast »

electrochrisso wrote:Been waiting for you to get that upload link happening Fang so I can have a look. :)
I forgot!! (And I'm not telepathic you know!! Yell at me next time!!)

__________________________________________________
Quote tags repaired
11.11.2015
RSBasic
Amateur Radio, D-STAR/VK3HAF
Post Reply