Insert Periods after unused space inside of a control


03-10-2010, 11:45 AM
I am creating a proposal report and looking to have periods inserted after the data inserted into a textbox control

For example my control is 5.5 inches wide and the data being populated there varies in length.

Is there a way to insert periods after the unused space in the control?


TextTextTextTextTextText.....................................
TextTextText.........................................................

Any way to do this?

Ryan Brown
Media Environment Design, Inc.

Re: Insert Periods after unused space inside of a control


03-10-2010, 9:48 PM
Hello,

Do you want to concatenate periods (string) after the data in a textbox? You can concatenate data to a textbox in the section format event like:

private void detail_Format(object sender, EventArgs e)
{
   textBox1.Text += "ABC";
}

Regards,
Ankit Nigam