PC Review


Reply
 
 
Dartmoor Graham
Guest
Posts: n/a
 
      13th May 2009
I am using Excel2000. I have a UserForm containing a CheckBox with the
caption “Match case” and I want to set “c” as the accelerator key, all in the
same manner as “Find”. However, it is the first occurrence of “c” that
becoming underlined and not the second as in “Find”. This is less meaningful
as a mnemonic. What can I do about this?
 
Reply With Quote
 
 
 
 
Peter T
Guest
Posts: n/a
 
      13th May 2009
In other programs you'd position the accelerator like this (in say VB)
Match &case

However in VBA the accelerator will always find the first instance of the
letter. But maybe you could capitalise the C in Case and assign "C" as the
accelerator.

I have no idea what you mean by "same manner as Find" and "not the second as
in "Find", so I might have misunderstood your objective.

Regards,
Peter T


"Dartmoor Graham" <Dartmoor (E-Mail Removed)> wrote in
message news:8DFBBE78-484E-4237-8F58-(E-Mail Removed)...
>I am using Excel2000. I have a UserForm containing a CheckBox with the
> caption "Match case" and I want to set "c" as the accelerator key, all in
> the
> same manner as "Find". However, it is the first occurrence of "c" that
> becoming underlined and not the second as in "Find". This is less
> meaningful
> as a mnemonic. What can I do about this?



 
Reply With Quote
 
Dartmoor Graham
Guest
Posts: n/a
 
      13th May 2009


"Peter T" wrote:

> In other programs you'd position the accelerator like this (in say VB)
> Match &case
>
> However in VBA the accelerator will always find the first instance of the
> letter. But maybe you could capitalise the C in Case and assign "C" as the
> accelerator.
>
> I have no idea what you mean by "same manner as Find" and "not the second as
> in "Find", so I might have misunderstood your objective.
>
> Regards,
> Peter T
>
>
> "Dartmoor Graham" <Dartmoor (E-Mail Removed)> wrote in
> message news:8DFBBE78-484E-4237-8F58-(E-Mail Removed)...
> >I am using Excel2000. I have a UserForm containing a CheckBox with the
> > caption "Match case" and I want to set "c" as the accelerator key, all in
> > the
> > same manner as "Find". However, it is the first occurrence of "c" that
> > becoming underlined and not the second as in "Find". This is less
> > meaningful
> > as a mnemonic. What can I do about this?

>
>
> Peter T


Sorry if I was unclear. I was referring to the "Find" window in Excel that
is spawned either from Ctrl+F or via the Edit menu. That contains a "Match
case" CheckBox but Microsoft have somehow managed to underscore the second
"c", the one that starts the word "case", without needing to capitalise it.
This is much more meaningful than underscoring the "c" in Match. All I want
to do is the same thing.

I fear that your answer "in VBA the accelerator will always find the first
instance of the letter" is telling me that, in fact, I cannot do it in VBA
unless I am prepared to capitalise the second "c". This is a pity because I
was hoping to use the Microsoft style precisely.

A negative answer is always useful, even if disappointing, because it will
save me spending more time looking for a solution that doesn't exist.
 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      13th May 2009
OK I follow now. The examples you refer to will use something like the "&"
prefix to define the accelerator, as I mentioned. Did you try the upper case
C idea for your particular caption.

Regards,
Peter T

"Dartmoor Graham" <(E-Mail Removed)> wrote in
message news:9E567A5A-5EB0-461D-9D79-(E-Mail Removed)...
>
>
> "Peter T" wrote:
>
>> In other programs you'd position the accelerator like this (in say VB)
>> Match &case
>>
>> However in VBA the accelerator will always find the first instance of the
>> letter. But maybe you could capitalise the C in Case and assign "C" as
>> the
>> accelerator.
>>
>> I have no idea what you mean by "same manner as Find" and "not the second
>> as
>> in "Find", so I might have misunderstood your objective.
>>
>> Regards,
>> Peter T
>>
>>
>> "Dartmoor Graham" <Dartmoor (E-Mail Removed)> wrote in
>> message news:8DFBBE78-484E-4237-8F58-(E-Mail Removed)...
>> >I am using Excel2000. I have a UserForm containing a CheckBox with the
>> > caption "Match case" and I want to set "c" as the accelerator key, all
>> > in
>> > the
>> > same manner as "Find". However, it is the first occurrence of "c" that
>> > becoming underlined and not the second as in "Find". This is less
>> > meaningful
>> > as a mnemonic. What can I do about this?

