|
폼의 생성자 정도에 아래와 같이 전부 펼치는 루틴을 넣으면 될 것 같습니다.
cuperido
__fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner)
{
int itCount;
for(itCount = 0; itCount < TreeView1->Items->Count; itCount ++)
TreeView1->Items->Item[itCount]->Expand(true);
}
프리지아 님이 쓰신 글 :
: 처음 TreeView에서 노드들을 불러오면
: root 노드와 그옆에 + 표시만 보이는데
:
: root 노드부터 마지막 children 노드까지 모든 노드가
: expend된 상태로 표시나게 하는 방법이 없을까요?
:
: TreeView의 Properties에 있는 AutoExpend는 true건 false건 상관이 더라구요..
|