Re: Iconic Buttons

From: <spmnot_at_hotmail.com>
Date: 1997/12/15
Message-ID: <882202864.2061631489_at_dejanews.com>#1/1


> >i) When I navigate to this button (pressing Tab) it does not appear as
> >selected.

Try using a block level WHEN-NEW-ITEM-INSTANCE trigger like this:

DECLARE
   it_id Item;

BEGIN   it_id := Find_Item('button name');

   if ( :system.current_item = 'button name' ) then

      set_item_property (it_id, ICON_NAME, 'new_icon');

   else

      if ( get_item_property (it_id, ICON_NAME) = 'new_icon' ) then
         set_item_property ( it_id, ICON_NAME, 'old_icon' );
      end if;

   end if;

END; old_icon would be the name of the icon you want to normally display.

new_icon would be the name of an icon that looked that same, but was highlighted (prehaps with a little selection box around it).

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
Received on Mon Dec 15 1997 - 00:00:00 CET

Original text of this message