|
제가 이번에 NumLED컴포넌트를 사용하게 되었는데...
void __fastcall TForm1::FormCreate(TObject *Sender)
{
const int ScreenWidth = 1024;
const int ScreenHeight = 768;
Scaled = true;
if (Screen->Width != ScreenWidth)
{
Height = Height*long(Screen->Height) / ScreenHeight;
Width = Width * long(Screen->Width) / ScreenWidth;
ScaleBy(Screen->Width, ScreenWidth);
}
}
위의 소스대로 해준결과
컴퓨터의 해상도에 따라 폼과 다른 컴포넌트들은 크기가 변하여 해상도에 맞게 제대로
돌아가는대요.....
NumLED컴포넌트만 요지부동입니다..ㅠ.ㅠ
다른분들의 글을 읽어봤지만....
Anchors 속성이 없더라구요...
김영욱님의 글대로 해상도를 실행시와 종료에 준다면 바뀌고 다시 복귀하고 그러면서
사용자에게 불편함을 줄수도 있을까봐서.....ㅠ.ㅠ
방법이 없을거 같지가 않은데... 초보라..ㅠ..ㅠ
고수님들의 작은 조언 부탁드립니다...
|