Page 1 of 1

tab key override

Posted: Thu Mar 04, 2010 12:53 pm
by guna@ebscohost.com
Hi,
in author mode, we want to mimic the behavior of list item same as word. can you guide us how to implement this.

for example1.
we have a list item.

Code: Select all


<list id="level1">
<list-item> test1</list-item>
<list-item> test2</list-item>
</list>
if we keep the mouse on test2, then press tab key test2 should move one level down like. example2:

<list id="level1">
<list-item> test1</list-item>
<list id="level2">
<list-item> test2</list-item>
</list>
</list>


then if we keep the mouse on test2, then press shift tab should move one level up like example 1.

Thanks
Guna

Re: tab key override

Posted: Thu Mar 04, 2010 5:09 pm
by adrian
Hi,

Since TAB can't be assigned as a shortcut key to an action this is a bit trickier than overriding ENTER(http://www.oxygenxml.com/forum/topic4962.html).
I'm going to have to come back to you on this one. I'll check if this is possible and see what we can come up with.

Regards,
Adrian

Re: tab key override

Posted: Fri Mar 05, 2010 12:48 pm
by adrian
Hello again,

Unfortunately this isn't currently possible in v11.1. Even if the TAB key is assigned to a custom action(by editing the framework file), the hard-coded TAB navigation will still be performed instead of the action.

We are trying to make modifications to fix this in the 11.2 release(two weeks time). We'll let you know as soon as this gets fixed.

Regards,
Adrian

Re: tab key override

Posted: Wed Mar 10, 2010 5:40 pm
by adrian
Hi,

We have resolved this in 11.2(coming soon).

Let us know if you need an 11.2 Release Candidate.

Regards,
Adrian

Re: tab key override

Posted: Sat Mar 13, 2010 2:32 pm
by guna@ebscohost.com
Hi, can we overide "shift" "tab" too.

Re: tab key override

Posted: Mon Mar 15, 2010 9:45 am
by Radu
Hi,

Yes, you will be able to override tab and shift tab by setting them as shortcuts for author actions.
We already sent an email on the Oxygen Users List with the Oxygen 11.2 beta kits:
http://www.oxygenxml.com/pipermail/oxyg ... 03073.html

Regards,
Radu