delphi - Rave Reports DataText Left -


I am using Delphi 7 and Rev Reports. How do I set up datatypes? Left property (from noise reports) dynamically according to the size of another datatext which comes first. I tried to use the width from the previous datatext, the length of the field, the first dataet is showing ... none of them work.

The length does not take into account the width of the letters, which will be different depending on the font settings.

  // Assume that autosystem property is correct // Note: 8 is added as a transfer DataText.Left: = LastDataText.Left + LastDataText.Width + 8;  

If you load the data from the dataset, take a look at the property of the TField class.

// Calculate the width of the previous field TextView: = Dataset.field [0]. DisplaysWall * QuickRapport Cavanus Textwidth ('M'); DataText.Left: = LastDataText.Left + TextWidth;

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -