查看单个帖子
旧 2009-04-12, 10:56 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】access combobox from outside the userpmpage

access combobox from outside the userpmpage
i used the addin wizard to create a new addin.
in the userpmpage.vb (in class userpmpage) i added two combo boxes.
i fill first combobox with items, when my user pmpage is created.
combobox2 is emty.
now i want to fill combobox2 with new items if user change selection in combobox1, but how can i do this.
on the oncomboboxselectionchanged (pmphandler) i have no access to combobox2.
can somebody help me pleas?
answer ok, solved my problem myself:
instead of normal variable declaration use:
friend shared combobox2 as propertymanagerpagecombobox
edited: 03/06/2009 at 05:36 pm by georg draxler
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)