Link to home
Start Free TrialLog in
Avatar of lisa_mc
lisa_mcFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Aligning text in a memo component

I am using c++ builder 6.0

I have a memo component to display text that I am reading from a file.

Example of my layout would be

Machine                                            Name                                                 Location
B:1 C:1                                             Casino Poker 10p/£5                          43
B:1 C:2                                             HiLo Poker                                          67

And so on...

My question is - I want to know if there is a way of writing machine number allowing max 10 spaces then two tab.  Then write machine name allowing max 50 spaces then two tabs, then write location number.  

I would like to be able to do this because if a machine has a longer name then my location number is not aligned and it looks messy.

Is it possible to do this?
ASKER CERTIFIED SOLUTION
Avatar of itsmeandnobodyelse
itsmeandnobodyelse
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial