<br><br><div class="gmail_quote">On 27 September 2010 08:29, Antônio <span dir="ltr"><<a href="mailto:antoniog12345@gmail.com">antoniog12345@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Try this:<br></blockquote><div><br></div><div>I have tried your example with this code</div><div> </div><div>object FPWebModule1: TFPWebModule1<br> OldCreateOrder = False<br> Actions = < <br> item<br> Name = 'func1call'<br>
Default = True<br> OnRequest = func1callRequest<br> end><br> CreateSession = False<br> Height = 300<br> HorizontalOffset = 290<br> VerticalOffset = 149<br> Width = 400<br>end<br><br></div><div><br></div>
<div> FPWebModule1 := TFPWebModule1.Create(Application);<br> with FPWebModule1 do<br> begin<br> OldCreateOrder := False;<br> Actions := <;<br> item;<br> Name := 'func1call';<br> Default := True;<br>
OnRequest := func1callRequest;<br> end>;<br> CreateSession := False;<br> Height := 300;<br> HorizontalOffset := 290;<br> VerticalOffset := 149;<br> Width := 400;<br> end; <br></div><div><br></div>
<div>The Action property translates as:</div><div><br></div><div>Actions := <;<br> item;<br> Name := 'func1call';<br> Default := True;<br> OnRequest := func1callRequest;<br> end>;</div><div><br>
</div><div>Is this correct ObjectPascal code?</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<a href="http://lazarusbrasil.org/LFM2Code.zip" target="_blank">http://lazarusbrasil.org/LFM2Code.zip</a><br>
<br>
Antônio<br>
<br>
2010/9/26 Mattias Gaertner <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<br>
<div><div class="h5">> On Sun, 26 Sep 2010 16:05:08 +0100<br>
> Frank Church <<a href="mailto:vfclists@gmail.com">vfclists@gmail.com</a>> wrote:<br>
><br>
>> Is there a tool that can take an .lfm file and generate the equivqlent<br>
>> Pascol code to create it runtime?<br>
><br>
> See examples/pascalstream/PascalStream1.lpi.<br>
><br>
> It does not support DefineProperties, for example image data.<br>
><br>
> Mattias<br>
><br>
> --<br>
> _______________________________________________<br>
> Lazarus mailing list<br>
> <a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
> <a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
><br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a><br>