cancel
Showing results for 
Search instead for 
Did you mean: 

Can I change cursor motion using tab key?

Former Member
0 Kudos

Hi everyone,

I'm Tae from Japan.

Now, I'm developing UI with WD4J and I'd like to change cursor motion.

for example:

- left to right

- up and down

Environment:

SAP NW CE 7.1

SAP NWDS CE 7.1 SP05

Thanks and BestRegards,

Tae

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tae,

Cursor motion through Tab is default given in WD Java, Cursor goes to next defined element in view. By designing the view layout properly you can manage the cursor movement as per requirement.

some points :

1) Tab moves the cursor to next item (if Label property "Labelfor" is not defined for any ui element, it considers label as one element. Hence define labelfor property)

2)you can use any of layouts grid, matrix, flow or row to define the ui elements.

3)Tab will go to the next element in the same container. After completing all elements in one cotainer cursor goes to next container as defined in view.

3)Shift+Tab will move the cursor backward.

Regards

Deepak

Answers (1)

Answers (1)

namrata_d
Active Participant
0 Kudos

Hi Tae ,

For cursor motion, set the "Label for" field for all the labels and set them to the corresponding input/DD/textedit field beside them. Once you set the "Label for" field to the fields next to labels your cursor motion should work as expected.

Regards,

Namrata

Former Member
0 Kudos

Hi Deepak and Namrata,

It's Tae again.

Thank you for your quick reply.

I tried to set the "Label for" field and then I checked cursor motion.

I have successed to change it.

Thanks and Best Regards,

Tae