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 not the same. By that you enter text in edit widget, the
dropdown widget will be showed because of deo_autodropdown.

> 
>>> Or what key to use to select a docked form ?
>> In MSEide please use 'View'-'...
> 
> OK. But I think that a "all undocked" layout is more efficient for assistive.
> So system-Alt+Tab may be used (but in that case, the system must be assisted 
> too).
> 
> If the system is not assisted, Ctrl+Fn shortcut should be a solution.
> Is it possible to define a global-shortcut via the shortcuts-panel for:
> 
> main-form, source-editor-form, message-form, debugger-form, console-form
> 
No.
> or must it be coded ? (in shortcuts-panel, it is not proposed)

Yes, the actions must be added to actionsmo.shortcuts
(tshortcutcontroller in actionsmodule.pas).

> I know that it is possible to use Alt+V then Alt+U,  Alt+M, ... 

Alt+V U, Alt+V M, ... works too.

but I find it too difficult, I would prefer only one key.
> 

I fear there are not enough keys. ;-)

Martin

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Twidgetgrid and assitive interface.

2016-12-05 Thread Martin Schreiber
On 12/05/2016 10:23 PM, Fred van Stappen wrote:
> 
> Hello.
> 
> 
> This a continuation of:
> 
> 
> 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.
> 
> When selecting a "normal" cell, all is ok, the cell is said (see attachment 
> twidgetgrid_ok.jpg).
> 
> But selecting a "boolean" cell, there is a access violation error (see 
> attachment twidgetgrid_crash.jpg).
> 
"
function TSak.WhatName(iaSender: iassistiveclient): msestring;
[...]
  if (Sender is tbooleaneditradio) then
  begin
if (trim(Tbooleaneditradio(Sender).frame.Caption) <> '') then

   << frame is nil by default for grid widgets

  Result := 'radio button, ' + Tbooleaneditradio(Sender).frame.Caption
else
 if (Tbooleaneditradio(Sender).hint <> '') then
  Result := 'radio button, ' + Tbooleaneditradio(Sender).hint
  else
  Result := 'radio button, ' + Tbooleaneditradio(Sender).Name;
  end
"
Maybe use "iaSender.getassistivecaption()" instead?

Please remember the iassistiveclient interface:
"
 iassistiveclient = interface(inullinterface)[miid_iassistiveclient]
  function getinstance: tobject;
  function getassistivename(): msestring;
  function getassistivecaption(): msestring;
  function getassistivetext(): msestring;
  function getassistivecaretindex(): int32; //-1 -> none
  function getassistivehint(): msestring;
  function getassistiveflags(): assistiveflagsty;
 {$ifdef mse_with_ifi}
  function getifidatalinkintf(): iifidatalink; //can be nil
 {$endif}
 end;
"

Martin

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 the selected 
>> cell ?
> filelistview>.focuseditem.caption

Magnifique:

if assigned(tfilelistview(TheSender.getinstance).selectednames) then
 TheCell :=  'file , ' +  tfilelistview(TheSender.getinstance).selectednames[0]
else
if trim(tfilelistview(TheSender.getinstance).focuseditem.caption) <> '' then
 TheCell := 'directory , ' +  
tfilelistview(TheSender.getinstance).focuseditem.caption;


>> Does it exist the equivalent of Tform.showmodal in MSE ?
> ... or twidget.show(true)

Yep, twidget.show(true) does perfectly the trick.

>> Or what key to use to select a docked form ?
> In MSEide please use 'View'-'...

OK. But I think that a "all undocked" layout is more efficient for assistive.
So system-Alt+Tab may be used (but in that case, the system must be assisted 
too).

If the system is not assisted, Ctrl+Fn shortcut should be a solution.
Is it possible to define a global-shortcut via the shortcuts-panel for:

main-form, source-editor-form, message-form, debugger-form, console-form

or must it be coded ? (in shortcuts-panel, it is not proposed)
I know that it is possible to use Alt+V then Alt+U,  Alt+M, ... but I find it 
too difficult, I would prefer only one key.

Thanks.

Fre;D


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Twidgetgrid and assitive interface.

2016-12-05 Thread Fred van Stappen

Hello.


This a continuation of:


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.

When selecting a "normal" cell, all is ok, the cell is said (see attachment 
twidgetgrid_ok.jpg).

But selecting a "boolean" cell, there is a access violation error (see 
attachment twidgetgrid_crash.jpg).

For debugging, I deleted all call to espeak for twidgetgrid and tbboleanedit 
but the crash still appends.

Fre;D





--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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 little bit more? Please start a new thread.

Martin

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


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).

I do not find how to fix this.

All other cells (string) are ok.

Fre;D




--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk