Page 1 of 1

text and control on same line

Posted: Thu Nov 12, 2009 10:09 pm
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

Posted: Fri Nov 13, 2009 4:21 pm
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.