|
-
March 17th, 2003, 06:40 PM
#1
Help with a variable error message...
I'm getting the following error message, and can't figure out why:
C:\CPP\MyTestApp\MyTestApp\FormMain.cs(118): Cannot modify the return value of 'System.Windows.Forms.Control.Location' because it is not a variable
Here is the line of code it refers to:
this.Location.X = Convert.ToInt32(ReadXMLConfigFile ("WindowLocationX"));
Any idea why "this.Location.X" is not a variable, when it takes an INT?
Thanks! 
- Adrian
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|