That would certainly provide more flexibility in how to display the data, that is true. I would say that each unit of info you want to display in a cell should be one of those objects. Then a collection of those objects (either multiple rooms, same time slot or multiple time slots same room) would be another.. You could assign the object to a TList to make the collection easier. Dave
Theo Bebekis <[EMAIL PROTECTED]> wrote: O/H Wilson, Stephen Ýãñáøå: > David > > Thanks for your reply. I probably made my explanation a bit too brief and > left out essential info and used misleading terminology. David If I understood you well, the problem you're describing is not a drawing problem or a database problem at all. It's more a design problem. I believe you first need to depict your data using a set of business classes and a 2-dimensional array of objects of those classes where you'll have together all the required information. Obviously you need a TRoom (read column) class, a TDayInARoom or something similar, a TDaySlot, etc, etc. Fetch the data from your datastore, create your businnes objects and put them in that array, and then you can find many ways to represent that information either in a TDrawGrid or a TStringGrid or just putting TCustomControls or even TButtons on a TScrollBox, or... -- Regards Theo ------------------------ Theo Bebekis Thessaloniki, Greece ------------------------ Greek_Delphi_Prog : a Delphi Programming mailing list in Greek at http://groups.yahoo.com/group/Greek_Delphi_Prog CSharpDotNetGreek : A C# and .Net mailing list in Greek language at http://groups.yahoo.com/group/CSharpDotNetGreek atla_custom : a Unisoft Atlantis Customization mailing list at http://groups.yahoo.com/group/atla_custom ------------------------ ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links --------------------------------- How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates. [Non-text portions of this message have been removed] ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

