1 获得当前选择的
2 //列表框控件
3 PropertyList* ExpressionListProperties = list_box0->GetProperties();
4 std::vector<NXOpen::NXString> listStrings = ExpressionListProperties->GetStrings("ListItems");
5 std::vector<int> index = ExpressionListProperties->GetIntegerVector("SelectedItems");
6 delete ExpressionListProperties;
7 
8 这个方法我以前并不会,是我的前同事刘工告诉我的。
9 在这里感谢谢刘工。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案