-
FindComponentC++ Builder/예제소스 2019. 4. 29. 16:22
// FindComponent() 컨트롤찾는 함수.
UnicodeString sTemp;
TdxBarLargeButton *pBnt;
for(int i=0; i<8; i++){
sTemp.sprintf(L"dxBarLargeButton%02d", i);
pBnt = (TdxBarLargeButton *)FindComponent(sTemp);
if(pBnt == dxBarLargeButton17){
pBnt->Down = true;
}else{
if(pBnt->Down){
pBnt->Down = false;
}
}
}
728x90'C++ Builder > 예제소스' 카테고리의 다른 글
SQL구문 (0) 2019.08.13 fnFieldByName (0) 2019.04.26 ExportGridToExcel (0) 2019.04.18 윈도우 창 이동(BoderStyle = bsNone) (0) 2019.02.26 종료확인 (0) 2019.01.31 댓글