|
|
|
| При открытии формы необходимо задать значение высоты формы.
Me.WindowHeight = 10000 - например.
А он пишет - Невозможно, дескать, задать значения данного свойства , така как оно, видите-ли, доступно только для чтения.
Жму F1 - а там 'Returns or sets the height of a form' - вроде должно работать, а не работает.
Посоветуйте что-нить.... | |
|
| |
|
|
|
| F1
MoveSize Method
See_Also Applies_To Example Specifics
The MoveSize method carries out the MoveSize action in Visual Basic.
expression.MoveSize(Right, Down, Width, Height)
expression Required. An expression that returns one of the objects in the Applies To list.
Right Optional Variant. A numeric expression.
Down Optional Variant. A numeric expression.
Width Optional Variant. A numeric expression.
Height Optional Variant. A numeric expression.
Remarks
For more information on how the action and its arguments work, see the action topic.
You must include at least one argument for the MoveSize method. If you leave an argument blank, the current setting for the window is used.
You can leave an optional argument blank in the middle of the syntax, but you must include the argument's comma. If you leave one or more trailing arguments blank, don't use a comma following the last argument you specify.
The units for the arguments are twips.
Example
The following example moves the active window and changes its height, but leaves its width unchanged:
DoCmd.MoveSize 1440, 2400, , 2000
|
| |
|
| |