This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Have all menuitems in own class

 
Torvald Helmer
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class Frame like this:




I want to have a class Menu like this, with all
menuitems:



But this not work. What am I doing wrong? Does anyone
have a idea on how to do this?

When I try to add menutiem in the Frame-class, it works
fine. But I want to have all related to the menu in a
separate file.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Torvald Helmer
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
[ August 20, 2007: Message edited by: Torvald Helmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic