Multi line in ABB textbox

Klaus
✭✭
I have severel textboxes where i use textbox.multiline = False but when i write in the textbox there comes multilines.
Is it a bug or du i miss some thing.
Here is my code
Me.Txt_RP_Name.BackColor = System.Drawing.Color.MediumBlue
Me.Txt_RP_Name.CaretVisible = False
Me.Txt_RP_Name.FontName = New ABB.Robotics.Tps.Windows.Forms.DesignerFont("Font10")
Me.Txt_RP_Name.ForeColor = System.Drawing.SystemColors.ActiveCaptionText
Me.Txt_RP_Name.Location = New System.Drawing.Point(230, 44)
Me.Txt_RP_Name.Multiline = False
Me.Txt_RP_Name.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.Txt_RP_Name.SelectionLength = 0
Me.Txt_RP_Name.SelectionStart = 0
Me.Txt_RP_Name.SelectionVisible = False
Me.Txt_RP_Name.Size = New System.Drawing.Size(193, 31)
Me.Txt_RP_Name.TabIndex = 136
Me.Txt_RP_Name.Text = "Receipe_1"
Me.Txt_RP_Name.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.Txt_RP_Name.WordWrap = True
Best regards klaus
Best Regards
Klaus Soenderhegn
www.cadalysator.dk
Klaus Soenderhegn
www.cadalysator.dk
0
Comments
-
Try turning off WordWrap.
Also, if you are editing the InitializeComponent (the automatically generated design view) section of your code, be aware of the fact that making changes in the designer can and will regenerate the InitializeCOmponent code, which may overwrite changes that you have manually added.
RussD2008-1-15 14:16:10Russell Drown0 -
Hei Russ
It works. Thanks alot.
Best regards klaus
Best Regards
Klaus Soenderhegn
www.cadalysator.dk0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 830 RAPID Programming
- 13 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings