Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #34094

Re: Scrollable Popup Menu Keyboard Navigation

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Scrollable Popup Menu Keyboard Navigation
Date 2016-04-08 20:39 +0000
Organization A noiseless patient Spider
Message-ID <ne94t4$dhg$2@dont-email.me> (permalink)
References (2 earlier) <12b619c7-c6ba-4eb6-a064-e0b992b0c785@googlegroups.com> <ne8il1$v2$1@dont-email.me> <b5b0a40b-6f31-4055-a923-832c47944f2c@googlegroups.com> <ne8mcu$dhg$1@dont-email.me> <7aec131f-7f4f-4ff3-a565-9eb327ea7c18@googlegroups.com>

Show all headers | View raw


On Fri, 08 Apr 2016 11:07:51 -0700, Eric Douglas wrote:

> On Friday, April 8, 2016 at 12:34:53 PM UTC-4, Jeff Higgins wrote:
>> I'd suggest examining the code and documentation of the classes that
>> you are attempting to make use of to gain an understanding of how they
>> work and why they work as they do rather than relying on cut/paste
>> cargo cult programming. What does home, end, pgup, pgdn, left, right,
>> up, down mean to a generic scrollbar? A generic menu? How are those
>> ideas implemented or not in the classes you are attempting to use? What
>> should they mean in your scrollbar, menu?
> 
> The cut and pasting is irrelevant.  I understand the code I pasted, I
> know it doesn't have anything in it to tell the control what to do on a
> down arrow keypress.

You may well understand the code you posted. You obviously don't 
understand the code that others have written and that you are attempting
to use. If a down arrow keypress does indeed have an affect then it is in
the code and may even be documented. It is in your interest to understand
the code you are using.

> Do you have answers or are you just here to
> criticize?  A forum is useless if you're just going to make people sorry
> they bothered to ask a question.

I've asked a lot of questions on c.l.j.p and got some good answers and
some not so good. I have also answered a lot of questions here, some of
my answers may have been better than others. Does my suggestion, that you
read the code, documentation, and tutorials make you feel sorry that you
bothered to ask the question? Do you really want me to read the relevant
code, documentation, and tutorials for you?

> Is the scroll bar object telling the popup menu object to scroll down
> one menu item on a down arrow keypress?

What do the code, documentation and tutorials say?

> Why then does it tell it to do
> nothing on page down?

The code and documentation may not be explicit here. Ask the author.

> Are you pointing me to answers or repeating my
> questions?

I hope that I am pointing a way forward.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-07 12:21 -0700
  Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-08 00:12 +0000
    Re: Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-08 04:29 -0700
      Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-08 15:27 +0000
        Re: Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-08 08:52 -0700
          Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-08 16:31 +0000
            Re: Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-08 11:07 -0700
              Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-08 20:39 +0000
                Re: Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-08 14:00 -0700
                Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-08 21:43 +0000
                Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-09 11:46 +0000
                Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-08 22:33 +0000
                Re: Scrollable Popup Menu Keyboard Navigation Robert Klemme <shortcutter@googlemail.com> - 2016-04-10 11:20 +0200
          Re: Scrollable Popup Menu Keyboard Navigation Robert Klemme <shortcutter@googlemail.com> - 2016-04-10 11:20 +0200
            Re: Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-11 05:00 -0700
  Re: Scrollable Popup Menu Keyboard Navigation Jeff Higgins <jeff@invalid.invalid> - 2016-04-08 23:09 +0000
    Re: Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-11 05:13 -0700
    Re: Scrollable Popup Menu Keyboard Navigation Fredrik Jonson <fredrik@jonson.org> - 2016-04-18 08:50 +0000
      Re: Scrollable Popup Menu Keyboard Navigation Eric Douglas <e.d.programmer@gmail.com> - 2016-04-18 05:00 -0700
  Re: Scrollable Popup Menu Keyboard Navigation Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-07 16:58 +0000

csiph-web