几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】selectionbox maximal selections (http://www.dimcax.com/hust/showthread.php?t=4570)

yang686526 2009-04-12 07:34 PM

【转帖】selectionbox maximal selections
 
selectionbox maximal selections
hello
can someone tell me if there is any method to set the maximum of items which can be selected with a selectionbox?
i want that the user can maximal select 3 items.
thanks for help!
i don't think so. you have a few options:
1. operate on just the first 3 items
2. operate on just the last 3 items
3. check the number of selections and if it's more than 3 clear and inform the user.
to name a few.
i'll get you eh steve, if it's the last thing i dooooo!
hmmm. ok i think i will use the option to inform the user if more than 3 items are selected
quick


所有的时间均为北京时间。 现在的时间是 03:09 PM.