Customizing the metamodel : Keywords for USRPROPS : LABELPOS
  
LABELPOS
A parameter of the PLACEMENT command that you use to specify exact placement of a property’s name (or label) on a DIAGRAM, SYMBOL, or DEFINITION dialog. The LABELPOS command has two arguments – the horizontal position (from the top of the dialog) in Windows units, and the vertical position (from the left of the dialog) in Windows units.
Syntax:
PLACEMENT { LABELPOS(4, 52) PROPPOS (horizontal-positioning, vertical-positioning) PROPSIZE (width, height) }
Example
DEFINITION "My Definition"
{
PROPERTY "Table Name" { EDIT Text LENGTH 31 PLACEMENT { LABELPOS (4, 24) PROPPOS (20, 24) PROPSIZE(150, 12)} }
}
Notice in the above example that LABELPOS and PROPPOS have the same y coordinate (24) – this means that the tops of their letters will both be 24 units from the top of the dialog. This means that the label will be to the left of the control (not over it). Notice also that the difference between the PROPPOS x coordinate and the LABELPOS x coordinate (20 - 4 = 16) leaves plenty of room (16 -10 = 6 units) for the 10-character label name, which is "Table Name", since it has to go to the left of the starting point of the property control’s starting position.