property Note.RelativePosition as Variant
Specifies the position of the note relative to associated object.

 TypeDescription 
   Variant A numeric expression that specifies the relative position, or a string expression that starts with "S" or "E" following a numeric expression, as explained in the description.  
By default, the RelativePosition property is 0.5 if a note is associated with a DATE, and 0, if the note is associated with a BAR. The Key parameter of the Add method determines whether the bar is associated with a DATE or with a BAR. The RelativePosition property always specifies the position of the starting part of the note relative to the DATE or BAR being associated. Use the PartHOffset / PartVOffset property to specify the horizontal / vertical offset relative to the start or end part. The PartCanMove property specifies whether the user can move at runtime the part of the note.

Using notes feature of the control you can associate notes or boxes to dates or bars as follow:

If The RelativePosition property indicates a numeric value the note is displayed relative to the DATE or BAR as follow:

If The RelativePosition property indicates a string expression that starts with S or E the note is displayed relative to the BAR (ONLY) as follow:

The PartHOffset / PartVOffset properties indicate the horizontal / vertical offset as follow:

The moving cursor is shown on the movable part if:

The following screen shows shows how the notes can be moved by the user:

 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.