找回密码
 立即注册

QQ登录

只需一步,快速开始

moriya

论坛元老

78

主题

189

帖子

4万

积分

论坛元老

积分
42318

活字格认证

moriya
论坛元老   /  发表于:2014-3-3 21:05  /   查看:4139  /  回复:1
你好,我将一个栏位设置为combox ,我想在这个下拉菜单上添加change 事件,如何添加?
       FarPoint.Win.Spread.CellType.ComboBoxCellType cb1 = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
                string[] cbstrl;
                cbstrl = new string[] { "A", "B", "C", "D", "E", "F", "G", "H" };
                string[] strval;
                strval = new string[] { "1", "2","3","4","5","6","7","8" };
                cb1.Items = cbstrl;
                cb1.ItemData = strval;
               //cb1.selectIndexChanged = ???????????????????
                fpCutBed.ActiveSheet.Columns[iCutPartType].CellType = cb1;

1 个回复

倒序浏览
roger.wang
社区贡献组   /  发表于:2014-3-4 10:53:00
沙发
回复 1楼moriya的帖子

用这个试试:
ComboBoxCellType.EditorValueChanged
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部