Оформление отчета- ПАМАГИТЕ

Shark
Дата: 28.05.2004 10:26:13
У элемента отчета свойство расширение - "да". Все хорошо, но остальные то элементы не расширяются:-(
Событие Форматирование раздела формы похоже происходит рано, а печать -поздно.
ПАМАГИТЕ
paparome
Дата: 28.05.2004 10:56:19
Shuhard
Дата: 28.05.2004 10:56:36
ты часом не про вертикальные линии(образуюшие сетку) спрашиваешь ?
Shuhard
Дата: 28.05.2004 10:57:44
вот оно телепатство
Shark
Дата: 28.05.2004 11:24:53
>http://am.rusimport.ru/MsAccess/topic.aspx?id=133
Большое Вам спасибо. Спасли, блин. Надож какой клевый метод- лайн.
Shark
Дата: 28.05.2004 11:32:29
> sec.Parent.Line (ctrl.Left, ctrl.Top)-(ctrl.Left + ctrl.Width, ctrl.Top + lMax), , B
Непонятно тока, как эта:
(ctrl.Left, ctrl.Top)-(ctrl.Left + ctrl.Width, ctrl.Top + lMax)
Че это блин за арифметика такая?
paparome
Дата: 28.05.2004 11:34:45
Это не арифметика - жто синтаксис такой у метода Line

help
Синтаксис

имяОбъекта.Line [[Step](x1, y1)] - [Step](x2, y2)[, [цвет][, B[F]]]
Shark
Дата: 28.05.2004 11:41:11
А в хелпе наврали чтоли?
Вот блин редиски:-)

The Line method draws lines and rectangles on a Report object when the Print event occurs.

expression.Line(flags, x1, y1, x2, y2, color)

expression Required. An expression that returns one of the objects in the Applies To list.

flags Required Integer.

x1 Required Single. The value indicating the coordinate of the starting point for the line or rectangle. The Scale properties (ScaleMode, ScaleLeft, ScaleTop, ScaleHeight, and ScaleWidth) of the Report object specified by the object argument determine the unit of measure used. If this argument is omitted, the line begins at the position indicated by the CurrentX property.

y1 Required Single. The value indicating the coordinate of the starting point for the line or rectangle. The Scale properties (ScaleMode, ScaleLeft, ScaleTop, ScaleHeight, and ScaleWidth) of the Report object specified by the object argument determine the unit of measure used. If this argument is omitted, the line begins at the position indicated by the CurrentY property.

x2 Required Single. The value indicating the coordinate of the end point for the line to draw. This argument is required.

y2 Required Single. The value indicating the coordinate of the end point for the line to draw. This argument is required.

color Required Long. The value indicating the RGB (red-green-blue) color used to draw the line. If this argument is omitted, the value of the ForeColor property is used. You can also use the RGB function or QBColor function to specify the color.
paparome
Дата: 28.05.2004 11:44:45
Ястно :)

У тебя Акс стоит 2000 или выше, а это синтаксис из ранних версий (вообще, стандарт basic) - он тоже поддерживается
Shark
Дата: 28.05.2004 11:49:29
Исчо раз огромное спасибо, отец родной. Юзаю эксес с его(эксеса) рождения, а такого клевенького метода не знал.