LEFT

LEFT N,V

POSITIONS THE LEFT EDGE OF THE SYSTEM OBJECT NUMBER N AT V PIXELS FROM ITS PARENT

  • Type: Command
  • Parameters: 2
  • Group: System Objects

ACTION

The command LEFT N,V positions the left edge of the system object designated by its number N, at V pixels from its parent system object (the "container").

SYNTAX: LEFT N,V

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.
  • V = number of pixels (integer or real) between the left edge of the system object and its "container".

USE

  • The command LEFT is used to position a system object horizontally.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is less than 0.
  • If system object number N does not exist.
  • If the object number N is of type : MAIN_MENU, SUB_MENU, SOUND, OPEN_DIALOG, SAVE_DIALOG, DLIST, TIMER, MAIN_MENU_POP, OPEN_DIALOG_PIC, SAVE_DIALOG_PIC, SERIAL, IMAGE, TAB.
  • If value V is not a correct expression.

EXAMPLE

rem create a BUTTON

button 1:left 1,15

rem position its the left edge at 100 pixels from FORM0

left 1,100

SEE ALSO

TOP