2 Replies - 4569 Views - Last Post: 09 May 2010 - 01:49 PM Rate Topic: -----

#1 hamidkhl  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 118
  • Joined: 03-November 08

panel.location

Posted 09 May 2010 - 12:59 PM

Hello

I want to change my panel's location
my code:
Mypanel.location.Y=200;


but error!!!
how should I assign Panels location?
thank you
Is This A Good Question/Topic? 0
  • +

Replies To: panel.location

#2 poncho4all  Icon User is offline

  • D.I.C Head!
  • member icon

Reputation: 123
  • View blog
  • Posts: 1,405
  • Joined: 15-July 09

Re: panel.location

Posted 09 May 2010 - 01:21 PM

The location should be Capital L

And do it like this
MyPanel.Location = new Point(x,y);

Point is a class that asks for x and y coordinates, and Location recives this kind of data
Was This Post Helpful? 1
  • +
  • -

#3 hamidkhl  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 118
  • Joined: 03-November 08

Re: panel.location

Posted 09 May 2010 - 01:49 PM

Thank you :rolleyes2:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1