Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / CONTEXTMENU and ENTRY

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. CONTEXTMENU and ENTRY
#11742
Posted by: chucksim 2007-09-07 16:17:36
I can't get the CONTEXTMENU to work with an ENRTY control. I have modified the POPUPMENU example script to demonstrate my point.
popupmenu.rex
Chuck Simmons
Message2.
#11745
Posted by: Jeff Glatt 2007-09-07 22:08:17
Ah. The Windows operating system siphons off the CONTEXTMENU event when it's generated by an ENTRY control. So your window never gets that. The Windows OS pops up that context menu you see.

The only way around it is to subclass the control, and I haven't gotten into that stuff with REXX GUI quite yet.
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2021-4-14  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0