On 1/9/2013 14:27 Staffan Tylen said:
> Aah, it was that simple, don't know why it didn't make sense to me :(
>

That is because the sentence has a "misplaced modifier", a chronic 
condition in contemporary English.  And when it comes to clarity, 
there are few more insidious traps than the "only" adverb in the wrong 
place.

In this case, the sentence should read:

/The list box sends the DBLCLICK, SELCHANGE, and SELCANCEL event 
notifications only when it has the NOTIFY style./

The way it is documented now, the list box does nothing but send the 
three events.  I feel sure that it must do other things as well, but 
according to the sentence, the list box does nothing else.

Consider the following quote from someone who was asked how he lost 
weight:

   "I only ate celery."

He didn't see them, cut them, blog about them, or anything else but 
eat them.

   "I ate only celery."

He ate nothing but celery.  Probably what he meant, although "I ate 
celery only" would have worked just as well.

   "Only I ate celery."

No one else ate them.  By implication, no one else lost weight.

And that was in a simple declarative sentence of three words.  Throw 
in a couple of dependent clauses and you can change a sentence to say 
the exact opposite of what you mean.

And yes, this is one of my hot-buttons.  Also, it's one of the reasons 
the ANSI Standard for Rexx was written primarily in Rexx.  English is 
simply not up to the task, in many cases.

-Chip-

> On Wed, Jan 9, 2013 at 8:17 PM, Mark Miesfeld <miesf...@gmail.com
> <mailto:miesf...@gmail.com>> wrote:
>
>     On Wed, Jan 9, 2013 at 10:35 AM, Staffan Tylen
>     <staffan.ty...@gmail.com <mailto:staffan.ty...@gmail.com>> wrote:
>
>         I find the description of the NOTIFY option of the
>         createListBox method somewhat confusing. It says:
>
>         /The list box only sends the DBLCLICK, SELCHANGE, and
>         SELCANCEL event notifications when it has the NOTIFY style.
>         All other event notifications are always sent./
>
>         What does this really mean? "... only sends .... are always
>         sent" - I don't get the logic in this.
>
>
>     What this means is that if a list box that does not have the
>     NOTIFY style, (the LBS_NOTIFY style,) there will not be any double
>     click, selection change, or selection cancel notifications
>     generated by the list box. So connecting those events will not do
>     anything, unless you give the list box the NOTIFY style.
>
>     The list box always generates all other event notifications, so if
>     you connect any of the other events, you do not need to do
>     anything special.


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to