I can show it with the right click by setting the Popup property in the List, but I need it to be on the left click instead.
I've tried showing the popup in the ItemGotSelection event, but the popup instantly closes.
Code: Select all
evtroutine handling(#ReportList.ItemGotSelection)
#CMGSANObjectManager.avFrameworkManager.avRecordTrace component(#COM_OWNER) event("Item Got Selection")
#ReportListPopup.ShowPopup context(#COM_OWNER)
endroutine
evtroutine handling(#ReportListPopup.Prepare)
#CMGSANObjectManager.avFrameworkManager.avRecordTrace component(#COM_OWNER) event("ReportListPopup Prepare")
endroutine
evtroutine handling(#ReportListPopup.Closed)
#CMGSANObjectManager.avFrameworkManager.avRecordTrace component(#COM_OWNER) event("ReportListPopup Closed")
endroutine
Code: Select all
define_com class(#PRIM_PPNL) name(#ReportListPopup) left(865) top(167) closeonclick(True) width(145) layoutmanager(#Layout4) height(50) autofocus(True)
define_com class(#PRIM_LABL) name(#Label1) caption('Client Burden') displayposition(1) ellipses(Word) height(25) left(0) parent(#ReportListPopup) tabposition(1) tabstop(False) top(0) verticalalignment(Center) width(143)
define_com class(#PRIM_LABL) name(#Label2) caption('Credit Control Panel') displayposition(2) ellipses(Word) height(25) left(0) parent(#ReportListPopup) tabposition(2) tabstop(False) top(25) verticalalignment(Center) width(143)
Any thoughts on getting a popup to work with left click?
Thanks,
Joe