CVI에서 화면 처리할 때
Ring을 사용하여 몇가지 메뉴를 선택하고 있는데,
Ring 안에 메뉴를 좀 바꾸려면 어떻게 해야하나요?
SetCtrlAttribute (panel, PANEL_cmdBT_M, ATTR_LABEL_TEXT, "관찰시작");
이런식으로 하면 위의 레이블만 바뀌네요.
새로운 링을 만들어서 감추면서 사용해야 될까요?
두서없이 질문드려 죄송합니다.
2013.11.07 11:46:05 *.70.20.156
ClearListCtrl()함수와 InsertListItem()로 해결 했습니다.
감사합니다.
ClearListCtrl(panel, PANEL_selVOLTAGE2); InsertListItem(panel, PANEL_selVOLTAGE2, 0, " 1.0 (Max 4 )", 0); InsertListItem(panel, PANEL_selVOLTAGE2, 1, " 0.5 (Max 2 )", 1); InsertListItem(panel, PANEL_selVOLTAGE2, 2, " 0.2 (Max 0.8)", 2); InsertListItem(panel, PANEL_selVOLTAGE2, 3, " 0.1 (Max 0.4)", 3);
ClearListCtrl()함수와 InsertListItem()로 해결 했습니다.
감사합니다.
ClearListCtrl(panel, PANEL_selVOLTAGE2);
InsertListItem(panel, PANEL_selVOLTAGE2, 0, " 1.0 (Max 4 )", 0);
InsertListItem(panel, PANEL_selVOLTAGE2, 1, " 0.5 (Max 2 )", 1);
InsertListItem(panel, PANEL_selVOLTAGE2, 2, " 0.2 (Max 0.8)", 2);
InsertListItem(panel, PANEL_selVOLTAGE2, 3, " 0.1 (Max 0.4)", 3);