Re: Dyanmic Positioning in Windows 3.1
From: Steven P. Muench <smuench_at_oracle.com>
Date: 09 Nov 1994 16:26:24 GMT
Message-ID: <SMUENCH.94Nov9082624_at_doh.oracle.com>
Date: 09 Nov 1994 16:26:24 GMT
Message-ID: <SMUENCH.94Nov9082624_at_doh.oracle.com>
The Show_Lov() built-in can optionally take an (x,y) coord to draw the list at.
The Get_Item_Property(:System.Cursor_Item, X_POS)now, so that you can feed some calculation based on these back into the (x,y) coords of your Show_LOV() call to get it "near" the field using whatever your notion of "near" might mean -- i.e. to the left, to the right, below, above, etc.
, Y_POS)
, WIDTH)
can give you info on exactly where on the screen your user is
We're considering a "Centered" and "Near" option on LOV's for a future release, but this should do the trick in the interim. If written properly, this logic can probably be thrown into a shared PL/SQL library and leverage throughout all of your forms.
-- Steve Muench Email: smuench_at_oracle.com Forms Development CIS: 73404,676 Sr. Product Manager Oracle CorporationReceived on Wed Nov 09 1994 - 17:26:24 CET