Skip to Content
avatar image
Former Member

Alignment of controls

Is it possible to set the alignment of a control (e.g. right alignment) in a form ?

The property RightJustified only changes the direction for text input (required in Israel).

There seems to be no align property for an item?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 23, 2004 at 01:31 AM

    Hi,

    I'd like to align controls (e.g. to the right side of the form).

    Do I really have to catch the resize events sent by the form and rearrange the items?

    Anchor properties (akLeft, akTop, akRight, akBottom) for an Item object would be really nice in the next version.

    What are the options in 6.5?

    Thanks,

    Gerold

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi John,

      Thanks for your reply.

      Now I know why some controls I added to a form were aligned to the bottom instead of placed at the assigned position (.top).

      Is there a way to disable this auto-alignment behaviour in SBO 6.5?

      Another option would be to change the size of the form before adding the controls to the form to prevent the auto-aligment. But this is not really nice...

      Thanks.

      Gerold