Delphi Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
델파이 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
FreePascal/Lazarus
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
델마당
볼랜드포럼 광고 모집

델파이 강좌/문서
Delphi Programming Tutorial&Documents
[129] 델파이 7 이후 추가된 새로운 VCL 기능들
박지훈.임프 [cbuilder] 44106 읽음    2008-01-02 16:29
 

델파이 7 이후 VCL이 새로운 기능들

VCL 어플리케이션에 기본적으로 테마 지원

모든 VCL 어플리케이션은 기본적으로 테마를 지원한다. 기존 어플리케이션을 새 버전으로 임포트하면 테마를 지원하지 않도록 설정되지만 Project|Options|Application|Enable Runtime Themes 옵션을 이용하면 간단히 테마를 적용할 수 있게 된다. 이렇게 하면 IDE는 어플리케이션에 테마 기능을 적용하기 위해 프로젝트 리소스 파일에 매니페스트 파일을 끼워 넣어 준다.

TForm.GlassFrame 프로퍼티

TForm 클래스는 이제부터 GlassFrame 이라는 프로퍼트를 가지며 이 프로퍼티는 폼에 윈도 비스타에서 채용된 에어로 글라스 효과를 적용할 수 있게 해 준다.

 

TTaskDialog

TTaskDialog 콤포넌트는 비스타에서 새로 도입된 태스크 대화 상자 기능을 사용할수 있게 해주는 콤포넌트이다. 오브젝트 인스펙터를 이용해서 개발자는 TaskDialog의 모양을 커스터마이즈할 수 있다.

 

TFileOpenDialog

윈도 비스타에 새로 도입된 파일 열기 대화 상자 기능을 사용하려면 TFileOpenDialog 콤포넌트를 사용하라.

 

TFileSaveDialog  
TFlowPanel

TFlowPanelTPanel 콤포넌트에서 파생되었으며 FlowStyle 프로퍼티의 값에 따라 내부에 콘트롤들을 배치할 수 있다. 기본값은 fsLeftRightTopBottom 인데 이는 TFlowPanel 내에 좌상단에서 부터 우하단 반향으로 배치함을 의미한다. TFlowPanel의 기능은 웹브라우저에서 텍스트등의 요소들과 유사하다.

TGridPanel

TGridPanel implements a grid panel control in which each component is placed within a cell on a grid.  With a grid panel, a developer can specify the number of rows and columns on the panel, then each component is placed into the next available cell in the grid, regardless of where it is placed with the mouse. If each grid contains a control and more controls are added, the location for the new controls is determined by the ExpandStyle property. For example, using the default ExpandStyle property of AddRows, a new row is added to the grid, and each cell in the row can contain a new control.

TCategoryButtons

The TCategoryButtons 콘트롤은 델파이 IDE 의 새 툴파레트 같은 버튼 모음을 만들수 있게 해준다. 콘트롤은 카테고리를 포함할 수 있으며 각 카테고리는 버튼을 포함한다. 카테고리의 색상을 변경할 수 있다. 다양한 프로퍼트를 이용해서 콘트롤의 모양을 변경할 수 있다.  원한다면 카테고리는 실행 시에 위치를 변경할 수 있으며 개개의 버튼은 카테고리 내에서 이동이나 복제가 가능한다.

TDockTabSet

TDockTabSet 에 대한 자세한 정보는 Jeremy North의 글(Using the TDockTabSet component)을 참조

TTrayIcon

TTrayIcon 콤포넌트는 VCL 어플리케이션이 태스크 트레이에 아이콘을 넣을 수 있도록 해준다. 이 콘트롤은 풍선 도움말과 팝업 메뉴를 지원한다.

인텔리마우스 지원

VCL 인텔리마우스 API를 지원한다. 예를 들어 아래 그림처럼 TMemo 콤포넌트 위에서 마우스 중앙 버튼을 누르면 사용자로 하여금 메모 내에서 스크롤링 하기 위해 마우스를 사용할 수 있도록 해 준다. 델파이 코드 편집기도 이 기능을 지원한다.

많은 RTL 함수를 Fastcode 프로젝트의 것으로 대체 FastCode 프로젝트 개발자들이 개발한 많은 기능들이 VCL과 RTL에 포함되었다.
Margin/Padding values in VCL All VCL controls now have Padding and Margin Properties.  These two properties work much like they do in HTML, with Padding describing the length in pixels that a container will place controls within itself. The Margin property describes the number of pixels outside of a control that will be given space.
AlignWithMargins

When the AlignWithMargins property of a component is set to True Align property is set to something other than alNone, then the control, when doing the alignment, will take into account it's own Margin property values and the Padding property values of its container.

For instance, below is a TPanel in a form. The Panel has its AlignWithMargins property set to True, and all of it's Margin values set to 20.  In addition, the form itself has its Padding.Bottom property set to 30. 

SnapBuffer/ScreenSnap 프로퍼티

TForm 클래스의 SnapBufferScreenSnap 프로퍼티는 폼에 자석 효과를 줄 수 있다.

데모 보기.

Rave Reporting Delphi 2007 for Win32는 가장 최신 버전의 Rave Reports CodeGear Edition을 포함한다
박지훈.임프 [cbuilder]   2008-01-02 16:29 X
김성동님이 코드기어 DN에 번역해서 올리신 것을 퍼온 것입니다.
http://dn.codegear.com/article/34346

+ -

관련 글 리스트
129 델파이 7 이후 추가된 새로운 VCL 기능들 박지훈.임프 44106 2008/01/02
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.