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 msesysenv.pas:
> 
> //  errorme(ern_invalidparameter,strar1[index]);
> 
> Why -va is not valid ?
> 
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" is placed in guitemplates unit because it is the first loaded
module.

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] popup menu

2016-12-02 Thread Martin Schreiber
On 12/02/2016 11:32 PM, Patrick Goupell wrote:
> Is ther a popup menu demo in mseuniverse I cannot find one)?
> 
> Could someone provide a simple right click popup menu example?
> 
It is similar to use a main-menu in a form. For the main-menu one places
a "tmainmenu" component from component palette 'Gui' on the form, sets
the wanted items and subitems in objectinspector by the property
"menu.submenu..." and selects the main-menu component in the "mainmenu"
property of the form.
In case of a popup-menu use a "tpopupmenu" component and the "popupmenu"
property of the associated widget.

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

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


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

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 -va is not valid ?

Other thing, how to do to add apostrophe (') in a string ?

For example: str := ''' ; => does not work.

Thanks.

PS: File-dialog-assisted fixed.

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


[MSEide-MSEgui-talk] popup menu

2016-12-02 Thread Patrick Goupell
Is ther a popup menu demo in mseuniverse I cannot find one)?

Could someone provide a simple right click popup menu example?

Thank you.

Patrick



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

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 dropdown
menu). If you decide to cancel the operation, simply press the ESC key.

Regards,
  Graeme


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

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 check which additional key to
press and either find none or decide that I like to cancel the operation
and release Alt without pressing another key.

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

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 application that maps the Alt-key alone to any
specific function. Probably why Microsoft chose it for there standard
main menu usage, and because Alt+ already works with the main
menu - so Alt-key alone is just a variation of Alt+

On OSX, Apple uses Ctrl+F2 to accomplish the above. But that shortcut is
often used for something else under X11 or Windows. So probably not the
best idea.

OS/2 also used the Alt-key alone for main menu (or action bar) focus.


As for your suggestion about Alt+Menu... I've seen Windows applications
use that shortcut before. I don't know if that was a global shortcut, or
application specific.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

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

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 you would presume a "File" menu exists (almost all
> applications have that - good or bad?) with Alt+F to access it. Pressing
> right arrow at that point opens the sub-menu, pressing right again,
> opens yet another sub menu. Eventually it runs out of sub menus, then
> only moves to the "Edit" main menu item.
> 
Please use left arrow instead of right arrow in order to select the top
level items. I am not sure if it is a good idea to activate the mainmenu
by Alt-key alone. Maybe Alt+Menu is better.

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

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.


>> Fred, BobJ has a valid point about the 'up' or 'down' prompts...
> 
> OK, fixed, thanks to note it.
> I really need some testers, I did not note it.

All I did was start a console window. type in ./ideU  then closed my
eyes and pressed Enter so ideU loads up. Then try and open one of your
existing projects (don't even bother trying to edit code yet). It's
f**ken hard, and you easily notice problems. That's how I noticed the
menu and file dialog problems.

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 you would presume a "File" menu exists (almost all
applications have that - good or bad?) with Alt+F to access it. Pressing
right arrow at that point opens the sub-menu, pressing right again,
opens yet another sub menu. Eventually it runs out of sub menus, then
only moves to the "Edit" main menu item.

Under Windows, you can simply press Alt on its own. That selects the
first main menu item, with out opening it up. Now you can navigate left
and right on the main menu, without seeing sub menus. It will be useful
for MSEgui (or MSEide to support that). In fact, I just added that to
fpGUI's todo list too - it used to work, but clearly got broken
[unnoticed] somewhere down the line.

Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp

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

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 not tell this.


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

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


> Fred, BobJ has a valid point about the 'up' or 'down' prompts...


OK, fixed, thanks to note it.

I really need some testers, I did not note it.


> Something else to point out. In the file selection dialog of ideU...


Huh, yes, indeed, I have to check it.


> I definitely believe you are not the right track though.


OK, what would be a better track ?


Many thanks for your advices.


Fred


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