제 소스가 오랫만에 열어보면 아래와 같이 저장되어 있어서 불편한데, 이 옵션을 어디서 조정하나요? (자동 줄 조절같은데.....)
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Host = stHost;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Port =
StrToInt(stPort);
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Username = stUser;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Password = stPass;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->TransferType =
ftBinary; // ftASCII ;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Passive = true;
제가 좋아 하는 스타일은 아래와 같은데, 위와같이 저장되어 있어서, 많이 불편하네요.
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Host = stHost;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Port = StrToInt(stPort);
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Username = stUser;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Password = stPass;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->TransferType = ftBinary; // ftASCII ;
((TIdFTP*)this->FindComponent(stCreatedMyFTP_Name))->Passive = true;
도움 주시길 부탁드립니다.
감사합니다.
|