|
AnsiString ComName;
AnsiString InputBoxEdit;
if(bInput)
{
for(int nItem = FindIndex ; nItem < FindIndex*2 ; nItem++)
{
ComName.sprintf("TLabelBox%02d",nItem);
InputBoxEdit.sprintf("TEditBox%02d",(nItem-FindIndex));
if(nItem == FindIndex)
{
((TLabel *)(FindComponent(ComName)))->Text = "SECTIOIN"; <===== 이부분...
((TEdit *)(FindComponent(InputBoxEdit)))->Text = SectionKey;
m_SectionKey = ((TEdit *)(FindComponent(InputBoxEdit)))->Text;
}
else
{
((TLabel *)(FindComponent(ComName)))->Text = pSectionItemList->Strings[(nItem-FindIndex)-1];
((TEdit *)(FindComponent(InputBoxEdit)))->Text = pini->ReadString( SectionKey, ((TEdit *)( FindComponent(ComName)))->Text.Trim(),"없음");
}
m_iniPath = ((TEdit *)(FindComponent("TEditBox02")))->Text ;
}
}
이렇게 한번 해 보시죠?
TEdit 와 TLable을 구별을 안하신 것 같아요 ~~
막막한초보 님이 쓰신 글 :
: BreakPoint가 왜 이상한데 걸리죠??
:
: BreakPoint를 걸었던 적은 있지만 다시 해제 했거든요..
:
: 그리고 한번도 걸지 않은 곳에서 실행하다가 자꾸 걸려요..
:
: for 문 같은 곳에서 300번 순환 문에 걸리면 300번을 눌러 줘야 해요... ㅜ.ㅜ
:
: 툴 버그 인가요???
:
: if(bInput)
: {
: for(int nItem = FindIndex ; nItem < FindIndex*2 ; nItem++)
: {
:
: AnsiString ComName="";
: AnsiString InputBoxEdit="";
: ComName.sprintf("TLabelBox%02d",nItem);
: InputBoxEdit.sprintf("TEditBox%02d",(nItem-FindIndex));
:
: if(nItem == FindIndex)
: {
: ((TEdit *)(FindComponent(ComName)))->Text = "SECTIOIN"; <===== 이부분...
: ((TEdit *)(FindComponent(InputBoxEdit)))->Text = SectionKey;
: m_SectionKey = ((TEdit *)(FindComponent(InputBoxEdit)))->Text;
:
:
: }
: else
: {
: ((TEdit *)(FindComponent(ComName)))->Text = pSectionItemList->Strings[(nItem-FindIndex)-1];
: ((TEdit *)(FindComponent(InputBoxEdit)))->Text = pini->ReadString( SectionKey, ((TEdit *)( FindComponent(ComName)))->Text.Trim(),"없음");
: }
: m_iniPath = ((TEdit *)(FindComponent("TEditBox02")))->Text ;
: }
:
: }
:
: 예를 들어 이런 곳이거든요..
:
: 대부분은 동적 접근 하는 부분 에서 걸리는거 같아요.. 꼭은 아니구요.. 여기 저기에서 걸리거든요..
:
: 항상 걸리는것도 아니구요... 한번 걸리기 시작하면 반나절 정도 걸리다가 어는 순간부터 안걸려요...
:
: 그리고 DLL 쪽에서 BreakPoint를 걸면 Dll 호출 프로그램쪽에서 이상한 곳에서 BreakPoint가 자주 걸립니다..
:
: 이런 현상을 보신 적이 있나요??
:
: 제가 툴에서 뭘 잘못 설정 했나여???? 혹시 이런 경험이나 알고 계신 분은 답변 부탁 드립니다.. (--)(__)(--)
:
: 긴글 읽어 주셔셔 감사 합니다.
|