Delphi Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreDelphi Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 9th, 2005, 09:46 AM
theewolizer theewolizer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 8 theewolizer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 41 m 36 sec
Reputation Power: 0
needs help : about object property inside the TScrollBox

i try to create object on the fly using run-time . . i try using this code :

Code:
procedure TForm2.ButtonAddClick(Sender: TObject);
begin
  EditNoArr:= TEdit.Create(Self);
  with EditNoArr do
  begin
    Left:= 25;
    Width:= 31;
    Height:= 22;
    Top:= 15;
    Parent:= Self;
  end;
end;


but the problem is i want the object TEdit is created inside the ScrollBox, so property left is 25 not 25 from the TForm but 25 from the ScrollBox, so the others to. Like creating in gui, the object treeview show inside the scrollbox there is an object. how to do that, but in run-time ?
sorry my english not good...
thax before

Reply With Quote
  #2  
Old February 11th, 2005, 09:47 AM
theewolizer theewolizer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 8 theewolizer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 41 m 36 sec
Reputation Power: 0
anyone plz.......

Reply With Quote
  #3  
Old February 11th, 2005, 04:16 PM
theewolizer theewolizer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 8 theewolizer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 41 m 36 sec
Reputation Power: 0
i found how to do it......suddently it pass into my head..
just replace self with the name of TScrollBox......
thanx.......

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreDelphi Programming > Newbie needs help : about object, record, and array.............


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT