On Jan 22, 2009, at 2:38 PM, Paul McNett wrote:
>> File "/home/pmcnett/py/timetracker/ui/FrmBase.py", line 27, in
>> fillFileOpenMenu
>> fileMenu.prependMenu(MenFileOpen(fileMenu))
>> AttributeError: 'NoneType' object has no attribute 'prependMenu'
>
> Here are some contextual lines from FrmBase.py:
>
> 23 def fillFileOpenMenu(self):
> 24 """Add the File|Open menu, with menu items for opening each
> form."""
> 25 app = self.Application
> 26 fileMenu = self.MenuBar.getMenu("File")
> 27 fileMenu.prependMenu(MenFileOpen(fileMenu))
Is this based on dBaseMenuBar? If so, what happens if you change line
26 to read:
fileMenu = self.MenuBar.getMenu("base_file")
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]