Re: "Distance between records" property in Forms 6

From: Neville Sweet <sweet.neville.nj_at_bhp.com.au.no_junk_email>
Date: Fri, 25 Feb 2000 14:07:31 +1100
Message-ID: <894rkv$emm$1_at_gossamer.itmel.bhp.com.au>


Hi,

Maybe I'm missing something here, but what about the item property 'distance between records'?
Something like:
Item location = Item Y Pos + (:System.Mouse_Record_Offset * (Item Height + Item Distance between records) ).

cfischer wrote in message <02a0d7f9.7cadf3b4_at_usw-ex0106-045.remarq.com>...
>Hello all,
>
>I'm trying to write a standard utility that displays a graphical
>item next to the item the mouse pointer is currently hovering
>over. This is very easy for items that are displayed only one
>record at a time by GET_ITEM_PROPERTY x and y pos, then
>adjusting accordingly. It gets tricky when items_displayed is >
>1. I could easily adjust using :SYSTEM.MOUSE_RECORD_OFFSET *
>height of item, but I can't account for distance between records.
>
>I found undocumented support in GET_ITEM_PROPERTY for
>RECORDS_DISPLAYED but I can't figure out how to determine the
>distance between records. Another way to do it would be if I
>could use X_POS and Y_POS with GET_ITEM_INSTANCE_PROPERTY.
>
>Any ideas?
Received on Fri Feb 25 2000 - 04:07:31 CET

Original text of this message