I want to use the keyboard to vary the size and position of a picture, Cursor for position and +- for size.
A problem is I also have 4 HScreollBars on the form that do the same job.
(I use Keydown to change the scrollbar values)
All controls Tabstop=False
Pressing the cursor keys repeatedly to move the picture across also highlights the other command buttons in turn eventually tabbing the focus to the last scroolbar in the tab list even though it's tabstop is false. Tabstop doesn't seem to affect "tabbing" with the cursor keys.
Them after the next press it changes that Scrollbar.value
The effect of this is if you shift the picture with the cursor a few times it starts to then change the picture size because the size scrollbar is the last indexed
It only does it to whichever scrollbar has the highest tab index number.
I can get around this by having a fifth dummy scrollbar but I would have thought there is a better answer?
A problem is I also have 4 HScreollBars on the form that do the same job.
(I use Keydown to change the scrollbar values)
All controls Tabstop=False
Pressing the cursor keys repeatedly to move the picture across also highlights the other command buttons in turn eventually tabbing the focus to the last scroolbar in the tab list even though it's tabstop is false. Tabstop doesn't seem to affect "tabbing" with the cursor keys.
Them after the next press it changes that Scrollbar.value
The effect of this is if you shift the picture with the cursor a few times it starts to then change the picture size because the size scrollbar is the last indexed
It only does it to whichever scrollbar has the highest tab index number.
I can get around this by having a fifth dummy scrollbar but I would have thought there is a better answer?