Home

SpeakComputers.com | Text-to-Speech Software

Natural sounding TTS voice support | Cepstral TTS voices | Text to MP3 | Natural Readers

Text to Speech Software Text to Speech Voices SpeakComputer Text to Speech Software

UltraTextEditor Control.

Compared with the Windows Textbox control, the ultraTextEditor control offers all the features as the Windows TextBox and alot more. Firstly the presentation styles include Office2007, Office2003, VisualStudio, XP and Office2000. The control also includes optional left and right buttons that can be used to update databases, confirm entries etc.


   

Namespace: Infragistics.Win.UltraWinEditors
Assembly: Infragistics2.Win.UltraWinEditors.v6.3.dll

using Infragistics.Win.UltraWinEditors;
Calling: Infragistics.Win.UltraWinEditors.UltraTextEditor


Creating a new Infragistics.Win.UltraWinEditors.UltraTextEditor control.
Infragistics.Win.UltraWinEditors.UltraTextEditor ultratexteditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();

Adding the UltraTextEditor control to a Windows form.
this.Controls.Add(ultratexteditor1);

Placing the UltraTextEditor on the form at a specific location.
ultratexteditor1.Location = new Point(50, 50);

Assigning a text value to a UltraTextEditor control.
ultratexteditor1.Text = "Enter";

Assigning a TextChange event to the UltraTextEditor control.
ultratexteditor1.TextChanged+=new EventHandler(ultratexteditor1_TextChanged);

Responding to the buttons click event.
private void ultratexteditor1_TextChanged(object sender, EventArgs e)
{
//The MessageBox is part of the System.Windows.Forms namespace.
MessageBox.Show("HelloWorld");
}

Changing the background color of the button control.
ultratexteditor1.Appearence.BackColor = System.Drawing.Color.Red;

To disable the UltraTextEditor control.
ultratexteditor1.Enabled = false;
Here the UltraTextEditor control is still visible (partially faded) but will not respond to any events. To re-enable the UltraTextEditor control you would set the Enabled property to true. When adding the UltraTextEditor control the default setting is for the control to be Enabled.

The UltraTextEditor control from Infragistics includes preloaded dispay style formats including XP style, Visual Studio style, Office2003 Style and Office2007 style. You can also create your own appearence styles by editing the appearence properties.

To change the UltraTextEditor style you simply change the display style property.

ultraTextEditor1.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.Office2007;

To create a EditorButtonClick event.
ultraTextEditor1.EditorButtonClick+=new Infragistics.Win.UltraWinEditors.EditorButtonEventHandler(ultraTextEditor1_EditorButtonClick);

To respond to button events (left or right) for the control.
private void ultraTextEditor1_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e) { switch (e.Button.Key) { case "Yes": MessageBox.Show("Yes"); break; case "No": MessageBox.Show("No"); break; } }
Top of page
Text to Speech Speech synthesis Software TTS Software
Copy Right 2006 SpeakComputers.com - All Rights Reserved.
About Privacy Policy TTS Resouces
Free Text to Speech software
Free Text to Speech Software