Marcos, it's not exactly a problem. My example in Lua is supplied only to show the hard code styly needed to my targets.
Even if more code is required, it's always possible to enclose the complexity in classes. I really like Pascal and I expect to find a solution using only Pascal. I don't know how to test this idea. What is the best reference for tform? I use Ubuntu 10.04 and FPC 2.4.0. To install Lazarus, is it sufficient to do "sudo apt-get install lazarus", after uninstalling FPC? Vincent, You got the point. When I came across LFMs, I thought a hard code focus could not be used. But, I can imagine another problem. Lazarus interface is unbelievably worse. So I would like to compile my projects only doing: fpc project.pp. Using this method, could I link with all units? Some time ago, I tried to compile a Lazarus project in the command line. However, almost all declared units couldn't be found. Sorry for the excessive quantity of questions, but the subject is really new for me. I want to take a direction. 2010/10/25, Vincent Snijders <vincent.snijd...@gmail.com>: > 2010/10/25 luciano de souza <luchya...@gmail.com> > >> >> My question is: is it possible to create all the interface with tform >> without using the Lazarus interfaces, in other words, only typing >> codes in a text editor? >> > > Yes, everything you can do in the form designer can be done in code too. > > Take a look at all examples in lazarus\examples, (but not in the > subdirectories) that don't use the form designer. > > All the other examples could be converted to code-only, without .lfm file > created by the designer. > > Vincent > -- Luciano de Souza _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel