<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
    <link>http://forum.geizhals.at/feed.jsp?id=283220</link>
    <description>Geizhals-Forum</description>
    <item>
      <title>Re(3): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1843680.html#1843680</link>
      <description>ne - gabs auch schon in VB6&lt;br/&gt;</description>
      <pubDate>Fri, 15 Oct 2004 06:07:38 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1843680.html#1843680</guid>
      <dc:creator>TheWikkinger</dc:creator>
      <dc:date>2004-10-15T06:07:38Z</dc:date>
    </item>
    <item>
      <title>Re(2): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1843159.html#1843159</link>
      <description>Me.Controls.Add .. gabs das auch schon in VB6 ? .. ich dachte immer das sei VB.NET spezifisch ..&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 20:01:03 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1843159.html#1843159</guid>
      <dc:creator>Somnatic</dc:creator>
      <dc:date>2004-10-14T20:01:03Z</dc:date>
    </item>
    <item>
      <title>Re(4): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842815.html#1842815</link>
      <description>hab einen request geschickt!&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 17:51:15 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842815.html#1842815</guid>
      <dc:creator>Entity</dc:creator>
      <dc:date>2004-10-14T17:51:15Z</dc:date>
    </item>
    <item>
      <title>Re(3): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842810.html#1842810</link>
      <description>das dynamische erstellen von controlls hat mich die letzten zwei wochen genervt &lt;img src="zwinker.gif" width="16" height="19" align="absmiddle" alt=";-)"/&gt;&lt;br&gt;kannst dich auch direkt via icq an mich wenden - no prob.&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 17:49:08 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842810.html#1842810</guid>
      <dc:creator>TheWikkinger</dc:creator>
      <dc:date>2004-10-14T17:49:08Z</dc:date>
    </item>
    <item>
      <title>Re(2): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842794.html#1842794</link>
      <description>coole sache.. werds zwar heut nimma ausprobieren, aber du bist mein Held!&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 17:44:57 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842794.html#1842794</guid>
      <dc:creator>Entity</dc:creator>
      <dc:date>2004-10-14T17:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842781.html#1842781</link>
      <description>so gehts&lt;br&gt;&lt;br&gt;label erstellen:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim ctl As Label&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Set ctl = Me.Controls.Add("VB.Label", "MeinLabel1")&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;With ctl&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Caption = "woswasi"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Top = 400&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Left = 500&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Width = 3000&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .Visible = True&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End With&lt;br&gt;&lt;br&gt;&lt;br&gt;label löschen:&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.Controls.Remove ("MeinLabel1")&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 17:40:36 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842781.html#1842781</guid>
      <dc:creator>TheWikkinger</dc:creator>
      <dc:date>2004-10-14T17:40:36Z</dc:date>
    </item>
    <item>
      <title>Re(4): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842457.html#1842457</link>
      <description>danke sehr.. werd mir das anschaun!&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 15:51:26 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842457.html#1842457</guid>
      <dc:creator>Entity</dc:creator>
      <dc:date>2004-10-14T15:51:26Z</dc:date>
    </item>
    <item>
      <title>Re(3): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842446.html#1842446</link>
      <description>Wenn Du z.B. ein Label-Objekt (Name = "Label", Index = 0) und eine TextBox (Name = "TextBox", Index = 0) auf der Form hast (kann übrigens ruhig unsichtabr sein), dann kannst Du es ca. so machen:&lt;br&gt;&lt;br&gt;Private Sub Hinzufügen_Click()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;For Each Ctrl In Array(Label, Textbox)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Index = Ctrl.Count&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Load Ctrl(Index)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Ctrl(Index).Top = Ctrl(Index - 1).Top + Ctrl(Index - 1).Height&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Ctrl(Index).Visible = True&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Next&lt;br&gt;End Sub&lt;br&gt;&lt;br&gt;Private Sub Entfernen_Click()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;For Each Ctrl In Array(Label, Textbox)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Index = Ctrl.Count&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Unload Ctrl(Index - 1)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Next&lt;br&gt;End Sub&lt;br&gt;&lt;br&gt;Funktioniert natürlich nicht nur mit Textboxen, sondern auch mit anderen (z.B. Checkboxen usw.)&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 15:48:40 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842446.html#1842446</guid>
      <dc:creator>Thing</dc:creator>
      <dc:date>2004-10-14T15:48:40Z</dc:date>
    </item>
    <item>
      <title>Re(2): VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842441.html#1842441</link>
      <description>kannst du mir vielleicht auch einen satz dazu schreiben??&lt;br&gt;an ein array von labels hab ich auch schon gedacht. jedoch bin ich aus meiner Überlegung auch nicht schlau geworden..&lt;br&gt;&lt;br&gt;und das kann doch auch nich ernsthaft die einzige oder beste möglichkeit sein ein Label zu erstellen.&lt;br&gt;&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 15:47:34 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842441.html#1842441</guid>
      <dc:creator>Entity</dc:creator>
      <dc:date>2004-10-14T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842420.html#1842420</link>
      <description>stichwort: Control Arrays&lt;br&gt;&lt;br&gt;evtl. hilft das ..&lt;br&gt;&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 15:39:07 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842420.html#1842420</guid>
      <dc:creator>Somnatic</dc:creator>
      <dc:date>2004-10-14T15:39:07Z</dc:date>
    </item>
    <item>
      <title>VB - ein Label in Kombination mit einem Objekt erzeugen und später wieder zu löschen</title>
      <link>http://forum.geizhals.at/t283220,1842166.html#1842166</link>
      <description>Ich schätz des Topic sagt eh schon alles..&lt;br&gt;&lt;br&gt;&lt;br&gt;ich will über einen Button ein neues Label erstellen, welches Visuell ein gleichzeitig erzeugtes Objekt darstellen soll.&lt;br&gt;&lt;br&gt;Später, falls das Objekt gelöscht wird soll das Label auch gelöscht werden.&lt;br&gt;&lt;br&gt;Ich hab ein bißchen gesucht, aber hab nur die Möglichkeit gefunden Label.visible = true/false zu setzten, aber damit kann ich nix anfangen, weil auch die Position der Labels unterschiedlich sein müssen, je nachdem das wievielte erstellte Label es ist!&lt;br&gt;&lt;br&gt;Kanns sein, daß es da keine Möglichkeit gibt, so etwas zu machen, oder hab ichs nur einfach nicht gefunden?&lt;br&gt;&lt;br&gt;danke für eure seelischen Beistand!&lt;br&gt;mfg P.&lt;br/&gt;</description>
      <pubDate>Thu, 14 Oct 2004 13:46:08 GMT</pubDate>
      <guid>http://forum.geizhals.at/t283220,1842166.html#1842166</guid>
      <dc:creator>Entity</dc:creator>
      <dc:date>2004-10-14T13:46:08Z</dc:date>
    </item>
  </channel>
</rss>
