<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'How Do I create and manipulate shapes at run-time?' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'How Do I create and manipulate shapes at run-time?' posted on the 'Delphi and Kylix' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Mon, 17 Jun 2013 23:19:26 -0700</pubDate>
    <lastBuildDate>Mon, 17 Jun 2013 23:19:26 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>How Do I create and manipulate shapes at run-time?</title>
      <link>http://www.programmersheaven.com/mb/delphikylix/428204/428204/how-do-i-create-and-manipulate-shapes-at-run-time/</link>
      <description>So I'v made an array of Tshape and used that to create many shapes at run-time. Now I want to change their positions, sizes ect. at runtime aswell - After creating them at run-time obviously.&lt;br /&gt;
------------------------------------&lt;br /&gt;
More or less how i did it:&lt;br /&gt;
&lt;br /&gt;
Var&lt;br /&gt;
shp : Array[1..10] of Tshape;&lt;br /&gt;
&lt;br /&gt;
procedure Btnclick&lt;br /&gt;
 shp[x].left := SpinEdt.value;&lt;br /&gt;
 shp[x].top := SpinEdt.value;&lt;br /&gt;
 shp[x].parent := form1;&lt;br /&gt;
========================================&lt;br /&gt;
Now i want to do something like this:&lt;br /&gt;
procedure Btnchangeclick:&lt;br /&gt;
 shp[x].left := OtherSpinEdt.value;&lt;br /&gt;
 shp[x].top := Otherspinedt.value;&lt;br /&gt;
--------------------------------------&lt;br /&gt;
But the shape remains exactly the same, i cant manage to change it at all from the way i made it and i just know it has to be something simple!&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/delphikylix/428204/428204/how-do-i-create-and-manipulate-shapes-at-run-time/</guid>
      <pubDate>Mon, 09 Apr 2012 12:14:49 -0700</pubDate>
      <category>Delphi and Kylix</category>
    </item>
  </channel>
</rss>