Recent

Author Topic: Including "Form" in a command line program [SOLVED]  (Read 2571 times)

pascal111

  • Sr. Member
  • ****
  • Posts: 423
  • Un trabajo en equipo para programas serias.
Re: Including "Form" in a command line program
« Reply #15 on: September 06, 2021, 11:02:00 am »
OK, I /still/ feel that I'm taking a shot in the dark and please understand that I'm typing fast while moving between several other things that need to be done. Don't try to graft forms into a command line program, work the other way and break out from a GUI app if you decide you don't need to display one or more forms... see the example I pointed you at.

Assuming you're using the Lazarus IDE- and if you're trying to use forms etc. without using Lazarus then you're /really/ making a rod for your own back- it tries to hide as much stuff as possible but you really do need to look at the .lpr file it creates automatically and see how that interworks with the .pas which contains the object representing your form.

Seriously, there's limits to what you can do with an "add one line at a time" approach: you need the scaffolding supplied by the IDE and LCL first.

MarkMLl

I got the idea, thanks!
La chose par la chose est rappelé.

 

TinyPortal © 2005-2018