Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2017-01-08 Thread Fred van Stappen
> iassistiveserver.doenter() is called by the widgets after activating. Hello Martin. As usual, your code works perfectly. sak_mse + ideU are working (IMO) perfectly too. Thanks. Fre;D -- Check out the vibrant tech

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2017-01-05 Thread Fred van Stappen
> message widgets have the asf_message-flag > set in iassistiveclient.getassistiveflags() result. Ha, I did not use getassistiveflags(), I will study it. >> Is it with one of this actions ? : >iassistiveserver.doenter() is called by the widgets after activating. OK, perfect. Many thanks.

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2017-01-04 Thread Martin Schreiber
On Wednesday 04 January 2017 23:14:11 Fred van Stappen wrote: > Hello Martin. > > Some comment after test: > > if (Sender is tshowmessagewidget) then ... > > => Error: Identifier not found "tshowmessagewidget" Fatal: Compilation > aborted > > OK, replaced by: > > if (Sender is tmessagewidget)

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2017-01-04 Thread Fred van Stappen
Hello Martin. Some comment after test: if (Sender is tshowmessagewidget) then ... => Error: Identifier not found "tshowmessagewidget" Fatal: Compilation aborted OK, replaced by: if (Sender is tmessagewidget) then ... => Compiles ok. But when, for example, a error message is sent, I do

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2017-01-04 Thread Martin Schreiber
On Friday 16 December 2016 13:04:24 Martin Schreiber wrote: > On 12/16/2016 12:49 PM, Fred van Stappen wrote: > >> It does not happen for me. Are you sure it is not the window manager? > >> > >> Or do you mean the mainmenu raise function? It is disabled if the window > >> is > >> > >> in

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2017-01-03 Thread Fred van Stappen
>> Must be implemented in the constructed widget. I'll take a look. >> git master ee58e5550dc700a84493bf914742262aeadb7be2 tshowmessagewidget >> reports >> caption and text by iassistiveclient.getassistivecaption() and >> getassistivetext(). Excellent. I will try this asap. Many thanks and

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2017-01-03 Thread Martin Schreiber
On Wednesday 14 December 2016 17:38:58 Martin Schreiber wrote: > On 12/14/2016 12:31 PM, Fred van Stappen wrote: > > I search for a way to assist showmessage(). > > > > Do you have some idea ? > > Must be implemented in the constructed widget. I'll take a look. > git master

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-17 Thread Fred van Stappen
>> I suspect conflicts with some actions... >> for example dofocuschanged() conflicts with doenter" > Please explain. OK, I will (try to) explain with example. ASAP. (Huh, how to get the name of the tab of the activepageindex ?) >>> In "doenter" >> Huh, I have try but strangely it works

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-17 Thread Martin Schreiber
On 12/17/2016 04:13 PM, Fred van Stappen wrote: > >>> Ttabwidget (and fix of dofocuschanged() that gives not assigned sender) ? > >> Probably it is as designed. If dofocuschanged() fires the first >> time "oldwidget" is nil, if it fires the last time "newwidget" is nil. > > I suspect conflicts

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-16 Thread Martin Schreiber
On Friday 16 December 2016 18:05:12 Fred van Stappen wrote: > > By the way, do you have plan for assisted raised-error-message and Yes, later. > Ttabwidget (and fix of dofocuschanged() that gives not assigned sender) ? You wrote: > But dofocuschanged() has problem. You must use: > > if

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-16 Thread Fred van Stappen
>> Is it possible to disable it ? > Activate the small arrow down button on the right Huh, ok but that way the window stay always background, even clicking on it... ;-( > I'll add an option to disable the raise function if it does not exist already. Super, thanks. > Later, first I must

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-16 Thread Martin Schreiber
On 12/16/2016 12:49 PM, Fred van Stappen wrote: >> It does not happen for me. Are you sure it is not the window manager? > >> Or do you mean the mainmenu raise function? It is disabled if the window is > >> in "background" mode (the arrow down button in dock frame). > > Hello. > > Could you

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-16 Thread Fred van Stappen
>It does not happen for me. Are you sure it is not the window manager? >Or do you mean the mainmenu raise function? It is disabled if the window is >in "background" mode (the arrow down button in dock frame). Hello. Could you take a look at the video

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-15 Thread Martin Schreiber
On 12/15/2016 09:02 PM, Fred van Stappen wrote: >>> By the way, something very annoying: message from raised exception are not >>> totally modal and not totally to front. > >>> So sometimes it is hidden by other forms and you do not understand what >>> append. >> You probably should not use

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-15 Thread Fred van Stappen
>> By the way, something very annoying: message from raised exception are not >> totally modal and not totally to front. >> So sometimes it is hidden by other forms and you do not understand what >> append. > You probably should not use --NOZORDERHANDLING. Maybe... But I have to confess that

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-15 Thread Martin Schreiber
On 12/15/2016 04:29 PM, Fred van Stappen wrote: > By the way, something very annoying: message from raised exception are not > totally modal and not totally to front. > So sometimes it is hidden by other forms and you do not understand what > append. > You probably should not use

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-15 Thread Martin Schreiber
On 12/14/2016 09:45 PM, Fred van Stappen wrote: > > >>> I search for a way to assist showmessage(). >>> Do you have some idea ? > >> Must be implemented in the constructed widget. I'll take a look. > > OK, super. But mainly for the message of errors-waring system. > I think

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-14 Thread Fred van Stappen
>> I search for a way to assist showmessage(). > >Do you have some idea ? > Must be implemented in the constructed widget. I'll take a look. OK, super. But mainly for the message of errors-waring system. Many thanks

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-14 Thread Fred van Stappen
Hello Martin. I search for a way to assist showmessage(). Do you have some idea ? Thanks. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org!

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-06 Thread Fred van Stappen
>> Thanks. And I just discover that the space key does the trick too ;-) > This is not the same. Yep, it works only for Tenumedit. >> I know that it is possible to use Alt+V then Alt+U, Alt+M, ... > Alt+V U, Alt+V M, ... works too. Oh, perfect, many thanks for the tip. PS: For console

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-05 Thread Martin Schreiber
On 12/05/2016 10:53 PM, Fred van Stappen wrote: > Hello. > >>> How to navigate with the keyboard in a combobox after it was selected ? >> Alt+ArrowDown. dropdown.options deo_keydropdown must be set (default). > > Thanks. And I just discover that the space key does the trick too ;-) > This is

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-05 Thread Fred van Stappen
Hello. >> How to navigate with the keyboard in a combobox after it was selected ? > Alt+ArrowDown. dropdown.options deo_keydropdown must be set (default). Thanks. And I just discover that the space key does the trick too ;-) >> But if the selected cell is a directory, how to get the text of

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-05 Thread Martin Schreiber
On Monday 05 December 2016 15:29:08 Fred van Stappen wrote: > > But there are some that make trouble. > > It is those in projectoptionsfo with boolean cells. > There is a Access violation error when selecting a "boolean" cell (cell > with X). > > I do not find how to fix this. > Can you write a

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-05 Thread Fred van Stappen
Hello Martin. Thanks for answer, I will study your propositions. Other thing: I have lot of success with twidgetgrid. But there are some that make trouble. It is those in projectoptionsfo with boolean cells. There is a Access violation error when selecting a "boolean" cell (cell with X).

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-04 Thread Martin Schreiber
On 12/04/2016 06:01 PM, Fred van Stappen wrote: > Re-hello Martin. > > Does it exist the equivalent of Tform.showmodal in MSE ? > twidget.show() or twidget.show(true) which calls twidget.show(ml_application). can be "ml_none", "ml_application" which starts a nested main event loop or

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-04 Thread Martin Schreiber
On 12/04/2016 02:00 PM, Fred van Stappen wrote: > > In a tfilelistview, when using the up-down-left-right key, I get the text of > the selected cell with: > > if assigned(tfilelistview(TheSender.getinstance).selectednames) then > TheCell := tfilelistview(TheSender.getinstance).selectednames[0]

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-04 Thread Fred van Stappen
Re-hello Martin. Does it exist the equivalent of Tform.showmodal in MSE ? Or how to keep the focus of a window, even if something is changed in a other window by that focused-window ? Setting form.option to "wo_dialog" do not keep the focus if a other form is clicked. Other thing: Is it

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-04 Thread Fred van Stappen
Hello Martin. > It is a "tsysenvmanager" component Super-Wow. Very impressive component. Many thanks. Other thing: In a tfilelistview, when using the up-down-left-right key, I get the text of the selected cell with: if assigned(tfilelistview(TheSender.getinstance).selectednames) then

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-03 Thread Fred van Stappen
> In case of a development IDE I think that a IDE for visually impaired > people must be designed from scratch for the task, only to speak the > texts of an IDE designed by and for not visually impaired people can not > lead to an optimal result IMHO. Yes, maybe. But maybe it is possible to make

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-03 Thread Martin Schreiber
On 12/03/2016 04:12 PM, Fred van Stappen wrote: > > >> Because it is not listed in guitemplates.pas "envvarty" definition and >> the "guitemplatesmo.sysenv" "tsysenvmanager" component. Please use the > '> ED' button of the objectinspector in order to edit the "sysenv" >> component. The order of

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-03 Thread Fred van Stappen
> You have to escape the apostrophe with another apostrophe. Double them up. > eg: str := 'What''s up?'; Thanks Graeme. Fre;D -- Check out the vibrant tech community on one of the world's most engaging tech sites,

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-03 Thread Fred van Stappen
> Because it is not listed in guitemplates.pas "envvarty" definition and >the "guitemplatesmo.sysenv" "tsysenvmanager" component. Please use the '> ED' button of the objectinspector in order to edit the "sysenv" > component. The order of "envvarty" and the "sysenv" entries must match. > "sysenv"

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-03 Thread Martin Schreiber
On 12/01/2016 01:44 PM, Fred van Stappen wrote: >> The advantage would be that the users can use the screenreader they are used >> to. > > > Yes, maybe it is a advantage. > >> But maybe - as you write - it is not possible to achieve good results if the >> application is not a 100% default

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Martin Schreiber
On 12/03/2016 01:16 AM, Fred van Stappen wrote: > Hello Martin. > > When using parameter like -va , all is ok, the application run according the > parameter. > > But at console there is that message: > > # ./ideU -va >> Invalid parameter: -va > > I fixed it (temporally) commented line 949 of

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Graeme Geldenhuys
On 2016-12-03 00:16, Fred van Stappen wrote: > Other thing, how to do to add apostrophe (') in a string ? > > For example: str := ''' ; => does not work. You have to escape the apostrophe with another apostrophe. Double them up. eg: str := 'What''s up?'; Regards, Graeme

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Fred van Stappen
Hello Martin. When using parameter like -va , all is ok, the application run according the parameter. But at console there is that message: # ./ideU -va > Invalid parameter: -va I fixed it (temporally) commented line 949 of msesysenv.pas: // errorme(ern_invalidparameter,strar1[index]); Why

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Graeme Geldenhuys
On 2016-12-02 15:15, Martin Schreiber wrote: > and either find none or decide that I like to cancel the operation > and release Alt without pressing another key. With Windows applications (even under WINE), if you press Alt key alone, the menu bar has focus with the first menu item selected (no

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Martin Schreiber
On 12/02/2016 03:30 PM, Graeme Geldenhuys wrote: > >> I am not sure if it is a good idea to activate the mainmenu >> by Alt-key alone. Maybe Alt+Menu is better. > > I can't think of any application that maps the Alt-key alone to any > specific function. But I often press the Alt-key and then

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Graeme Geldenhuys
On 2016-12-02 13:19, Martin Schreiber wrote: > Please use left arrow instead of right arrow in order to select the top > level items. Ah, that's a good alternative. > I am not sure if it is a good idea to activate the mainmenu > by Alt-key alone. Maybe Alt+Menu is better. I can't think of any

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Martin Schreiber
On 12/02/2016 02:04 PM, Graeme Geldenhuys wrote: > > The other problem (though a MSEgui issue) is navigating the main menu > with arrow keys alone. This doesn't just apply to blind people, but they > will notice it first. Starting ideU/MSEgui, you wouldn't know what main > menu items exist, so

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Graeme Geldenhuys
On 2016-12-02 12:47, Fred van Stappen wrote: > # ideu assisted > > and this will load ideu with sak eanabled. Good, but maybe make it "ide -assisted" (like normal parameter syntax), because I think MSEgui and ideU supports filename parameters (no hyphen prefix) to open files directly. >>

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Fred van Stappen
Ooops, sorry Graeme, I did not see your answer in fpc forum (and your vision are the same that mine). O course sak must be better but all is possible. For example, now in ideu-code editor, the speecher says also the commas, semi-colons, open-closed brackets, ... Normally screen readers do

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-02 Thread Fred van Stappen
Hello. I continue the discussion from fpc froum. Graeme said: > I think BobJ means... having instructions on how to enable SAK in ideU. Yes, it is needed. And I will add a parameter for ideu: "assisted". So, at command line, just do: # ideu assisted and this will load ideu with sak

Re: [MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-01 Thread Fred van Stappen
> The advantage would be that the users can use the screenreader they are used > to. Yes, maybe it is a advantage. > But maybe - as you write - it is not possible to achieve good results if the > application is not a 100% default Windows application. Huh, that first and if you want that your

[MSEide-MSEgui-talk] MSEgui and screenreader

2016-12-01 Thread Martin Schreiber
Continuing a discussion from fpc-pascal: > >That was my concern too when Fred started with the accessibility options >> for MSEgui. I suggested to use and extend the "iassistiveclient" and >> "iassistiveserver" interfaces of MSEgui in order to connect to standard >> screen readers instead to