Page 1 of 1

How will my button execute an lxterminal code on lazarus IDE

Posted: Fri Dec 04, 2015 2:59 pm
by KenoRosarioPH
Good day forums! I would like to ask for help how will my button execute the command "arecord ...." on lxt terminal. I have no idea how to tag the command on the button. Thanks everyone! Have a great day

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 3:06 pm
by gordon77
How do you produce the buttons ?

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 3:11 pm
by Heater
I thought pascal had a "system" function that would run commands for you. Or perhaps "exec". Goggle will finx it for you.

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 3:26 pm
by KenoRosarioPH
gordon77 wrote:How do you produce the buttons ?
Lazarus IDE is capable of dragging and dropping of buttons on the gui.

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 3:29 pm
by KenoRosarioPH
Heater wrote:I thought pascal had a "system" function that would run commands for you. Or perhaps "exec". Goggle will finx it for you.
I am new to programming and pascal have been a great initial step. Thanks to the keywords, Google will surely help me with this. Btw sir, have you tried building pascal program similar to my problem?

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 3:30 pm
by topguy
KenoRosarioPH wrote:
gordon77 wrote:How do you produce the buttons ?
Lazarus IDE is capable of dragging and dropping of buttons on the gui.
You realize that you force most of the people reading this thread to google "Lazarus IDE" just to figure out that its a IDE for FreePascal.

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 3:36 pm
by hansotten
Various solutions are available to execute an external program frpm within a Lazarus program.

This may help:

http://wiki.lazarus.freepascal.org/Exec ... l_Programs

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 4:27 pm
by KenoRosarioPH
topguy wrote:
KenoRosarioPH wrote:
gordon77 wrote:How do you produce the buttons ?
Lazarus IDE is capable of dragging and dropping of buttons on the gui.
You realize that you force most of the people reading this thread to google "Lazarus IDE" just to figure out that its a IDE for FreePascal.
Apologies Sire! Thanks

Re: How will my button execute an lxterminal code on lazarus

Posted: Fri Dec 04, 2015 4:27 pm
by KenoRosarioPH
hansotten wrote:Various solutions are available to execute an external program form within a Lazarus program.

This may help:

http://wiki.lazarus.freepascal.org/Exec ... l_Programs
Great help Sir! Thanks :D :D :D :D :D