View Single Post
 
Old November 20th, 2015, 05:07 AM
Rod Stephens's Avatar
Rod Stephens Rod Stephens is offline
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

I know the parentheses shown in red below shouldn't be there. Is anything else going wrong with it?

Code:
if (input == "a\r\n")
{
    RFID.Text += (" Name       ------    \r\n ");
    RFID.SelectionStart = RFID.Text.Length;
    RFID.ScrollToCaret();
    RFID.Refresh();
}
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)

Last edited by Rod Stephens; November 20th, 2015 at 05:10 AM..