Copy widget events

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Copy widget events

跳至解决方案
1,482 次查看
chand1er
Contributor I

Hi all, I am using NXP GUI guider to build a gui for my device. Is there any way to copy the events associated with widgets and have them carry over to a new screen? i.e. I have a button on a screen that has an event associated with it, after I duplicate the screen, the button widget now has no event associated with it and I have to manually reassign the event to the button. Is there a way to allow widgets to keep their associated events when duplicated? Thanks for your help!

标记 (3)
0 项奖励
回复
1 解答
1,317 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @chand1er,

At the moment, the GUI Guider tool does not have the ability to duplicate the widget along with all of the events, even on the same screen. I believe this is because the duplicate has a new name path <screen name -> widget name> so the associated events applied to the previous path, not the current, and therefore the events disappear.

I will comment this behavior with the GUI Guider team so they can deliberate about adding this feature. In the meantime, you will have to continue manually adding the events for duplicated widgets.

I apologize for the inconvenience, and thank you for your suggestions.

BR,
Edwin.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,318 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @chand1er,

At the moment, the GUI Guider tool does not have the ability to duplicate the widget along with all of the events, even on the same screen. I believe this is because the duplicate has a new name path <screen name -> widget name> so the associated events applied to the previous path, not the current, and therefore the events disappear.

I will comment this behavior with the GUI Guider team so they can deliberate about adding this feature. In the meantime, you will have to continue manually adding the events for duplicated widgets.

I apologize for the inconvenience, and thank you for your suggestions.

BR,
Edwin.

0 项奖励
回复
1,398 次查看
Alondra
NXP TechSupport
NXP TechSupport

Thanks for reaching us, may I know which part number are you using?

 

Best regards, 

Alondra

0 项奖励
回复
1,365 次查看
chand1er
Contributor I

Hi Alondra, I am using GUI guider 1.10.1 and I'm using just the simulator for now as I have not selected a processor yet. It is in the very early stages of development. 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2293602%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%A4%8D%E5%88%B6%E9%83%A8%E4%BB%B6%E4%BA%8B%E4%BB%B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E%E3%80%82%E6%98%AF%E5%90%A6%E6%9C%89%E5%8A%9E%E6%B3%95%E8%AE%A9%E9%83%A8%E4%BB%B6%E5%9C%A8%E9%87%8D%E5%A4%8D%E6%97%B6%E4%BF%9D%E7%95%99%E5%85%B6%E7%9B%B8%E5%85%B3%E4%BA%8B%E4%BB%B6%EF%BC%9F%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%AE%E5%8A%A9%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Copy%20widget%20events%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293708%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258797%22%20target%3D%22_blank%22%3E%40chand1er%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CP%3E%E7%9B%AE%E5%89%8D%EF%BC%8CGUI%20Guider%20%E5%B7%A5%E5%85%B7%E6%97%A0%E6%B3%95%E5%A4%8D%E5%88%B6%E9%83%A8%E4%BB%B6%E5%92%8C%E6%89%80%E6%9C%89%E4%BA%8B%E4%BB%B6%EF%BC%8C%E5%8D%B3%E4%BD%BF%E5%9C%A8%E5%90%8C%E4%B8%80%E5%B1%8F%E5%B9%95%E4%B8%8A%E4%B9%9F%E4%B8%8D%E8%A1%8C%E3%80%82%E6%88%91%E8%AE%A4%E4%B8%BA%E8%BF%99%E6%98%AF%E5%9B%A0%E4%B8%BA%E5%89%AF%E6%9C%AC%E6%9C%89%E4%BA%86%E4%B8%80%E4%B8%AA%E6%96%B0%E7%9A%84%E5%90%8D%E7%A7%B0%E8%B7%AF%E5%BE%84%3CSCREEN%20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P%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Copy%20widget%20events%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8CAlondra%EF%BC%8C%E6%88%91%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E5%9B%BE%E5%BD%A2%E7%94%A8%E6%88%B7%E7%95%8C%E9%9D%A2%E5%BC%95%E5%AF%BC%E7%A8%8B%E5%BA%8F%201.10.1%EF%BC%8C%E7%94%B1%E4%BA%8E%E8%BF%98%E6%B2%A1%E6%9C%89%E9%80%89%E6%8B%A9%E5%A4%84%E7%90%86%E5%99%A8%EF%BC%8C%E6%88%91%E7%8E%B0%E5%9C%A8%E5%8F%AA%E4%BD%BF%E7%94%A8%E6%A8%A1%E6%8B%9F%E5%99%A8%E3%80%82%E5%AE%83%E6%AD%A3%E5%A4%84%E4%BA%8E%E5%BC%80%E5%8F%91%E7%9A%84%E5%88%9D%E6%9C%9F%E9%98%B6%E6%AE%B5%E3%80%82%20%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2293654%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Copy%20widget%20events%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2293654%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%84%9F%E8%B0%A2%E6%82%A8%E8%81%94%E7%B3%BB%E6%88%91%E4%BB%AC%EF%BC%8C%E8%AF%B7%E9%97%AE%E6%82%A8%E4%BD%BF%E7%94%A8%E7%9A%84%E6%98%AF%E5%93%AA%E4%B8%AA%E9%9B%B6%E4%BB%B6%E7%BC%96%E5%8F%B7%EF%BC%9F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E8%87%B4%E4%BB%A5%E6%9C%80%E5%B4%87%E9%AB%98%E7%9A%84%E6%95%AC%E6%84%8F%20%3C%2FP%3E%0A%3CP%3E%E9%98%BF%E9%9A%86%E5%BE%B7%E6%8B%89%3C%2FP%3E%3C%2FLINGO-BODY%3E