At 04:14 PM 4/10/2008, Wills, Steve wrote:

... what is the purpose/function of "SPACER"?

The "Spacer" property of the Bevel control is used to occupy
an empty space.

This property is best used when the Bevel "Align" property is
set to Left for empty space on a left side of a form and then
different control with Align property are also aligned to left.

To test this property, try the following step-by-step exercise:

01. On an empty form, place a Bevel control with the following
    Bevel Properties:

    Align: Left
    Style: Lowered
    Shape: Spacer

    Notice the entire Bevel control being aligned on the left
    side of form.

    Adjust the width as you wish.

02. Now place any form control with Align property, such as
    DB Rich Edit with the following properties:

    Align: Left

    Notice the placement of DB Rich Edit control right beside
    the exactly allocated space of Bevel with Spacer.

    The spacer is being used as empty space.

    If you remove the Bevel control, the DB Rich Edit control
    will be aligned all the way to left side of the form and
    there will be no empty space.

That very simple exercise should explain everything itself!

That's all there is to it!

Very Best R:egards,

Razzak.


Reply via email to