tag:blogger.com,1999:blog-8837899541977019574.post4812769310496363503..comments2022-11-16T14:41:56.197+01:00Comments on program begin end. // comments?: FDCLib - Wizards without the black magic - part 1Unknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8837899541977019574.post-59505514979468805682008-08-20T12:37:00.001+02:002008-08-20T12:37:00.001+02:00Like Damien, I've implemented TFrame via Interface...Like Damien, I've implemented TFrame via Interface. I've added too, OnShow and OnHide events... Precious for my use.<BR/>I'll be very curious to see how you'll implement this task. TFrame is a very convenient component. I really like it !Laurenthttps://www.blogger.com/profile/14811242489751256742noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-23379626410552480512008-08-20T12:37:00.000+02:002008-08-20T12:37:00.000+02:00Like Damien, I've implemented TFrame via Interface...Like Damien, I've implemented TFrame via Interface. I've added too, OnShow and OnHide events... Precious for my use.<BR/>I'll be very curious to see how you'll implement this task. TFrame is a very convenient component. I really like it !Laurenthttps://www.blogger.com/profile/14811242489751256742noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-75712307452126630142008-08-19T15:18:00.000+02:002008-08-19T15:18:00.000+02:00@SKamradt: I will resist the temptation to downloa...@SKamradt: I will resist the temptation to download and inspect :)<BR/>I hadn't actually thought about the accelerator keys, though. Good point.<BR/><BR/>@Damien: I was initially thinking about using interface(s), but wanted to get around the whole inheritance requirement.Lars Fosdalhttps://www.blogger.com/profile/05635001623287214775noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-59257075644059821782008-08-19T14:18:00.000+02:002008-08-19T14:18:00.000+02:00I have been down this road also (see my TFrameMana...I have been down this road also (see my TFrameManager component at http://www.threefishsoftware.com/tfcomponents.htm) but lately have found that decending from TForm and embedding that is simpler and has less side effects. There are a few problems which need to be overcome that occur with tab order, and accelerator keys.SKamradthttps://www.blogger.com/profile/16762334852308664245noreply@blogger.comtag:blogger.com,1999:blog-8837899541977019574.post-25791150821796306892008-08-19T13:41:00.000+02:002008-08-19T13:41:00.000+02:00I've a similar system already up.but all my frames...I've a similar system already up.<BR/>but all my frames inherit from TSimpleFrame<BR/>which is a simple frame with interface ISimpleFrame added. <BR/>I handle all my frames via Interfaces, and for now ISimpleFrame contains only the procedure Display.<BR/><BR/>Descendant frames can have more specifics interfaces. <BR/>I think working with interfaces simplify greatly the creation of a frame manager.Damien Demarshttps://www.blogger.com/profile/03044859419467589578noreply@blogger.com