Lazarus

Programming => LCL => Topic started by: jshand2010 on November 14, 2010, 08:24:28 pm

Title: Calling Procedures
Post by: jshand2010 on November 14, 2010, 08:24:28 pm
i have two forms frmOne and frmTwo

on frmTwo there is a procedure i would like to run.  how do i go about this on frmOne??
Title: Re: Calling Procedures
Post by: typo on November 14, 2010, 08:30:11 pm
1) Declare frmTwo on the uses clause of frmOne.
2) Call the procedure so: UnitOfFormTwo.ProcedureCall.

It can not go wrong.
TinyPortal © 2005-2018