>>
>>
>> Peter T

>
> Sorry if I was unclear. I was referring to the "Find" window in Excel that
> is spawned either from Ctrl+F or via the Edit menu. That contains a "Match
> case" CheckBox but Microsoft have somehow managed to underscore the second
> "c", the one that starts the word "case", without needing to capitalise
> it.
> This is much more meaningful than underscoring the "c" in Match. All I
> want
> to do is the same thing.
>
> I fear that your answer "in VBA the accelerator will always find the first
> instance of the letter" is telling me that, in fact, I cannot do it in VBA
> unless I am prepared to capitalise the second "c". This is a pity because
> I
> was hoping to use the Microsoft style precisely.
>
> A negative answer is always useful, even if disappointing, because it will
> save me spending more time looking for a solution that doesn't exist.



 
Reply With Quote
 
Dartmoor Graham
Guest
Posts: n/a
 
      13th May 2009
Hi Peter T

Yes, and I can confirm for the benefit of other readers that this does work.
It's just disappointing that I can't make my UserForm look exactly like the
Microsoft one. However, you have saved me the time of looking further so
thank you for that.

Dartmoor Graham

PS I even tried deriving the first lowercase "c" from the Cyrillic alphabet
by copying and pasting one from Word, but that just resulted in a question
mark!

"Peter T" wrote:

> OK I follow now. The examples you refer to will use something like the "&"
> prefix to define the accelerator, as I mentioned. Did you try the upper case
> C idea for your particular caption.
>
> Regards,
> Peter T
>
> "Dartmoor Graham" <(E-Mail Removed)> wrote in
> message news:9E567A5A-5EB0-461D-9D79-(E-Mail Removed)...
> >
> >
> > "Peter T" wrote:
> >
> >> In other programs you'd position the accelerator like this (in say VB)
> >> Match &case
> >>
> >> However in VBA the accelerator will always find the first instance of the
> >> letter. But maybe you could capitalise the C in Case and assign "C" as
> >> the
> >> accelerator.
> >>
> >> I have no idea what you mean by "same manner as Find" and "not the second
> >> as
> >> in "Find", so I might have misunderstood your objective.
> >>
> >> Regards,
> >> Peter T
> >>
> >>
> >> "Dartmoor Graham" <Dartmoor (E-Mail Removed)> wrote in
> >> message news:8DFBBE78-484E-4237-8F58-(E-Mail Removed)...
> >> >I am using Excel2000. I have a UserForm containing a CheckBox with the
> >> > caption "Match case" and I want to set "c" as the accelerator key, all
> >> > in
> >> > the
> >> > same manner as "Find". However, it is the first occurrence of "c" that
> >> > becoming underlined and not the second as in "Find". This is less
> >> > meaningful
> >> > as a mnemonic. What can I do about this?
> >>
> >>
> >> Peter T

> >
> > Sorry if I was unclear. I was referring to the "Find" window in Excel that
> > is spawned either from Ctrl+F or via the Edit menu. That contains a "Match
> > case" CheckBox but Microsoft have somehow managed to underscore the second
> > "c", the one that starts the word "case", without needing to capitalise
> > it.
> > This is much more meaningful than underscoring the "c" in Match. All I
> > want
> > to do is the same thing.
> >
> > I fear that your answer "in VBA the accelerator will always find the first
> > instance of the letter" is telling me that, in fact, I cannot do it in VBA
> > unless I am prepared to capitalise the second "c". This is a pity because
> > I
> > was hoping to use the Microsoft style precisely.
> >
> > A negative answer is always useful, even if disappointing, because it will
> > save me spending more time looking for a solution that doesn't exist.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MSN Accelerator =?Utf-8?B?UmFuRUQ=?= Windows XP General 3 7th Feb 2007 03:40 AM
Re: Web Accelerator Michael Solomon \(MS-MVP\) Windows XP Accessibility 0 13th Apr 2005 10:12 PM
no 3D accelerator Pete Connelly Windows XP Performance 1 19th Jun 2004 09:20 PM
3D Accelerator =?Utf-8?B?VG9yaQ==?= Windows XP Games 7 28th Jan 2004 06:03 PM
VGA/GUI Accelerator Doug Windows XP Hardware 1 31st Aug 2003 11:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 PM.