[Pas2js] Pas2js Digest, Vol 55, Issue 8
Stephen Wright
stephenmichaelwright at yahoo.co.uk
Sat Feb 25 14:53:42 CET 2023
Hi
You asked "Is it possible to use some sliders on The form screen to position every GUi element?"
I do not know how it works for Pas2jswidgets but if you are using XComponents, then you can build up groups of components that are next to each other horizontally or vertically by adding them as children of the appropriate layout box. Nesting these boxes allows you to build up more complex groupings like a grid etc.
In this way the components will space themselves on the screen with no need for explicit positions to be declared. This is useful if you wish to support different screen sizes which is why HTML supports this type of working on the browser.
You may still wish a sighted person to cross check what you have done to check/edit the default component property values ( e.g. alignment... centre / Top / Bottom etc) until the result matches your intention.
This is just a suggestion as I do not know in detail how you are working in Lazarus, but I hope this helps
Regards Steve
On Saturday, 25 February 2023 at 11:00:12 GMT, pas2js-request at lists.freepascal.org <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 (Mattias Gaertner)
2. lazarus form designer question (Mgr. Janusz Chmiel)
----------------------------------------------------------------------
Message: 1
Date: Fri, 24 Feb 2023 12:10:08 +0100
From: Mattias Gaertner <nc-gaertnma at netcologne.de>
To: pas2js at lists.freepascal.org
Subject: Re: [Pas2js] Pas2js Digest, Vol 55, Issue 3
Message-ID: <20230224121008.71442b9a at limapholos>
Content-Type: text/plain; charset=UTF-8
On Fri, 24 Feb 2023 11:54:39 +0100
"Mgr. Janusz Chmiel via Pas2js" <pas2js at lists.freepascal.org> wrote:
> {$modeswitch unicodestrings}
That controls the type "String", which is in pas2js always
UnicodeString. It has no effect on lfm.
> Odesl?no z aplikace Po?ta pro Windows
>
> Od: Mgr. Janusz Chmiel via Pas2js
> Odesl?no:p?tek 24. ?nora 2023 11:39
> Komu: pas2js discussions
> Kopie: Mgr. Janusz Chmiel
> P?edm?t: Re: [Pas2js] Pas2js Digest, Vol 55, Issue 3
>
> Does have some sense to add
>
> Directive to The source code so .lfm content will be encoded
> correctly?Or it do not help?
Is your lfm encoded in UTF-8? It should be.
Mattias
------------------------------
Message: 2
Date: Fri, 24 Feb 2023 15:42:57 +0100
From: "Mgr. Janusz Chmiel" <janusz.chmiel at volny.cz>
To: "pas2js at lists.freepascal.org" <pas2js at lists.freepascal.org>
Subject: [Pas2js] lazarus form designer question
Message-ID: <d5776a$7d07k at antispam110.centrum.cz>
Content-Type: text/plain; charset="utf-8"
Dear kind developers,
I would like to cooperate with kind sighted people,who would position my form GUI elements.
But I must explain how to do that for them.
So.
If I will use Pas2jswidgets and form designer.
Is it possible to use some sliders on The form screen to position every GUi element?
Or is it really necessary to change width, height values by using edit box of Object inspector?
If it would be possible to se build in
If there are some sliders it would be ideal. Because sighted assistant would only control The positions of GUI elements on The screen if there is visible object and sliders could be used to manipulate every GUI element to The corresponding position.
Thank you for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230224/d25115d7/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 8
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230225/3e9285a5/attachment-0001.htm>
More information about the Pas2js
mailing list