Re: Forms: Pushbuttons and typing the Enter key

From: DA Morgan <damorgan_at_exesolutions.com>
Date: Mon, 10 Feb 2003 11:24:50 -0800
Message-ID: <3E47FC82.8168FEDB_at_exesolutions.com>


Rolf Unger wrote:

> rolf.unger_at_ctilabs.de (Rolf Unger) wrote in message news:<32fe19ad.0302041250.6e08de0a_at_posting.google.com>...
> > Hi all,
> >
> > I have a simple one block canvas:
> > One text field and two pushbuttons [ Ok ] and [ Cancel ].
> >
> > Now I wonder why Forms 5.0 behaves so strange.
> >
> > I input some text into the text field, press the tab key to navigate to
> > [ Ok ], Ok-Button has the focus now, so in any other Windows-Application I
> > would expect, that I can hit [return] and "A-Button-is-clicked" message is
> > send to the application. But not in FORMS! I have to grab the mouse and
> > click on the Ok-Button to do the job.
> >
>
> Arrgh, I figured it out ...
> All my triggers were WHEN-MOUSE-CLICK triggers for the push buttons and
> not WHEN-BUTTON-PRESSED triggers.
>
> And to be fair I have to admit, that it is noted in the Dev2000 Help docs.
> But still if you jump as a Forms novice on a running project to maintain
> the code of somebody else you just don't suspect that WHEN-MOUSE-CLICK is
> terribly wrong. And what's more, it was used for nearly all buttons.
>
> So here is my point: Why is Oracle*Forms such a sucking Copy'n'Paste Tool?!
> You cannot re-use blocks on several canvases ... because if you do, they
> will not initialise properly. So you start Cut'n'Pasting ... because it's
> so simple and handy and you start spreading logical errors.
>
> Or Visual attributes for prompts? In my Forms 5.0 they appear different
> in the Form Builder and in the Form-Runtime (On the same computer, so i do
> not miss any fonts and the like)!
>
> I'm done, Rolf.

Oracle Forms, just like every other programming environment (C, C++, Java, Cobol) assumes someone has taken a class or worked through tutorials and leaned to work with the tool before banging code.

You wouldn't try to fly an airplane without lessons. You wouldn't try to practice medicine without going to medical school. You wouldn't start writing an XML application without knowing XML. Why assume this to be any different.

Not to insult you I am reminded that every time something is made idiot proof they come up with better idiots. My point being that no programming tool can make up for not investing the effort required to learn it before putting it to use. Take a class from Oracle, or the University of Washington, or others and learn how it works. It will not just improve your skills ... it will make you more marketable.

Daniel Morgan Received on Mon Feb 10 2003 - 20:24:50 CET

Original text of this message