BAGAss Super Contributor.
Super Contributor.
402 views

cursor in array positioning

hi!
i have two arrays same length and i need positioning cursor in array1 to same line i choose in array2 by click or doubleclick in array2 in format
arrays set as comfill field.

0 Likes
8 Replies
ALARMus Acclaimed Contributor.
Acclaimed Contributor.

Re: cursor in array positioning

don't quite understand what you mean saying - "positioning cursor"

what is the ultimate goal ?

0 Likes
BAGAss Super Contributor.
Super Contributor.

Re: cursor in array positioning

it mean i move cursot to, for example, next item in array using mouse

0 Likes
ALARMus Acclaimed Contributor.
Acclaimed Contributor.

Re: cursor in array positioning

But cursor only one and can be in one place, so when you set by pressing mouse in Array2 in line x cursor stay in this line.

Or its must move to same line in Array1 and leave empty Array2 after you release mouse button.

0 Likes
BAGAss Super Contributor.
Super Contributor.

Re: cursor in array positioning

i need to sync cursor position in both arrays

0 Likes
ALARMus Acclaimed Contributor.
Acclaimed Contributor.

Re: cursor in array positioning

I'm not shure, but i think, that if you not in Array on form (set cursor to another field), even if before you set cursor to any line of array, there is no any position for cursor in Array and it is just on form marked last position in Array.

0 Likes
Highlighted
BAGAss Super Contributor.
Super Contributor.

Re: cursor in array positioning

yep. but i need event to handle when i click in array field and i cannot find it.
do display event help me with it, do you know?

0 Likes
ALARMus Acclaimed Contributor.
Acclaimed Contributor.

Re: cursor in array positioning

I think it must be somthing like:

1) You press in some line for Array1

some Action do next steps:

2) Focus on Array2

3) set cursor in Array2 same as you press for Array1

4) Set Cursor back to line you choosen in Array1

======================================

So is there something that can determine the position of the cursor in the array on the form ? 

0 Likes
BAGAss Super Contributor.
Super Contributor.

Re: cursor in array positioning

yes but how to catch im in array1?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.