Re: [Lazarus] questioning ARequest: TFPHTTPConnectionRequest :)

2023-02-27 Thread duilio foschi via lazarus
It belongs to TFPHTTPConnectionRequest's grandfather (ancestor of
ancestor). Silly of me, I had gone back only one generation! :)

Thank you

Peppe

On Mon, Feb 27, 2023 at 8:23 AM Michael Van Canneyt via lazarus
 wrote:
>
>
>
> On Sun, 26 Feb 2023, duilio foschi via lazarus wrote:
>
> > my simple BE server uses this function to handle all inbound calls:
> >
> > procedure TTestHTTPServer.HandleRequest(
> >   var ARequest: TFPHTTPConnectionRequest;
> >   var AResponse: TFPHTTPConnectionResponse
> > );
> >
> > When the call is a POST, I want to read the json payload inside ARequest.
> >
> > I expected to find a property like Body:string inside
> > TFPHTTPConnectionRequest, but I could not find it.
>
> The property is called Content.
>
> Michael.
> --
> ___
> lazarus mailing list
> lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] strange focus behaviour on source editor window

2023-02-27 Thread Martin Frb via lazarus

It does not happen to me, tested Win 10 and Win 11.
For me focus goes back to the source editor.

I switched back to the IDE with Alt-Tab. Maybe you use some other way? I 
also tried by clicking the icon in the taskbar, and that worked (tested 
Win 10 only).


Do you have any packages installed? (Maybe Anchor-Docking?)


On 27/02/2023 18:51, Mgr. Janusz Chmiel via lazarus wrote:


Dear Lazarus developers,

   I have found out very interesting and strange focus 
behaviour in Lazarus IDE.


When I edit The source code in The source editor Editable field. And 
when I switch window to desktop and when I switch back to Lazarus IDE, 
focus is not located at source editor editable field.


Focus jump automatically to The TAB with components list. The object 
class name is


Does this behaviour have a good thinked intention for developers? Or 
it should not appear?


I must always press F12 twice to have source editor Edit box on focus.

Thank you for your explanation.




-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] strange focus behaviour on source editor window

2023-02-27 Thread zeljko via lazarus



On 27. 02. 2023. 18:51, Mgr. Janusz Chmiel via lazarus wrote:

Dear Lazarus developers,

    I have found out very interesting and strange focus 
behaviour in Lazarus IDE.


When I edit The source code in The source editor Editable field. And 
when I switch window to desktop and when I switch back to Lazarus IDE, 
focus is not located at source editor editable field.


Focus jump automatically to The TAB with components list. The object 
class name is


Does this behaviour have a good thinked intention for developers? Or it 
should not appear?


I must always press F12 twice to have source editor Edit box on focus.

Thank you for your explanation.


Operating system ? Lazarus version ? Widgetset if it's x11 ?

zeljko
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] LCL accessibility and lcl memory management congratulation

2023-02-27 Thread Mgr. Janusz Chmiel via lazarus
I would like to publicly express my deepest possible appreciation to all authors of LCL units.Because of LCL accessibility and very efficient memory management. Windows accessibility is really on professional level.Screen reader really work with all LCL GUi components. So really, LCL developers, I can only tell you very well done. You are elite Pascal developers and thank you, that you have considered LCL accessibility at The big priority.I Am appreciating this fact especially because Lazarus is opensourdce and freely available project. And it is good will of LCL developers that you have added so perfect accessibility support.Memory management is also excellent.So thank you kind and professional developers for your long time work. Odesláno z aplikace Pošta pro Windows 
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] strange focus behaviour on source editor window

2023-02-27 Thread Mgr. Janusz Chmiel via lazarus
Dear Lazarus developers,   I have found out very interesting and strange focus behaviour in Lazarus IDE.When I edit The source code in The source editor Editable field. And when I switch window to desktop and when I switch back to Lazarus IDE, focus is not located at source editor editable field.Focus jump automatically to The TAB with components list. The object class name is Does this behaviour have a good thinked intention for developers? Or it should not appear?I must always press F12 twice to have source editor Edit box on focus.Thank you for your explanation.
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] why can not lamw add assigned components from the list to the form automatically

2023-02-27 Thread Mgr. Janusz Chmiel via lazarus
Because when using Pas2js widgets or when using Lazarus fordevelopment multiplatform GUi app based on LCL, Lazarus work like a enterprise professional IDE.I can choose The component such as Tbutton, Tedit. I simply press Enter on such component and Form editor allow Me to work with such component.Fiortunately for Me Lazarus allow GUi creation with no need to strictly depend on only Mouse drag and drop. So I must be only hoping, That Lazarus developers will not disable this loving feature.I like Lazarus professional IDE very much. It is stable and many many shortcuts are provided.
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] why can not lamw add assigned components from the list to the form automatically

2023-02-27 Thread Jean SUZINEAU via lazarus

Curious behaviour.

You can find the source of the component list form in your lazarus 
installation directory in ide\componentlist.pas. I imagine something is 
failing in TComponentListForm.AddSelectedComponent, may be due to 
differences in the Designer ?


--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] why can not lamw add assigned components from the list to the form automatically

2023-02-27 Thread Mgr. Janusz Chmiel via lazarus
Dear advanced users and elite developers,   I would like to know why Lamw android module Wizard can not work like standard Lazarus IDE when creating GUi of AN application.In Lazarus, I can activate components list dialog box by pressing CTRL+ALT+p I can choose Button for example. I press Enter key. And in this casee Button is placed automatically on The form. But why Lamw can not do such operation also automatically?Does it mean, that sighted user uses mouse to drag and drop some GUI so position is calculated automatically at this case?Lamw is available here:https://github.com/jmpessoa/lazandroidmodulewizard May be, that Lamw developer approach is even more positive for The sighted majority. Because mouse can be used to place some object from The components list for example to The centre of The window?Thank you very much for your answer.
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus