Re: Programming Delphi all in textPosted by webmaster Guido on May 16, 2003 In Reply to: Re: Programming Delphi all in text posted by julianbury on May 16, 2003
: I wish to design the forms without resorting to the visual design facility. It's not desirable to design forms without the visual design, this makes it *very* complex, and it's only done by experts if there really is no other way to accomplish your goals. In Delphi, you can design a basic form and change it as needed in runtime: add components, move them, change their properties and behavior, hide them, and so on... So you combine the best of visual design with "customization" in code, that is executed during runtime. Grid1.Cells[0,1] := 'A'; If at a certain point there are not enough rows in the StringGrid, you just add rows as needed, also at runtime; this is very easy: Note that in this way, you can even delete rows from the grid that are not needed. Be aware though that this won't be an easy project, you'll need a lot of experimenting with Delphi...
[ DelphiLand: free Delphi source code, tips, tutorials ] |
|