Chris,
Probably using Control instead of object would do the trick.
~~Bonnie
>I just did a search for WITH/ENDWITH, hoping there was some alternative in C#... how disappointing. So, find another way.
>
>I decided I missed the .Move() method so much that I wrote my own. (the code is at home, I'll try to recreate it here)
>
>m_Move( txtMyTextbox, 0, 0, 50, 20 );
>
>private static void m_Move( object Victim, int Left, int Top, int Width, int Height ){
>if( Left == -1 )
> Left = Victim.Left;
>if( Top == -1 )
> Top = Victim.Top;
>.
>.
>.
>Victim.Left = Left;
>Victim.Top = Top;
>.
>.
>}
>
>My problem is that when I compile, I of course get a long list of "Left is not a valid property of 'object'", or something along those lines. Is there anyway to get rid of these warnings via another coding style or method ?
>
>TIA