几何尺寸与公差论坛

 找回密码
 注册
查看: 748|回复: 0

【转帖】selectionbox how to get focus changed

[复制链接]
发表于 2009-4-13 14:12:43 | 显示全部楼层 |阅读模式
selectionbox: how to get focus changed
i need to execute some code when selection focus (hilighted line/s) inside some selection box is changed.
there is onselectionboxfocuschanged event, but it only invokes before focus changed. and this behaviour confirmed by api help
"
propertymanagerpage2handler5:nselectionboxfocuschanged
description
this method indicates that the active selection box is about to change.
"
which event invokes after focus changed.
thanks.
that method is for when the actual control (the selection box itself) is recieving or losing focus, not the selected items within it.
the function you probably want is propertymanagerpage2handler5:nselectionboxlistchanged
originally posted by: luke malpass
that method is for when the actual control (the selection box itself) is recieving or losing focus, not the selected items within it.
my bad you right!
originally posted by: luke malpass
the function you probably want is propertymanagerpage2handler5:0nselectionboxlistchanged
this one doesn't do the trick, cause it invokes when i add or remove something from selection list. but what i need is event that invokes when i change selection inside selection box itself, for eample i've got 3 sketches added (selected) in selection box and the name of the first one is selected in a selection box. then i click the name of the second one and i need event that invokes right after that.
edited: 10/09/2008 at 11:06 am by kostas rutkauskas
don't think the api has added event handlers for selection change. email api support to ask for it as a request.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 04:43 , Processed in 0.036593 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表