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.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings