控件改名

1 theDialog->TopBlock()->FindBlock("Dialog")->GetProperties()->SetString("Label", "找体");//dialog标题
2 theDialog->TopBlock()->FindBlock("group0")->GetProperties()->SetString("Label", "输入尺寸");//group名
3 theDialog->TopBlock()->GetProperties()->SetString("Label", "刘");//title

 

//------------------------------------------------------------------------------
// #include <NXOpen/ListingWindow.hxx>
//void print(const NXString &);
//ListingWindow *lw;
//定义print函数
//------------------------------------------------------------------------------
void classname::print(const NXString &msg)
{
    if(! lw->IsOpen() ) lw->Open();
    lw->WriteLine(msg);
}

 

posted @ 2020-03-08 09:22  老婆饼里有老婆  阅读(169)  评论(0编辑  收藏  举报