[Lazarus] LCLMessageGlue.pas, typo in debug output?

2018-03-09 Thread Lubos Pintes via Lazarus
Hello, Just noticed in LCLMessageGlue.pas on line 98: and (TLMessage(AMessage).Msg < CN_KEYDOWN ) maybe there could be <> like on other lines in that IFDEF? Not sure, just noticed little asymmetry. -- ___ Lazarus mailing list

Re: [Lazarus] An expression is returning false, why?

2018-03-05 Thread Lubos Pintes via Lazarus
is true? I know it doesn't work for a form itself. Maybe this is a bug? Dňa 05.03.2018 o 8:53 zeljko via Lazarus napísal(a): On 03/04/2018 09:48 PM, Lubos Pintes via Lazarus wrote: Hello and thank for a reply. Do I understand correctly that a form is a special case? What about TEdit or TButton

Re: [Lazarus] An expression is returning false, why?

2018-03-04 Thread Lubos Pintes via Lazarus
always returns Focused False. Use property Active instead. Result := (FControl is TCustomForm) and TCustomForm(FControl).Active; V. __ > Od: Lubos Pintes via Lazarus <lazarus@lists.lazarus-ide.org> >

[Lazarus] An expression is returning false, why?

2018-03-04 Thread Lubos Pintes via Lazarus
Hello, Sorry for possibly stupid subject and maybe off-topic question. In my UIA code, I am testing if a control has focus. So I have a FControl: TControl declared in my class. Now say FControl contains a TForm1 instance, simply we have very simple program with just an empty window. Then an

Re: [Lazarus] Package and project file format

2018-03-03 Thread Lubos Pintes via Lazarus
Hi, +1 for this. And really it looks stupid to me to have a different tag for every item like Item1 or Unit1. Dňa 03.03.2018 o 11:15 Michael Van Canneyt via Lazarus napísal(a): Hello, The package .lpk andproject .lpi file use the following format :                  

Re: [Lazarus] Running Lazarus in Lazarus

2018-03-03 Thread Lubos Pintes via Lazarus
anks! Dňa 02.03.2018 o 15:05 Mattias Gaertner via Lazarus napísal(a): On Fri, 2 Mar 2018 14:49:15 +0100 Lubos Pintes via Lazarus <lazarus@lists.lazarus-ide.org> wrote: This is /ide/lazarus.lpi, where is directory with whole Lazarus repo right? Yes, sorry. Because my code I added there is not c

Re: [Lazarus] Running Lazarus in Lazarus

2018-03-02 Thread Lubos Pintes via Lazarus
Mattias Gaertner via Lazarus napísal(a): On Fri, 2 Mar 2018 14:49:15 +0100 Lubos Pintes via Lazarus <lazarus@lists.lazarus-ide.org> wrote: This is /ide/lazarus.lpi, where is directory with whole Lazarus repo right? Yes, sorry. Because my code I added there is not compiled. I added my

Re: [Lazarus] Running Lazarus in Lazarus

