text and control on same line

General TRichView support forum. Please post your questions here
Post Reply
adamrich
Posts: 35
Joined: Sun Feb 19, 2006 1:55 pm

text and control on same line

Post by adamrich »

Hello,

I need help on how to add text and edit control after each other
for example I can add
First Name [Edit1.Text]
Last Name [Edit2.Text] so on.


But I need to be on same line not below each other:

Just like

First Name [Edit1.Text] Last Name [Edit2.Text] Address [Edit3.Text] so on.

Editx.Text is a TEdit Control

Thanks in advance
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Use AddNL method for adding text, AddControlEx for adding controls.
If you need to add to the same line, pass -1 in ParaNo parameter.
Post Reply