<html><head></head><body><div class="ydp3518c676yahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false"><div><div data-test-id="message-view-body" class="ydp8a3e4986I_ZkbNhI ydp8a3e4986D_FY ydp8a3e4986W_6D6F" style="width: 1208.56px;"><div class="ydp8a3e4986msg-body ydp8a3e4986P_wpofO ydp8a3e4986mq_AS" data-test-id="message-view-body-content"><div class="ydp8a3e4986jb_0 ydp8a3e4986X_6MGW ydp8a3e4986N_6Fd5"><div id="ydp8a3e4986yiv7586553430"><div class="ydp8a3e4986yiv7586553430yahoo-style-wrap" style="font-family: times new roman, new york, times, serif;"><div dir="ltr"><div><div>Hi Janusz</div><div><br></div><div>Thankyou for your kind opinion of Xide and Xcomponents. </div><div>I am sorry to hear that you are having problems compiling XComponents from Lazarus. </div><div><br></div><div>We developed and tested it on Lazarus version 2.1.0 and FPC version 3.3.1. and have notes in https://github.com/Steve--W/XComponents/blob/master/readme.md on how to compile it.</div><div><br></div><div>Unfortunately, we are not in a position to provide detail support beyond the GitHub notes. However I am all too aware of the effort and frustrations involved in building packages for enterprise level environments like Lazarus. This is the reason that the XIDE environment runs as a stand alone utility as this allows us to radically simplify the installation and learning curve involved.</div><div><br></div><div>For example, as you are probably aware, XIDE can compile itself to generate a static HTML file that runs on Chrome in the browser (on line or off line) with no need for any installation or configuration. </div><div><br></div><div>Hence you can go to an example of XIDE on the web (e.g https://steve--w.github.io/XIDEPages/XIDEPascalSVGAndGPUExample.html) right click on "view page source" copy that HTML text save it to a local file and then run it in chrome, hit the "System" and "Clear" options and you then have you own clean copy of XIDE/XComponents ready to develop your own apps for the web.</div><div><br></div><div dir="ltr" data-setdir="false">The only reason for compiling XIDE from Lazarus is if you wish to customize <span><span style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif;"> or debug </span></span>any of the components, or you want to generate the .exe version of XIDE to run under windows. (but we can send you a pre-compiled snapshot .exe file if you wish and if Michael et al are prepared to forward a .exe)</div><div><br></div><div>Our motivation in developing XIDE as a "Browser First" entry level development environment was primarily to support my PhD research as we found the conventional tools available for web development to be fragmented and overly complex. We also hoped it might introduce some Python users to the merits of FPC. (I am using it on a daily basis for my research into robust mathematical modelling for economics and finance and I am very pleased with the ease of use in this role.)</div><div><br></div><div>The downside of our radical simplification is that we do not provide the levels of cosmetic customization, security and universal browser compatibility needed for enterprise level public facing web apps. (e.g. we only test on Chrome.)</div><div><br></div><div>I hope this helps with your project, and wish you all success in future</div><div><br></div><div>Regards Steve_W</div></div><br></div></div></div></div></div><div class="ydp8a3e4986jb_0 ydp8a3e4986X_6MGW ydp8a3e4986N_6Fd5"></div></div><div class="ydp8a3e4986H_7jIs ydp8a3e4986D_F ydp8a3e4986ab_C ydp8a3e4986Q_69H5 ydp8a3e4986E_36RhU" data-test-id="toolbar-hover-area"><div class="ydp8a3e4986D_F ydp8a3e4986W_6D6F ydp8a3e4986r_BN ydp8a3e4986gl_C" data-test-id="card-toolbar" style="width: 1236.54px;"></div></div></div><br></div><div><br></div>
</div><div id="ydp58458466yahoo_quoted_6166192285" class="ydp58458466yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Tuesday, 7 February 2023 at 11:00:03 GMT, pas2js-request@lists.freepascal.org <pas2js-request@lists.freepascal.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Send Pas2js mailing list submissions to<br></div><div dir="ltr"> <a href="mailto:pas2js@lists.freepascal.org" rel="nofollow" target="_blank">pas2js@lists.freepascal.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">To subscribe or unsubscribe via the World Wide Web, visit<br></div><div dir="ltr"> <a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js" rel="nofollow" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js</a><br></div><div dir="ltr">or, via email, send a message with subject or body 'help' to<br></div><div dir="ltr"> <a href="mailto:pas2js-request@lists.freepascal.org" rel="nofollow" target="_blank">pas2js-request@lists.freepascal.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">You can reach the person managing the list at<br></div><div dir="ltr"> <a href="mailto:pas2js-owner@lists.freepascal.org" rel="nofollow" target="_blank">pas2js-owner@lists.freepascal.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">When replying, please edit your Subject line so it is more specific<br></div><div dir="ltr">than "Re: Contents of Pas2js digest..."<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Today's Topics:<br></div><div dir="ltr"><br></div><div dir="ltr"> 1. Re: How to insert inline {} (Michael Van Canneyt)<br></div><div dir="ltr"> 2. Re: How to insert inline {} (Ondrej Pokorny)<br></div><div dir="ltr"> 3. how to add xide and xcomponents package to lazarus<br></div><div dir="ltr"> (Mgr. Janusz Chmiel)<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">----------------------------------------------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 1<br></div><div dir="ltr">Date: Mon, 6 Feb 2023 14:30:14 +0100 (CET)<br></div><div dir="ltr">From: Michael Van Canneyt <<a href="mailto:michael@freepascal.org" rel="nofollow" target="_blank">michael@freepascal.org</a>><br></div><div dir="ltr">To: Ondrej Pokorny via Pas2js <<a href="mailto:pas2js@lists.freepascal.org" rel="nofollow" target="_blank">pas2js@lists.freepascal.org</a>><br></div><div dir="ltr">Subject: Re: [Pas2js] How to insert inline {}<br></div><div dir="ltr">Message-ID: <<a href="mailto:alpine.DEB.2.22.394.2302061427001.287683@home" rel="nofollow" target="_blank">alpine.DEB.2.22.394.2302061427001.287683@home</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"; Format="flowed"<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">On Thu, 26 Jan 2023, Ondrej Pokorny via Pas2js wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">> Hello,<br></div><div dir="ltr">><br></div><div dir="ltr">> I'd like to use the DateTimePicker from <a href="https://getdatepicker.com " rel="nofollow" target="_blank">https://getdatepicker.com </a>.<br></div><div dir="ltr">><br></div><div dir="ltr">> I declared an external class<br></div><div dir="ltr">> ? TJSTempusDominus = class external name <br></div><div dir="ltr">> 'tempusDominus.TempusDominus'(TJSObject)<br></div><div dir="ltr">> ? public<br></div><div dir="ltr">> ??? constructor new(aElement: TJSElement);<br></div><div dir="ltr">> ??? constructor new(aElement: TJSElement; aOptions: TJSObject);<br></div><div dir="ltr">> ? end;<br></div><div dir="ltr">><br></div><div dir="ltr">> a simple constructor without options works fine:<br></div><div dir="ltr">><br></div><div dir="ltr">> ? fDateTimePicker := TJSTempusDominus.new(myElement);<br></div><div dir="ltr">><br></div><div dir="ltr">> Can I somehow add inline options { my-property: false }?<br></div><div dir="ltr">><br></div><div dir="ltr">> JS-code:<br></div><div dir="ltr">> window.datetimepicker1 = new tempusDominus.TempusDominus(<br></div><div dir="ltr">> ? document.getElementById('datetimepicker1'), { my-property: false } );<br></div><div dir="ltr"><br></div><div dir="ltr">Seems I missed this mail. So a late reply<br></div><div dir="ltr"><br></div><div dir="ltr">How I do this usually, using new:<br></div><div dir="ltr"><br></div><div dir="ltr">window.datetimepicker1 = new tempusDominus.TempusDominus(<br></div><div dir="ltr"> ? document.getElementById('datetimepicker1'), new(['my-property',false]));<br></div><div dir="ltr"><br></div><div dir="ltr">You can recurse:<br></div><div dir="ltr">new([<br></div><div dir="ltr"> 'my-property',false,<br></div><div dir="ltr"> 'headers', new(<br></div><div dir="ltr"> ['content-type','application/json',<br></div><div dir="ltr"> 'authorization','basic ABC'<br></div><div dir="ltr"> ])<br></div><div dir="ltr"> ]);<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">The new() function exists in the JS unit.<br></div><div dir="ltr"><br></div><div dir="ltr">Michael.<br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 2<br></div><div dir="ltr">Date: Mon, 6 Feb 2023 18:53:13 +0100<br></div><div dir="ltr">From: Ondrej Pokorny <<a href="mailto:lazarus@kluug.net" rel="nofollow" target="_blank">lazarus@kluug.net</a>><br></div><div dir="ltr">To: <a href="mailto:pas2js@lists.freepascal.org" rel="nofollow" target="_blank">pas2js@lists.freepascal.org</a><br></div><div dir="ltr">Subject: Re: [Pas2js] How to insert inline {}<br></div><div dir="ltr">Message-ID: <<a href="mailto:d1047d5a-8ddd-b375-3018-9c48f3c458d8@kluug.net" rel="nofollow" target="_blank">d1047d5a-8ddd-b375-3018-9c48f3c458d8@kluug.net</a>><br></div><div dir="ltr">Content-Type: text/plain; charset=UTF-8; format=flowed<br></div><div dir="ltr"><br></div><div dir="ltr">On 06.02.2023 14:30, Michael Van Canneyt via Pas2js wrote:<br></div><div dir="ltr">> On Thu, 26 Jan 2023, Ondrej Pokorny via Pas2js wrote:<br></div><div dir="ltr">>> Hello,<br></div><div dir="ltr">>><br></div><div dir="ltr">>> I'd like to use the DateTimePicker from <a href="https://getdatepicker.com " rel="nofollow" target="_blank">https://getdatepicker.com </a>.<br></div><div dir="ltr">>><br></div><div dir="ltr">>> I declared an external class<br></div><div dir="ltr">>> ? TJSTempusDominus = class external name <br></div><div dir="ltr">>> 'tempusDominus.TempusDominus'(TJSObject)<br></div><div dir="ltr">>> ? public<br></div><div dir="ltr">>> ??? constructor new(aElement: TJSElement);<br></div><div dir="ltr">>> ??? constructor new(aElement: TJSElement; aOptions: TJSObject);<br></div><div dir="ltr">>> ? end;<br></div><div dir="ltr">>><br></div><div dir="ltr">>> a simple constructor without options works fine:<br></div><div dir="ltr">>><br></div><div dir="ltr">>> ? fDateTimePicker := TJSTempusDominus.new(myElement);<br></div><div dir="ltr">>><br></div><div dir="ltr">>> Can I somehow add inline options { my-property: false }?<br></div><div dir="ltr">>><br></div><div dir="ltr">>> JS-code:<br></div><div dir="ltr">>> window.datetimepicker1 = new tempusDominus.TempusDominus(<br></div><div dir="ltr">>> ? document.getElementById('datetimepicker1'), { my-property: false } );<br></div><div dir="ltr">><br></div><div dir="ltr">> Seems I missed this mail. So a late reply<br></div><div dir="ltr">><br></div><div dir="ltr">> How I do this usually, using new:<br></div><div dir="ltr">><br></div><div dir="ltr">> window.datetimepicker1 = new tempusDominus.TempusDominus(<br></div><div dir="ltr">> ?? document.getElementById('datetimepicker1'), <br></div><div dir="ltr">> new(['my-property',false]));<br></div><div dir="ltr">><br></div><div dir="ltr">> You can recurse:<br></div><div dir="ltr">> new([<br></div><div dir="ltr">> ? 'my-property',false,<br></div><div dir="ltr">> ? 'headers', new(<br></div><div dir="ltr">> ????? ['content-type','application/json',<br></div><div dir="ltr">> ?????? 'authorization','basic ABC'<br></div><div dir="ltr">> ????? ])<br></div><div dir="ltr">> ?? ]);<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> The new() function exists in the JS unit.<br></div><div dir="ltr"><br></div><div dir="ltr">Great, thank you Michael!<br></div><div dir="ltr"><br></div><div dir="ltr">I couldn't find it myself and ended up with TJSTempusDominusOptions = <br></div><div dir="ltr">class external name 'Object'(TJSObject). Now I can make it simpler.<br></div><div dir="ltr"><br></div><div dir="ltr">Ondrej<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 3<br></div><div dir="ltr">Date: Tue, 7 Feb 2023 10:30:05 +0100<br></div><div dir="ltr">From: "Mgr. Janusz Chmiel" <<a href="mailto:janusz.chmiel@volny.cz" rel="nofollow" target="_blank">janusz.chmiel@volny.cz</a>><br></div><div dir="ltr">To: pas2js discussions <<a href="mailto:pas2js@lists.freepascal.org" rel="nofollow" target="_blank">pas2js@lists.freepascal.org</a>><br></div><div dir="ltr">Subject: [Pas2js] how to add xide and xcomponents package to lazarus<br></div><div dir="ltr">Message-ID: <aaf88c$<a href="mailto:37vqc@antispam100.centrum.cz" rel="nofollow" target="_blank">37vqc@antispam100.centrum.cz</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"<br></div><div dir="ltr"><br></div><div dir="ltr">Xide and Xcomponents can not be installed easily and build with Lazarus.<br></div><div dir="ltr">Even when I have tried to use latest stable FPCUP deluxe there are compilation errors.<br></div><div dir="ltr">I have found out, that Xide and Xcomponents are very probably The best opensource solutions to write WEB apps by using Rapid applications developments.<br></div><div dir="ltr">Sure, there is also Pas2widgets components from Helios and his cooperators.<br></div><div dir="ltr">Could somebody prebuild Lazarus with Xide and Xcomponents? It would bring a joy to souls of many Pascal developers.<br></div><div dir="ltr"><br></div><div dir="ltr">It is so positive feeling if it is possible to create Web apps by using components list and events list? <br></div><div dir="ltr">Thank you very much for yours reactions.<br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">An HTML attachment was scrubbed...<br></div><div dir="ltr">URL: <<a href="http://lists.freepascal.org/pipermail/pas2js/attachments/20230207/385fb963/attachment-0001.htm" rel="nofollow" target="_blank">http://lists.freepascal.org/pipermail/pas2js/attachments/20230207/385fb963/attachment-0001.htm</a>><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Subject: Digest Footer<br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">Pas2js maillist - <a href="mailto:Pas2js@lists.freepascal.org" rel="nofollow" target="_blank">Pas2js@lists.freepascal.org</a><br></div><div dir="ltr"><a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js" rel="nofollow" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">End of Pas2js Digest, Vol 55, Issue 3<br></div><div dir="ltr">*************************************<br></div></div>
</div>
</div></body></html>