Iconic Buttons and Graphic Boilerplate in Forms 5

From: McCormick <mccormm_at_indy.net>
Date: 17 Mar 2005 14:08:04 -0800
Message-ID: <1111097284.005934.308180_at_f14g2000cwb.googlegroups.com>



  What I want to do is put a graphic of an envelope on my form (under Forms 5.0.6) where the user can click on it to open up another canvas to edit an address. I know I can use an iconic button, but I am not happy with the border that comes with all buttons. Importing a graphic onto the canvas doesn't help because Canvases and Windows have no triggers associated with them.

  I've tried putting a button with the Visible Property off over the graphic, but it's invisible to the Mouse Pointer as well as the Window.   I've tried putting an ON-MOUSE-CLICK trigger on the block, but that only triggers when I click on an item belonging to that block. Any clickable item I put over the graphic occludes it.   I've tried putting an ON-MOUSE-CLICK trigger on the Form itself. That works, in its way, but I'd have to hard code the coordinates of the graphic into the trigger function. FIND_ITEM and GET_ITEM_PROPERTY do not appear to work on canvas graphics.

  If anyone knows a way to make a graphic image clickable, or how to get rid of the borders around a button, I would love to hear it.

  Thanks!

  Mike McCormick Received on Thu Mar 17 2005 - 23:08:04 CET

Original text of this message