AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

hhProgressbar dynamisch erstellen

Ein Thema von Nicodius · begonnen am 20. Mai 2005 · letzter Beitrag vom 20. Mai 2005
Antwort Antwort
Nicodius

Registriert seit: 25. Apr 2003
Ort: Graz
2.234 Beiträge
 
Delphi 2006 Architect
 
#1

hhProgressbar dynamisch erstellen

  Alt 20. Mai 2005, 16:24
vl kennt jemand die Progressbar abwandlung hhProgressbar - die funktioniert mit farbverlauf etc -


Delphi-Quellcode:
  ProgBar_1[index] := Thhprogressbar.Create(Form1);
  ProgBar_1[index].Min := 0;
  ProgBar_1[index].Max := 100;
  ProgBar_1[index].Position := HPList_1[index]; //y-- heir kommt der fehler
  ProgBar_1[index].Left := bit.Left;
  ProgBar_1[index].Top := bit.Top-5;
  ProgBar_1[index].Width := bit.Width;
  ProgBar_1[index].Height := 5;
  ProgBar_1[index].Parent := Form1;
ProgBar_1 ist ein Array [1..10000] of Thhprogressbar


und dann beim dynamischen erstellen (auf mausklick) kommt

Zitat:
---------------------------
Benachrichtigung über Debugger-Exception
---------------------------
Im Projekt TestProg.exe ist eine Exception der Klasse EInvalidOperation aufgetreten. Meldung: 'Element '' hat kein übergeordnetes Fenster'. Prozess wurde angehalten. Mit Einzelne Anweisung oder Start fortsetzen.
---------------------------
OK Hilfe
---------------------------
danke für die Hilfe
Nico Müller
  Mit Zitat antworten Zitat
Dax
(Gast)

n/a Beiträge
 
#2

Re: hhProgressbar dynamisch erstellen

  Alt 20. Mai 2005, 16:27
Setze Parent doch mal als erstes
  Mit Zitat antworten Zitat
Nicodius

Registriert seit: 25. Apr 2003
Ort: Graz
2.234 Beiträge
 
Delphi 2006 Architect
 
#3

Re: hhProgressbar dynamisch erstellen

  Alt 20. Mai 2005, 16:30
danke
Nico Müller
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:51 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz