Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Delphi For PHP > VCL4PHP
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

VCL4PHP VCL for PHP. Questions or comments about the Visual Component Library for PHP, post them here!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11th January 2009, 09:26
just Joined!
 
Join Date: Jan 2009
Posts: 2
yasheena is on a distinguished road
Default Filling TreeView from database

Hi,

to fill a TreeView with data normally I use the Items array in the object inspector. But now I want to load a dynamic data structure into a TreeView, which is stored in a database. It was not so a problem to create a Items array with the data of the database. My real problem is to get the data into the TreeView component. I tried all the TreeView events and also before/after
$Main->loadResource(__FILE__) and $Main->show(), but nothing works. It seems that the Items property of the TreeView object isn't available at no time. How is it possible to initialize a TreeView with own dynamic data?

Greetings,
Wolfgang
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11th January 2009, 17:56
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,274
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

See if this Developer's Guide :: Using TreeViews - Delphi for PHP Documentation Wiki gives you enough to figure it out.

If not let us know and we can probably add to it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 02:38.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use