Hi Phil.
I've tested it out on Mac OSX for about 20 mins and can find nothing
wrong with it, however i have one small suggestion.
How about when you double click on the text, it selects all of the
text, similar to how the EditField works?
Giles.
On 28 Sep 2006, at 04:21, Phil M wrote:
I have been slaving over a new control... 8 hours today, and my
brain is fried. I would really appreciate it if you could try out
this application I would really appreciate it.
Basically, I built the SearchField control from scratch using a
canvas. It emulates an single-line EditField control (not
styled). It should work with all Edit menu items except for
"Undo". It accepts a text drop, but does not provide text drops yet.
As far as I know there are only three unsupported issues:
- Undo support
- text drags from SearchField control
- insertion point does not blink
- No focus ring (I would have to custom draw it and I don't know
how)
What I need is for a bit of behavior testing... please try to make
it break and then report steps.
I included a Windows version, but I do not have a Windows computer
available to me right now. This control should automatically
double-buffer on Windows computers, but if it does not please let
me know. In fact let me know if you see any visual glitches at all.
The way the test application works is for each TextChange() event,
the text in the large EditField is searched and only results which
contain the search string will be displayed. To display all
strings, just set the SearchField to empty.
----------------
Macintosh:
http://developer.dreystone.com/files/SearchField.pef.zip
Windows:
http://developer.dreystone.com/files/SearchField.exe.zip
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>