DWSearchField (REALbasic getting started Mailinglist archive)

Back to the thread list
Previous thread: Coding for Mac Classic
Next thread: Help


RB Database   -   tom.russell transport.alstom.com
  DWSearchField   -   Charles Ross
   Re: DWSearchField   -   Marcel
   Re: DWSearchField   -   Charles Ross

DWSearchField
Date: 05.05.06 19:00 (Fri, 5 May 2006 11:00:32 -0700)
From: Charles Ross
I have found the DWSearchField object to add a Safari type search
field to my application. I'm trying to change the search menu that
appears. If anyone here has experience with this object, can you help
with the following?

First of all, I've figured out how to edit the menu of the search
field with the items I want. However, how can I edit these a bit
further? For instance, when the menu displays, I want one of the
items to appear checked. I've looked at the documentation on
contextual menus, which are normally constructed with the
ConstructContextualMenu handler, which is passed the base menu, and I
can see how I would do this if I had access to the base menu, but no
such parameter is passed to SearchMenuOpened.

That one is a necessity for me (so the user knows which field they
are searching). Of lesser importance is the font. It is possible to
change the font that the menu items appear in to the same one
normally used in Apple's search menus (such as the one in Safari)?

Thanks,
Chuck
_______________________________________________
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>

Re: DWSearchField
Date: 06.05.06 09:11 (Sat, 6 May 2006 10:11:41 +0200)
From: Marcel
Dear Charles!

I am sorry, I can't help. But I am interested in using such an
object. Can you tell me where you found it?

Thanks,
Marcel

On 05.05.2006, at 20:00, Charles Ross wrote:

> I have found the DWSearchField object to add a Safari type search
> field to my application.

_______________________________________________
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>

Re: DWSearchField
Date: 06.05.06 18:05 (Sat, 6 May 2006 10:05:54 -0700)
From: Charles Ross
You can find the web site that hosts it at http://www.darkworks.it/
or download it directly from http://www.darkworks.it/lib/dl.php?d9
development/realbasic&fðles/DW_SearchField221.zip. There are many
other custom controls, classes and modules available at the site, all
of which I believe are open source.

Since DWSearchField is open source, I did take a closer look, and the
control uses a subclass of ContextualMenu, so my question becomes,
how do I access the MenuItem members of a ContextualMenu object. If I
can access them as an array or something, then I can alter the
Checked property. Is this possible?

Thanks,
Chuck

_______________________________________________
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>





Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich