[Pas2js] Pas2js Digest, Vol 55, Issue 5

Stephen Wright stephenmichaelwright at yahoo.co.uk
Thu Feb 9 12:13:40 CET 2023


 Hi Janusz
On the browser version of XIDE, you can select a node (in the layout tree on the left of the screen) and then select a GUI element (in the component tree on the right of the screen), then press the "Paste" button (below the layout tree). This will paste the selected component into the layout tree at the selected node. (see note [1] below for why we do it like this)
If you just want a simple vertical column of components, the default selection on the layout tree on startup is the root (vertical scroll box) node. (and following this, it is the last component pasted) You do not need to worry too much about the order you do this in as you can edit the column of components created at any time using the (Up/Down/Cut/Paste/Copy/Delete) buttons below the layout tree.
If it is a problem for you finding these buttons on the screen it may be possible to provide shortcut keys for them if this helps? (but we have not looked into it yet and there may be browser security or other problems providing it?)
I understand if you prefer to use Lazarus as it is a fantastic enterprise level environment. We had originally hoped that XIDE could be an entry level tool that allowed projects to be prototyped in an "FPC and Python for dummies" manner which could then support the porting of those prototypes into the full Lazarus environment if they were successful enough to justify full enterprise level support. However this proved to need detail Lazarus skills that we do not have so it is now an aspiration rather than a likely next step. 
In case it helps with getting XComponents compiling in Lazarus,..... the fcpupdeluxe version we have used for developing XIDE/XComponents is.... 1.6.2x for i386-win32-win32.   See image below, showing FPC and Lazarus versions selected.



Regards Steve_W
Note [1] All our layout is done using nested Horizontal layout boxes, Vertical layout boxes and Tab Pages all capable of having child elements added to them which are the actual objects on the screen. You then select the positions of these objects as top/bottom, left/center/right, as appropriate. This "responsive design" approach allows the UI to respond to different page sizes if you set the component height and width in percentages. 

    On Wednesday, 8 February 2023 at 11:00:03 GMT, <pas2js-request at lists.freepascal.org> wrote:  
 
 Send Pas2js mailing list submissions to
    pas2js at lists.freepascal.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
or, via email, send a message with subject or body 'help' to
    pas2js-request at lists.freepascal.org

You can reach the person managing the list at
    pas2js-owner at lists.freepascal.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pas2js digest..."


Today's Topics:

  1. Re: Pas2js Digest, Vol 55, Issue 3 (Mgr. Janusz Chmiel)


----------------------------------------------------------------------

Message: 1
Date: Tue, 7 Feb 2023 21:44:40 +0100
From: "Mgr. Janusz Chmiel" <janusz.chmiel at volny.cz>
To: pas2js discussions <pas2js at lists.freepascal.org>
Subject: Re: [Pas2js] Pas2js Digest, Vol 55, Issue 3
Message-ID: <a249a9$3lr6u at antispam75.centrum.cz>
Content-Type: text/plain; charset="utf-8"

Czech characters are being stored perfectly whe I have changed Hint.
Unfortunately, I will be forced to use Lazarus and its build in components list to access GUI elements. Because on WEB, when I choose some GUI element and when I press Enter on it or Space key, it very probably do not add to form.
SO I will have to be patient and build on Lazarus.
But you have created really profssional group of widgets and all are fully accessible with screen reader. SO I can tell you only very well done.
When I Am using Lazarus components list, I always use components filter to display only The needed components.
I pess  Enter on some comonent and component is immediately placed automatically on The form.
And I can even use create default event for some GUi element.

I can not find Lazarus version which you are using for building, really, it is not on sourceforge and even Fpcup Deluxe do not list such version.
It woul be enough if somebody of us could send Me download link for Lazarus version which have been used for building XXcomponents.
I will be able to use all GUI components thanks to components tree in Lazarus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230207/84d2ecae/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Pas2js maillist  -  Pas2js at lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js


------------------------------

End of Pas2js Digest, Vol 55, Issue 5
*************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230209/9c0076df/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1675940383010blob.jpg
Type: image/png
Size: 302579 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230209/9c0076df/attachment-0001.png>


More information about the Pas2js mailing list