I'm believe this is happening because I'm dealing with a submenu.
Johnf
On 6/17/19 3:46 PM, johnf wrote:
My menu code was working prior to today's commit.
I'm getting the following error from dMenu->appendMenu():
builtins.TypeError: Menu.Append(): arguments did not match any
overloaded call: overload 1: argument 3 has unexpected type 'dMenu'
overload 2: 'help' is not a valid keyword argument
My code makes the following call
AgencyLetters = dMenu(Caption="Agency Letters") if
tmpCursor.RowCount>0: for rcd in tmpCursor.getDataSet():
menuitem=AgencyLetters.append(rcd['lettername'],OnHit=self.onReportSelect)
menuitem.ltrid=rcd['pkid'] menuitem.ltrname=rcd['lettername']
menuitem.rptid=rcd['fk_reports'] menuitem.rptname=rcd['crptname']
menu.appendMenu(AgencyLetters)
Johnf
On 6/17/19 12:16 PM, Ed Leafe wrote:
Branch: refs/heads/dabo3
Home:https://github.com/dabodev/dabo
Commit: 0e481270fe88295126e47628f1e84175f9741b9a
https://github.com/dabodev/dabo/commit/0e481270fe88295126e47628f1e84175f9741b9a
Author: EdLeafe<[email protected]>
Date: 2019-06-17 (Mon, 17 Jun 2019)
Changed paths:
M dabo/lib/SimpleCrypt.py
M dabo/lib/connParser.py
M dabo/ui/dEditor.py
M dabo/ui/dMenu.py
M dabo/ui/object_inspector.py
M dabo/ui/uiApp.py
M ide/CxnEditor.py
M ide/HomeDirectoryStatusBar.py
Log Message:
-----------
A few more cleanups
_______________________________________________
Post Messages to:[email protected]
Subscription Maintenance:http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives:https://leafe.com/archives
This
message:https://leafe.com/archives/byMID/dabodev/dabo/push/refs/heads/dabo3/[email protected]
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: https://leafe.com/archives
This message:
https://leafe.com/archives/byMID/[email protected]