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) then ...
>
> => Compiles ok.
>
You should not need the class type, message widgets have the asf_message-flag 
set in iassistiveclient.getassistiveflags() result.

> But when, for example, a error message is sent, I do not understand how the
> assistive interface works:
>
> Is it with one of this actions ? :
>
>   procedure doenter(const sender: iassistiveclient);

iassistiveserver.doenter() is called by the widgets after activating.

Martin

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
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

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 not understand how the 
assistive interface works:

Is it with one of this actions ? :

  procedure doenter(const sender: iassistiveclient);
  procedure doitementer(const sender: iassistiveclient;
const items: shapeinfoarty; const aindex: integer);
  procedure doitementer(const sender: iassistiveclient;
 const items: menucellinfoarty; const aindex: integer);
  procedure clientmouseevent(const sender: iassistiveclient;
  const info: mouseeventinfoty);
  procedure dofocuschanged(const oldwidget,newwidget: iassistiveclient);
  procedure dokeydown(const sender: iassistiveclient;
const info: keyeventinfoty);
  procedure doactionexecute(const sender: tobject; const info: actioninfoty);
  procedure dochange(const sender: iassistiveclient);
  procedure docellevent(const sender: iassistiveclientgrid;
  const info: celleventinfoty);

If no, could it be possible to add something like:
  procedure domessageshow(const sender: iassistiveclient)

?

Thanks.

Fre;D






--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
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

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 "background" mode (the arrow down button in dock frame).
> >
> > Hello.
> >
> > Could you take a look at the video
> > https://sites.google.com/site/fredvsbinaries/mse_focus.mp4 ? When the
> > mouse move on the main menu, the form of the main menu take the focus.
> >
> > I would prefer that nothing append, like it was a normal window.
> > And if I want focus, I will click on the menu-form...
> >
> > Is it possible to disable it ?
>
> Activate the small arrow down button on the right. I'll add an option to
> disable the raise function if it does not exist already. Later, first I
> must finish DBus support.
>
> Martin


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 "background" mode (the arrow down button in dock frame).
> >
> > Hello.
> >
> > Could you take a look at the video
> > https://sites.google.com/site/fredvsbinaries/mse_focus.mp4 ? When the
> > mouse move on the main menu, the form of the main menu take the focus.
> >
> > I would prefer that nothing append, like it was a normal window.
> > And if I want focus, I will click on the menu-form...
> >
> > Is it possible to disable it ?
>
> Activate the small arrow down button on the right. I'll add an option to
> disable the raise function if it does not exist already. Later, first I
> must finish DBus support.
>
Actually the option exists since 2007. ;-)
Please disable tmainmenu.options mao_activate, default off.
Although the name is wrong, it does not activate or focus the mainmenu but 
raise the window if the mouse is in menu area. After leaving the menu area 
the original Z-order will be restored. The reason is that one can see and 
click the whole menu without the need to click an arbitrary menu item before 
which could trigger an action if there is no submenu.

Martin

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk