Re: "prompted selection" ?
From: Old Lars (lsulky_at_home.com)
Date: 05/05/04
- Next message: Doug Robbins - Word MVP: "Re: Retrieving a Userform and Error during autonew"
- Previous message: Old Lars: "shortcut menus"
- In reply to: Jay Freedman: "Re: "prompted selection" ?"
- Messages sorted by: [ date ] [ thread ]
Date: 5 May 2004 14:24:19 -0700
Thanks very much, Jay.
I tested this on Windows and Mac, and it worked exactly as you
describe on Windows.
On the Mac, for complete matching, it just shows what I type and
nothing else; but if I try first letter matching, it shows only the
current letter that I've just typed, as though trying to match up
first letters. Clearly it's TRYING to work, and the object browser
indicates that it SHOULD work. But it doesn't: prompting and scrolling
just don't happen. I tried hardcoding the numeric values as well, but
same thing. This is MacWord 2001 on OS9.2.
-----------
"Jay Freedman" <jay.freedman@verizon.net> wrote in message news:<uOTp8$qMEHA.1188@TK2MSFTNGP12.phx.gbl>...
> The behavior you described is controlled by the .MatchEntry property of the
> ComboBox or ListBox control. The possible values, as listed in the Help,
> are:
>
> fmMatchEntryFirstLetter = 0
> Basic matching. The control searches for the next entry that starts with the
> character entered. Repeatedly typing the same letter cycles through all
> entries beginning with that letter.
>
> fmMatchEntryComplete = 1
> Extended matching. As each character is typed, the control searches for an
> entry matching all characters entered (default).
>
> fmMatchEntryNone = 2
> No matching.
>
> I don't have a Macintosh to look at, but it's possible that the controls
> there default to one of the other two values -- probably
> fmMatchEntryFirstLetter, or 0 -- instead of fmMatchEntryComplete. You can
> put a statement like this in either the UserForm_Initialize() or the
> UserForm_Activate() procedure to force it to match the way you want:
>
> cbxList.MatchEntry = fmMatchEntryComplete
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org
>
- Next message: Doug Robbins - Word MVP: "Re: Retrieving a Userform and Error during autonew"
- Previous message: Old Lars: "shortcut menus"
- In reply to: Jay Freedman: "Re: "prompted selection" ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|