2018-03-02 Thread Lubos Pintes via Lazarus
differently. Dňa 02.03.2018 o 13:45 Mattias Gaertner via Lazarus napísal(a): On Fri, 2 Mar 2018 13:40:24 +0100 Lubos Pintes via Lazarus <lazarus@lists.lazarus-ide.org> wrote: Hello, Is it possible to run Lazarus as an application in IDE? I have a freeze somewhere, (Windows 10's "not

Re: [Lazarus] Internal error when compiling LCL

2018-02-06 Thread Lubos Pintes via Lazarus
This helped, thanks. Dňa 06.02.2018 o 10:36 Ondrej Pokorny via Lazarus napísal(a): On 06.02.2018 10:34, Lubos Pintes via Lazarus wrote: Hello, During compilation of my project, I encountered this: win32wsmenus.pp(253,1) Error: Internal error 200611031 I didn't touch the mentioned file. FPC

[Lazarus] Internal error when compiling LCL

2018-02-06 Thread Lubos Pintes via Lazarus
Hello, During compilation of my project, I encountered this: win32wsmenus.pp(253,1) Error: Internal error 200611031 I didn't touch the mentioned file. FPC version is Free Pascal Compiler version 3.0.4 [2017/10/06] OS Windows 10, SVN trunk 57257 -- ___

Re: [Lazarus] Developing a WidgetSet

2017-11-27 Thread Lubos Pintes via Lazarus
via Lazarus wrote: I am not 100% sure, but maybe this is because (afaik) there is a hidden form for the task button. This hidden form can be disabled somewhere, then the main form will be responsible for the task button. On 20/11/2017 09:54, Lubos Pintes via Lazarus wrote: I can confirm

Re: [Lazarus] Assembler window shows but without Debugger Exception popup

2017-11-14 Thread Lubos Pintes via Lazarus
ations. Rather than looking at debug output, start the IDE with the following command line lazarus.exe  --debug-log=C:\lazlog.txt --debug-enable=DBG_CMD_ECHO,DBG_STATE,DBGMI_QUEUE_DEBUG this will create a logfile, that you can attach to your next mail (or if to big for the mailing list, send to my email

[Lazarus] Assembler window shows but without Debugger Exception popup

2017-11-13 Thread Lubos Pintes via Lazarus
What that means? An exception, access violation or what? It probably happens somewhere in my UI Automation implementation. The Call stack window doesn't show useful information. An F7 key tells something like "Cannot find function boundary". So curently I don't know how to debug this problem.

Re: [Lazarus] Cody identifier search sometimes doesn't work?

2017-11-13 Thread Lubos Pintes via Lazarus
Okay, sorry for noise. I discovered something labelled "Start Contains", not reachable from the keyboard, only with "virtual mouse", so it works as expected. Dňa 13. 11. 2017 o 10:50 Lubos Pintes via Lazarus napísal(a): Hello, After reading one quite old thread here,

Re: [Lazarus] Forward procedure completion failure

2017-10-11 Thread Lubos Pintes via Lazarus
Yes, it works. Sorry for spamming. In fact, I updated the trunk, but didn't rebuild. I didn't feel it is necessary. Dňa 11. 10. 2017 o 16:07 Mattias Gaertner via Lazarus napísal(a): On Wed, 11 Oct 2017 16:00:49 +0200 Lubos Pintes via Lazarus <lazarus@lists.lazarus-ide.org> wrote: Hi

[Lazarus] Forward procedure completion failure

2017-10-11 Thread Lubos Pintes via Lazarus
Hi, Just wanted to try the cool feature, adding a procedure body to implementation. So I wrote a procedure header, pressed Ctrl+Shift+C, and found this in a message window: uiacore.pas(9,1) Error: unknown section keyword interface found I tried to compile, and only errors there are two

[Lazarus] Lazarus is unable to find OleVariant when pressing Alt+Up

2017-10-10 Thread Lubos Pintes via Lazarus
Hello, Nothing more to say, unit is compilable, but I cannot find the OleVariant. I am trying to figure out how to work with it in FPC, so I wanted to see the definitions etc. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Lazarus code editor: what happened with the caret?

2017-10-10 Thread Lubos Pintes via Lazarus
is currently   if ScrollWindowEx(Handle, 0, LineHeight * Delta, @srect, @srect, 0, nil, SW_INVALIDATE) replace it with       if false On 07/10/2017 09:01, Lubos Pintes via Lazarus wrote: but there is probably another change, because the NVDA is unable to show me lines after I scrool

Re: [Lazarus] Developing a WidgetSet

2017-10-09 Thread Lubos Pintes via Lazarus
And now I tested this and I am sure, only TBitBtn doesn't expose the name. And because TBitBtn is used mostly in the IDe, most buttons are not accessible.Dňa 9. 10. 2017 o 9:41 Lubos Pintes via Lazarus napísal(a): I reported this problem years ago. If I remember properly, only TBitBtn has

Re: [Lazarus] Developing a WidgetSet

2017-10-09 Thread Lubos Pintes via Lazarus
I reported this problem years ago. If I remember properly, only TBitBtn has this behaviour. Of course not all buttons in the IDE have empty names, but those on options dialog, or welcome page. Dňa 9. 10. 2017 o 9:14 Juha Manninen via Lazarus napísal(a): *I wonder ... --

[Lazarus] Adding a component to a form using keyboard

2017-10-09 Thread Lubos Pintes via Lazarus
Hello, I have a problem to add a button to a form using keyboard. Ctrl+Alt+P, write "tbut" to the edit field and press Enter. Nothing was added... why? -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Developing a WidgetSet

2017-10-09 Thread Lubos Pintes via Lazarus
Thank for all replies, but my original question was overlooked. Can someone answer it? Dňa 8. 10. 2017 o 22:09 Lubos Pintes via Lazarus napísal(a): Hello, If I want to add a functionality like accessibility to WidgetSet, which package could I use, lcl.lpk, or lclbase.lpk? Also, how can I

Re: [Lazarus] Developing a WidgetSet

2017-10-09 Thread Lubos Pintes via Lazarus
s, and lcl knows how to call them. On 08/10/2017 21:09, Lubos Pintes via Lazarus wrote: Hello, If I want to add a functionality like accessibility to WidgetSet, which package could I use, lcl.lpk, or lclbase.lpk? Also, how can I rebuilt the package when I modify/add some unit? Do I need to alwa

Re: [Lazarus] Developing a WidgetSet

2017-10-09 Thread Lubos Pintes via Lazarus
Geldenhuys via Lazarus napísal(a): On 2017-10-08 21:09, Lubos Pintes via Lazarus wrote: If I want to add a functionality like accessibility to WidgetSet, which package could I use, lcl.lpk, or lclbase.lpk? I believe "accessibility" is beyond the scope of the LCL. It is expected that th

[Lazarus] Developing a WidgetSet

2017-10-08 Thread Lubos Pintes via Lazarus
Hello, If I want to add a functionality like accessibility to WidgetSet, which package could I use, lcl.lpk, or lclbase.lpk? Also, how can I rebuilt the package when I modify/add some unit? Do I need to always rebuild the IDe, or there is a quicker way? I am thinking about syntax check / quick

Re: [Lazarus] Lazarus code editor: what happened with the caret?

2017-10-07 Thread Lubos Pintes via Lazarus
:\Users\username\AppData\Local\lazarus\editoroptions.xml This file also overrides keyboard shortcuts, and mouse settings (in case you changed any of them). On 07/10/2017 15:46, Lubos Pintes via Lazarus wrote: Hello and thank for info. NVDA uses screen scraping, it hooks Windows API like

Re: [Lazarus] Lazarus code editor: what happened with the caret?

2017-10-07 Thread Lubos Pintes via Lazarus
Ahh, LCLCheckListBox is also not accessible, so I cannot disable things there, I have no feedback. Dňa 7. 10. 2017 o 16:46 Lubos Pintes via Lazarus napísal(a): Hello and thank for info. NVDA uses screen scraping, it hooks Windows API like ExtTextOut, TextOut, etc. This rarely works well

Re: [Lazarus] Lazarus code editor: what happened with the caret?

2017-10-07 Thread Lubos Pintes via Lazarus
  TSynEditScreenCaretPainterSystem On 06/10/2017 20:57, Lubos Pintes via Lazarus wrote: Hello, After years, I just built a fresh Lazarus from SVN. I ran the IDE, and noticed immediately that a code editor is completely unusable to screen reader. I am running Windows and using NVDA. In the past, the code editor

[Lazarus] Settings in the options dialog are not focusable via keyboard

2017-10-06 Thread Lubos Pintes via Lazarus
Hello, When I open the options dialog by pressing Ctrl+Shift+O, choose a category in the tree and try to navigate using Tab, I can tab through the category tree, three buttons and the filter edit. The settings themselves are not reachable. Is this a bug? I am using Windows 10 and the fresh