Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
163
Добавлен:
11.05.2015
Размер:
4.73 Mб
Скачать

WindowSize Example

The following example displays a Report in a Preview Window. The window will appear in the upper left corner of the screen and will be 300 pixels high, and 500 pixels wide:

Crpe1.ReportName := 'MyReport.rpt'; Crpe1.Output := toWindow;

with Crpe1.WindowSize do begin

Left := 0;

Top := 0; Height := 300; Width := 500;

end; Crpe1.Execute;

WindowSize Properties

WindowSize Height property, Page 701

WindowSize Left property, Page 702

WindowSize Top property, Page 703

WindowSize Width property, Page 703

WindowSize Methods

WindowSize Clear method, Page 704

WindowSize CopyFrom method, Page 705

WindowSize Create method, Page 705

WindowSize Retrieve method, Page 705

WindowSize Send method, Page 706

WindowState

Declaration

property WindowState: TWindowState;

Type

TWindowState = (wsNormal, wsMinimized, wsMaximized);

VCL Reference

127

Соседние файлы в папке crystal