Page 5 of 13
Re: Recipe management software?
Posted: Sun Mar 06, 2016 8:30 am
by Fangbeast
TI-994A wrote:Fangbeast wrote:...can't make it any faster unless anyone has some ideas?
Perhaps display a timer-based splash screen
(about 2 to 3 seconds) to allow the main form to load?
The main window will remain invisible until the splash-window timer unhides it.
I thought about it but that just means that I am being a lazy bitch and not fixing the program [properly (hehehe, SADDAP SROD!!)
When I have got the tooltip code working, can I ask you to do your magic again with vectors for printing help pages? No images, just straight text that I can grab out of the EditorGadget.
it was 39 degrees on Friday and 41 last Friday. This is crazy!!
Re: Recipe management software?
Posted: Mon Mar 07, 2016 6:12 am
by Fangbeast
**UPDATE*** Get it while it's mouldy!!
07/03/2016
Added: Colourful balloon tooltips with images. Can be turned on or off. RASHAD you legend!
Added: Some better comments everywhere.
04/03/2016
Fixed: Some editor fields didn't have their wordwrap flag set.
Fixed: Gadget reference instead of picture reference in main form picture viewer caused crash.
Fixed: Window title was set twice in pictureviewer but no recipe title set.
Fixed: Default picture size when record had no picture defaulted to default image size on open.
Added: Sped up the initial start-up by using "Begin Transaction" and "Commit" blocks.
Added: Load a text or RTF file from disk into the instruction editor.
ToDo 1. Keyboard shortcuts list.
2. Create and manage a shopping list of ingredients for each recipe
5. Create an advanced searching window.
6. Print help pages.
7. Need a print button for the shopping list window
I think that's it?
https://www.dropbox.com/s/s9yk29jr0fuh ... es.7z?dl=0
Re: Recipe management software?
Posted: Mon Mar 07, 2016 7:29 am
by RASHAD
Hi Fang
Just downloaded the new version
You still have the same typo bug
Recipes.pb
Code: Select all
If Program\BalloonFontId
; Setup your button tooltip messages, nicely spaced out
BalloonTip(#Window_Recipes, #Gadget_Recipes_AddCategory, Program\BalloonFontId, $BFBFBF, #ShortText_AddCategory, #CRLF$ + GetShortCutText(#Keys_AddCategory) + #CRLF$ + #CRLF$ + #LongText_AddCategory, GetIconHandle(#Image_Recipes_AddCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_CopyCategory, Program\BalloonFontId, $BFBFBF, #ShortText_CopyCategory, #CRLF$ + GetShortCutText(#Keys_CopyCategory) + #CRLF$ + #CRLF$ + #LongText_CopyCategory, GetIconHandle(#Image_Recipes_CopyCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_DeleteCategory, Program\BalloonFontId, $BFBFBF, #ShortText_DeleteCategory, #CRLF$ + GetShortCutText(#Keys_DeleteCategory) + #CRLF$ + #CRLF$ + #LongText_DeleteCategory, GetIconHandle(#Image_Recipes_DeleteCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_EditCategory, Program\BalloonFontId, $BFBFBF, #ShortText_EditCategory, #CRLF$ + GetShortCutText(#Keys_EditCategory) + #CRLF$ + #CRLF$ + #LongText_EditCategory, GetIconHandle(#Image_Recipes_DeleteCategory))
Change to
Code: Select all
If Program\BalloonFontId
; Setup your button tooltip messages, nicely spaced out
BalloonTip(#Window_Recipes, #Gadget_Recipes_AddCategory, Program\BalloonFontId, $BFBFBF, #ShortText_AddCategory, #CRLF$ + GetShortCutText(#Keys_AddCategory) + #CRLF$ + #CRLF$ + #LongText_AddCategory, GetIconHandle(#Image_Recipes_AddCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_CopyCategory, Program\BalloonFontId, $BFBFBF, #ShortText_CopyCategory, #CRLF$ + GetShortCutText(#Keys_CopyCategory) + #CRLF$ + #CRLF$ + #LongText_CopyCategory, GetIconHandle(#Image_Recipes_CopyCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_DeleteCategory, Program\BalloonFontId, $BFBFBF, #ShortText_DeleteCategory, #CRLF$ + GetShortCutText(#Keys_DeleteCategory) + #CRLF$ + #CRLF$ + #LongText_DeleteCategory, GetIconHandle(#Image_Recipes_DeleteCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_EditCategory, Program\BalloonFontId, $BFBFBF, #ShortText_EditCategory, #CRLF$ + GetShortCutText(#Keys_EditCategory) + #CRLF$ + #CRLF$ + #LongText_EditCategory, GetIconHandle(#Image_Recipes_EditCategory))
Re: Recipe management software?
Posted: Mon Mar 07, 2016 9:19 am
by Fangbeast
RASHAD wrote:Hi Fang
Just downloaded the new version
You still have the same typo bug
Recipes.pb
Code: Select all
If Program\BalloonFontId
; Setup your button tooltip messages, nicely spaced out
BalloonTip(#Window_Recipes, #Gadget_Recipes_AddCategory, Program\BalloonFontId, $BFBFBF, #ShortText_AddCategory, #CRLF$ + GetShortCutText(#Keys_AddCategory) + #CRLF$ + #CRLF$ + #LongText_AddCategory, GetIconHandle(#Image_Recipes_AddCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_CopyCategory, Program\BalloonFontId, $BFBFBF, #ShortText_CopyCategory, #CRLF$ + GetShortCutText(#Keys_CopyCategory) + #CRLF$ + #CRLF$ + #LongText_CopyCategory, GetIconHandle(#Image_Recipes_CopyCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_DeleteCategory, Program\BalloonFontId, $BFBFBF, #ShortText_DeleteCategory, #CRLF$ + GetShortCutText(#Keys_DeleteCategory) + #CRLF$ + #CRLF$ + #LongText_DeleteCategory, GetIconHandle(#Image_Recipes_DeleteCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_EditCategory, Program\BalloonFontId, $BFBFBF, #ShortText_EditCategory, #CRLF$ + GetShortCutText(#Keys_EditCategory) + #CRLF$ + #CRLF$ + #LongText_EditCategory, GetIconHandle(#Image_Recipes_DeleteCategory))
Change to
Code: Select all
If Program\BalloonFontId
; Setup your button tooltip messages, nicely spaced out
BalloonTip(#Window_Recipes, #Gadget_Recipes_AddCategory, Program\BalloonFontId, $BFBFBF, #ShortText_AddCategory, #CRLF$ + GetShortCutText(#Keys_AddCategory) + #CRLF$ + #CRLF$ + #LongText_AddCategory, GetIconHandle(#Image_Recipes_AddCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_CopyCategory, Program\BalloonFontId, $BFBFBF, #ShortText_CopyCategory, #CRLF$ + GetShortCutText(#Keys_CopyCategory) + #CRLF$ + #CRLF$ + #LongText_CopyCategory, GetIconHandle(#Image_Recipes_CopyCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_DeleteCategory, Program\BalloonFontId, $BFBFBF, #ShortText_DeleteCategory, #CRLF$ + GetShortCutText(#Keys_DeleteCategory) + #CRLF$ + #CRLF$ + #LongText_DeleteCategory, GetIconHandle(#Image_Recipes_DeleteCategory))
BalloonTip(#Window_Recipes, #Gadget_Recipes_EditCategory, Program\BalloonFontId, $BFBFBF, #ShortText_EditCategory, #CRLF$ + GetShortCutText(#Keys_EditCategory) + #CRLF$ + #CRLF$ + #LongText_EditCategory, GetIconHandle(#Image_Recipes_EditCategory))
I must be going blind but I can't see it????? Blew up the fonts in the editor, checked each line and still can't see it. I told you I had bad eyesight!!
EDIT!!! Never mind, my wife found it, here eyes are betetr than mine!
Re: Recipe management software?
Posted: Mon Mar 07, 2016 9:25 am
by Keya
i compared in hex editor, the only change is at the end of the very last line:
GetIconHandle(#Image_Recipes_DeleteCategory))
->
GetIconHandle(#Image_Recipes_EditCategory))
Re: Recipe management software?
Posted: Tue Mar 08, 2016 6:59 am
by Fangbeast
Does anyone have an idea what else has to be done/added (if I am able?).
Just cleaning up code at the moment.
TI-994A, would you be able to do your magic again with printing help text? I'm going to let the user be able to print text straight from the Help EditorGadget so they can have a hard copy reference.
I can just grab the text into a string and feed it to your routine if you are willing.
Re: Recipe management software?
Posted: Tue Mar 08, 2016 7:53 am
by TI-994A
Fangbeast wrote:...I'm going to let the user be able to print text straight from the Help EditorGadget so they can have a hard copy reference.
Sure;
as discussed in our PMs yesterday.

Re: Recipe management software?
Posted: Tue Mar 08, 2016 7:58 am
by Fangbeast
TI-994A wrote:Fangbeast wrote:...I'm going to let the user be able to print text straight from the Help EditorGadget so they can have a hard copy reference.
Sure;
as discussed in our PMs yesterday.

Sorry, I forgot.
It reached 41 outside today and 27 inside and my brains melted into nice sludge piles. Shuddup srod if you are listening!!
Re: Recipe management software?
Posted: Sat Mar 12, 2016 12:11 pm
by Fangbeast
I had a few little things that I wanted myself and lacking requests other than "go away you sheep rooter", I did them.
Now just the keyboard shortcuts list, advanced search window module and printing for various things remain to be done.
12/03/2016
Fixed: Proportional resize added to main form recipe picture by InfraTec. He thought the default stretching was ugly.
Fixed: Category data structure for sorts was missing an element.
Fixed: SaveShoppingItem didn't have code to save manually added ingredients to the shopping list. Grr
Added: All missing keyboard shortcuts and toolbar tooltips and balloon tooltips.
Added: Shopping list per recipe. Alt + S. I needed it!
Added: Drag and drop ingredients onto the shopping list to add them, then you can edit details.
Added: Manually add, edit, delete ingredients in the shopping list.
Added: Search for ingredients in the shopping list form to add.
Added: Restore the ingredients for the current recipe after you have finished searching the main list.
Added: New flag 'Shopping' in the Recipes table to mark the fact that a recipe has shopping atatched.
Added: New icon in the category list for recipes that have shopping attached.
Program:
https://www.dropbox.com/s/s9yk29jr0fuhl ... es.7z?dl=0
Recipes:
https://www.dropbox.com/s/m0j501uk3qm06 ... 0a.7z?dl=0
Re: Recipe management software?
Posted: Sat Mar 12, 2016 9:17 pm
by jack
thank you for the update

Re: Recipe management software?
Posted: Sun Mar 13, 2016 12:55 am
by Fangbeast
jack wrote:thank you for the update

Any suggestions other than "Go away, you are too hairy", fixes etc??
Re: Recipe management software?
Posted: Sun Mar 13, 2016 2:35 am
by jack

give me a little time to test, it's the weekend over here.
Re: Recipe management software?
Posted: Mon Mar 14, 2016 2:47 am
by Fangbeast
jack wrote:
give me a little time to test, it's the weekend over here.
Oh okay, heavy sigh (major overacting award).
My standard living cookbook database is getting big, over 5,000 recipes now. I managed to find out what was wrong with 100 ignored ones and manually fix their xml data.
These are from the Yahoo Living Cookbook group and around 50 a week are posted so far.
I also have around 30,000 of the standard FDX (Also living cookbook) collected over the last few years but I didn't want the database to grow to over 700 meg so didn't import them.
Re: Recipe management software?
Posted: Sat Mar 19, 2016 6:08 am
by Fangbeast
***UPDATE***
I heard a woman complaining years ago (Not in my program) that she could not search for a recipe with specific ingredients so with InfraTec's help, now you can!!
There is an advanced SQL search available from the data menu/shortcut/toolbar etc that allows you to search for recipe titles or recipe titles AND/OR specific ingredients in it.
You add the ingredients separated with commas, with or without spaces, select your sorting direction, field to sort on, number of items to limit the search to and then press the find button.
Just a little bit of tweaking left to do but it works, tested.
Same link as in previous posts.
Re: Recipe management software?
Posted: Sat Mar 19, 2016 1:02 pm
by Fangbeast
19/03/2016
Added: Added logos to all other windows that didn't have them. You can launch your own thing there.
Added: Hiding of the program to the notification area plus icon and message.
Added: All static controls correctly coloured to the background
Added: Able to search for recipes with specific ingredients in them (Big job!)). InfraTec
Added: All program options flushed to database at program end.
Added: Last search type, field and text are restored on program restart.
Added: All search window parameters are saved and restored between restarts.
Fixed: Search the help pages and highlight all matches.
ToDo
1. Print help pages.
3. Explore threaded model somehow.
4. List of keyboard shortcuts. (Maybe editable?)
5. Print help pages.
6. Print shopping list.
7. Print keyboard shortcuts.
9. Do something with the "Save shopping" button as it isn't really used here.
I think that's it?
Notes
Really worked over the advanced search window after I released it. It is now fully compatible in function to the standard search on the main form except for the extra ingredient searches of course. Selectable limits, sort direction and more.
Remind me to send the update up tonight if anyone wants it.
P.S. Every importable recipe that I currently own is on mega.co.nz cloud server at
https://mega.nz/#F!31VwARDY
Don't try to download all of it at once as this is a free account and I don't want it suspended!
And contribute as well you varmints!