I'm attempting to create an autocomplete menu for an editfield
(2009r2.1) that appears at the text insertion point and having a
problem with the placement of the menu. It seems that when I call
TrueWindow.Left and TrueWindow.Top from a subclass of an editfield, I
am not getting the coordinates of the window, but the window behind it.
Mac OSX 10.5.7 -> Windows Vista SP1 (also a problem on XP)
AutocompleteField (Subclass of Editfield)
on a TabPanel
on a Document Window
in front of another document window
inside an MDI window
So what I'm attempting to do is to position another window with a
listbox on it at the cursor position within the AutocompleteField.
Problem is that TrueWindow.left and TrueWindow.Top are returning the
top-left corner of the window BEHIND the top window.
Anyone seen something like this before?
So far, I've been unable to reproduce it in a smaller app and I'm
bound by a contract on the full project. If I find a way to trim it
down, I'll post an example.
Greg O'Lone
Stretched Out Software
http://www.stretchedout.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|