Property Integer Label_Justification_Mode
Read Access: | Get Label_Justification_Mode to IntegerVariable |
Write Access: | Set Label_Justification_Mode to IntegerVariable/Value |
Label_Justification_Mode is the justification mode for the text within this object's label.
When the label_justification_mode is changed the row and col offset properties will often need to be changed as well.
The default mode for labels (jmode_left) is stored in the global integer default_label_jmode.
Object LeftForm is a Form Set Size to 13 100 Set location to 10 70 Set label to "Left Justify:" // use default column of 60 End_object Object RightForm is a Form Set Size to 13 100 Set location to 10 70 Set label to "Right Justify:" Set label_justification_mode to jmode_right // set distance between right side of the label and the left side // of the object Set label_col_offset to 3 End_object Object TopForm is a Form Set Size to 13 100 Set location to 10 70 Set label to "Top Justify:" Set label_justification_mode to jmode_top // label and object will align vertically Set label_col_offset to 0 End_object
Default is JMode Left.