Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

navigation b/w non-database image items

Status
Not open for further replies.

chochoo

Programmer
Aug 24, 2003
33
PK
hi !
i'm running forms 6i. my problem is that i've some
image items (non-database) in my form. i want to navigate b/w them through
arrow keys. suppose in each row there are 2 image items. if the image1
is selected and i press right arrow key the image2 should be selected, and if i
press the down arrow key image3 must be selected. and so on. or i should say
when i'm on image1 and i press left arrow key the "when_image_pressed" trigger of
image2 should be executed and when i press down arrow key on image1 the "when_image_pressed"
trigger of image 3 should be executed.what should i've to do
for this? i've also set the navigation properties of all the items but they
are not working.
thanks in advance.
 
I think you'll have trouble trapping the left and right arrow keys. In text items these are used to scroll the text cursor left and right, and theres no direct triggers associated with them.

WHEN-IMAGE-PRESSED only works from a mouse button press, AFAIK.

As far as using the up and down arrow keys, you could code a KEY-UP and KEY-DOWN trigger in each image item to make the cursor navigate between images.
 
thanx lewisp but still i'm having problem in moving left and right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top