"SET NAVIGATION EXTENDED" in HMG.4

Moderator: Rathinagiri

Rossine
Posts: 87
Joined: Thu Jun 30, 2011 10:04 pm

"SET NAVIGATION EXTENDED" in HMG.4

Post by Rossine » Fri Dec 23, 2011 12:56 pm

Hello,

Exists command "SET NAVIGATION EXTENDED" in hmg.4 ? Or other way to use it ?

Regards,

Rossine.

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Fri Dec 23, 2011 1:10 pm

I´ve checked in HMG.CH and instructions is in blank:

#translate SET NAVIGATION EXTENDED => ;

Probably there is not a equivalent yet. Try this:

#xtranslate SET NAVIGATION EXTENDED => _HMG_ExtendedNavigation := .T.

In HMG 3 for _HMG_ExtendedNavigation was _HMG_SYSDATA [ 255 ] but in HMG4 seems there is not referance of it.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Rossine
Posts: 87
Joined: Thu Jun 30, 2011 10:04 pm

Post by Rossine » Fri Dec 23, 2011 4:43 pm

Hello Luigi,

Would be complicated to implement this in hmg.4 ?

Pablo many thank´s for your answer.

Best regards,

Rossine.

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Fri Dec 23, 2011 10:13 pm

Rossine wrote: Would be complicated to implement this in hmg.4 ?
I don't even know what
SET NAVIGATION EXTENDED
is for....

what change when this command is called ?

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Fri Dec 23, 2011 10:43 pm

Caro Signore Francesco,

I believe this allows to navigate thru fields when pressed "Enter" in Grids, Textbox, Combobox (I believe in all kind of controls). There is also "SET CELLNAVIGATIONMODE EXCEL" and "SET CELLNAVIGATIONMODE STANDARD" which alternate also for the kind of navigation like it is in Excell way (from up to down in grids / browses).
Clipper users are very acostumed to use Enter instead "TAB" key. But this command never does not disable the tab navigation even been in extend or standard.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Sat Dec 24, 2011 8:13 am

Pablo César wrote: I believe this allows to navigate thru fields when pressed "Enter" in Grids, Textbox, Combobox (I believe in all kind of controls).
I think that this is standard way in hmg4...

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Sat Dec 24, 2011 1:19 pm

Not Mr. Francesco, this is not working in HMG4 at all. The command "SET NAVIGATION EXTENDED" should allows to navigate thru fields when pressed "Enter". Please check in C:\hmg.3.0.40\samples\TEXTBOX.2 example you will see behavior of "SET NAVIGATION EXTENDED" and when "SET NAVIGATION STANDARD" becomes normal taking off effects of "Enter" for the navigation.

Diferent behavior happens "SET CELLNAVIGATIONMODE EXCEL" when "Enter" is pressed in Grids or browses it navigates going down. See C:\hmg.3.0.40\samples\GRID.39 you will note diference when is settled with "SET CELLNAVIGATIONMODE STANDARD".
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Post by mrduck » Sat Dec 24, 2011 1:23 pm

You are right !

I'm sure it was implemented in the past, probably the last changes to textbox changed the code...

I will try to add it back

Pablo César wrote:Not Mr. Francesco, this is not working in HMG4 at all. The command "SET NAVIGATION EXTENDED" should allows to navigate thru fields when pressed "Enter". Please check in C:\hmg.3.0.40\samples\TEXTBOX.2 example you will see behavior of "SET NAVIGATION EXTENDED" and when "SET NAVIGATION STANDARD" becomes normal taking off effects of "Enter" for the navigation.

Diferent behavior happens "SET CELLNAVIGATIONMODE EXCEL" when "Enter" is pressed in Grids or browses it navigates going down. See C:\hmg.3.0.40\samples\GRID.39 you will note diference when is settled with "SET CELLNAVIGATIONMODE STANDARD".

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Sat Dec 24, 2011 1:30 pm

Wow so quick your return ! Take your time Mr. your good intentions in this days is really a Christmas gift ! Thank to you and all people that colaborate for expanding HMG4. Really thank you.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Rossine
Posts: 87
Joined: Thu Jun 30, 2011 10:04 pm

Post by Rossine » Sat Dec 24, 2011 2:05 pm

Hello Francesco,

It would be possible to navigate between fields with "ENTER / Up Arrow / Down arrow" when "set navigation extended" it is set ?

Except browses, combobox, etc ...

Thanks and happy holidays,

Rossine.

Post Reply