You should do it.
Last year, I created a fairly robust OOP menu system which communicates and automatically coordinates with forms and toolbars (including a special status toolbar). I initially based it on the codebook model, but quickly saw it's limitations, so I rolled my own from scratch.
Good Luck - I guarantee that you will learn alot.
>Actually Andrew Ross MacNeill wrote GenMenuX, but it isn't object orienteed. What I mean is being able to do something like:
>
>oMenu.File.Open.Text.Enabled(.F.)
>
>and have the pad disable. Mark Hall wrote a wrapper class for menus, but I thought I would write a builder to show the menu in a tree or something and have it generate the code for you.
>
>What do you think?
>
>
>
>>I think GenMenuX was written by Markus Egger (I know he wrote GenRepoX, I hope I am not just confusing the two).
>>
>>There is a also a good one in CodeBook, and all derivations thereof...
>>
>>>Yes, Mark Hall has a great one. But, it requires you to write code to make your menu. The idea I have is to create a menu builder or a genmenu.prg replacement to write the code for you. That makes actually using the object oriented menus much easier.
>>>
>>>>Several already exist. I don't remember who has them but you might want to look through Ken Levy's site or look around in the files section here. But, there's always the better mousetrap...code away!
>>>>
>>>>
>>>>>Since it doesn't look like we are ever going to get one, I am thinking about creating an object oriented menu builder. I am simply looking for feedback to see how everyone would like this. If I get enough positive feedback, I will continue. Please let me know.
- Jeff