PureBytes Links
Trading Reference Links
|
<In AmiBroker there is one more level: as AFL editors are embedded
into dialogs (Automatic Analysis, Indicator Builder, Commentary) the
dialog window has to get the focus first.>
I just tested the Wordpad experiment and found out what the problem is
that requires 3 mouse clicks to anchor the cursor at a desired new
location when changing focus.
If you are in Wordpad and click on the AA window TITLE BAR, then the
AA dialog window gets focus and only one (1) more mouse click is
required to position the cursor.
HOWEVER... If you are in Wordpad and click inside the Code window of
the AA dialog window, it only gives the FALSE IMPRESSION that the AA
dialog window has focus. At this point look closely and you will
notice that the Title Bars of both the Main Chart Window and the AA
dialog window are both bright blue, and you will also notice that you
cannot see the blinking cursor in the AA window (indicating that it
does not have focus). Then when you click the 2nd time in the AA Code
window you will observe that the Title Bar of the main chart window
dims, indicating that focus just moved away from the main chart
window. At this point, the blinking cursor in the AA window appears
(indicating that the AA window just got focus). And finally, now a
third click is required to anchor the cursor to the desired edit/entry
position.
So three clicks are required if you do not click on the AA Title Bar.
TJ... can your code give focus to the AA dialog when the code window
receives a mouse click?
Thanks to all for helping diagnose this condition.
Phsst
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Hello,
>
> One thing more: launch a WordPad (Start->Program
Files->Accessories->WordPad).
> Then switch to some other application and then click on WordPad again.
> You will see that cursor STAYS AT PREVIOUS POSITION.
> And another click is needed to move it to a new place.
>
> You can try this also with Word and any other text editor. You
always need to
> activate the application first.
>
> In AmiBroker there is one more level: as AFL editors are embedded
into dialogs
> (Automatic Analysis, Indicator Builder, Commentary) the dialog window
> has to get the focus first.
>
> This is how Microsoft Windows works. It is not my design. Sorry.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "Tomasz Janeczko" <amibroker@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, February 28, 2003 3:27 PM
> Subject: Re: [amibroker] Re: TJ... take a look. Am I the only one
with an editor problem
>
>
> > Ken,
> >
> > I meant working with AMIBROKER and having focus outside AFL editor
> > but INSIDE AMiBroker (on the chart for example).
> >
> > If you switch COMPLETELY OUTSIDE AmiBroker it is obvious
> > that you have to activate the application first (there are many ways:
> > Alt+TAB, clicking on the task bar, etc).
> >
> > This is basic way of operation and every windows application needs
> > to be activated if you were working with different application and
> > want to switch back.
> >
> > But... this is not what we were talking about I guess.
> > Phsst suggested that he needs to click many times when working inside
> > AmiBroker.
> >
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message -----
> > From: "Ken Close" <closeks@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Friday, February 28, 2003 3:10 PM
> > Subject: RE: [amibroker] Re: TJ... take a look. Am I the only one
with an editor problem
> >
> >
> > > Tomasz: you may disagree and you are the author of the program,
but my
> > > observation is when the focus is outside the AA window (in another
> > > program not within AB itself), clicking three times may be
necessary. I
> > > just did it 10 times. With the focus on another window (say
this email
> > > window), the first click in the AA window brings the focus to the AA
> > > window. The second click puts the cursor AT ITS PREVIOUS
POSITION. If
> > > this is where you want to type, then two clicks does it. If
your mouse
> > > cursor is positioned at a different point from the last location
of the
> > > edit cursor, then a THIRD click is necessary to begin entering text
> > > where you want it.
> > >
> > > Having done it for an 11th time with the same result, I still
reserve
> > > the right to be wrong as you are usually always right, but...who
> > > cares....the original post said Phsst had problems with
apparently only
> > > one click. So...he should try two or three or four....but if
the habit
> > > is developed, one will not inadvertently enter text in the wrong
> > > location.
> > >
> > > Ken
> > >
> > > -----Original Message-----
> > > From: Tomasz Janeczko [mailto:amibroker@x...]
> > > Sent: Friday, February 28, 2003 8:38 AM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: Re: [amibroker] Re: TJ... take a look. Am I the only
one with
> > > an editor problem
> > >
> > > Ken,
> > >
> > > I have to disagree. At max. two clicks are be necessary ONLY if
focus
> > > is OUTSIDE of AFL editor. If focus is inside AFL editor - one
click.
> > >
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message -----
> > > From: "Ken Close" <closeks@xxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Friday, February 28, 2003 2:23 PM
> > > Subject: RE: [amibroker] Re: TJ... take a look. Am I the only
one with
> > > an editor problem
> > >
> > >
> > > > Nick/Phsst: I noticed a long time ago that I must left click
THREE
> > > (3)
> > > > times at a location in the AA window to anchor the cursor and
have it
> > > > where I want to type.
> > > >
> > > > First click if coming from another window (another program).
> > > > Second click places the cursor at the very beginning of the AA
window
> > > > (even if I have clicked down in the code)
> > > > Third click positions the cursor at the point of desired entry.
> > > >
> > > > Try it. Three clicks.
> > > >
> > > > Ken
> > > >
> > > > -----Original Message-----
> > > > From: Nick Molchanoff <nkm@xxxx> [mailto:nkm@x...]
> > > > Sent: Friday, February 28, 2003 1:07 AM
> > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > Subject: [amibroker] Re: TJ... take a look. Am I the only one
with an
> > > > editor problem
> > > >
> > > > Phsst,
> > > >
> > > > You are not alone. I too have had this issue, and it is indeed
> > > > maddening. It wasn't always like this; this behaviour appeared
> > > > after one of the new beta's. I reported it at the time, but
never
> > > > got a reply from anyone, so I've just been living with it, and
trying
> > > > to be more careful.
> > > >
> > > > So, while I can't help solve this, I can at least validate
that it
> > > > isn't just you.
> > > >
> > > > Best Regards,
> > > >
> > > > NIck Molchanoff
> > > >
> > > >
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, "Phsst <phsst@xxxx>"
<phsst@xxxx>
> > > > wrote:
> > > > > Tonight I finally reached 'critical mass' with a chronic
problem on
> > > > my
> > > > > system related to the editor windows in both AA and Indicator
> > > > Builder
> > > > > in Amibroker.
> > > > >
> > > > > While editing AA AFL or Indicator Builder AFL, I point my mouse
> > > > > pointer to a location where I want to begin editing/keying,
and in
> > > > > order to anchor the actual cursor at that location I LEFT
CLICK my
> > > > > mouse so that I can begin editing/entering data at that exact
> > > > location
> > > > > in the editor window where the Cursor is blinking.
> > > > >
> > > > > Since my cursor is still blinking at the desired location, I
begin
> > > > > keying in the new code that I want... and after keying 5 or
6 or
> > > > more
> > > > > characters into the keyboard I look at the editor window and
realize
> > > > > that NOTHING I keyed in has appeared in the editor window
where I
> > > > had
> > > > > intended the new code to appear.
> > > > >
> > > > > Then a sickening revelation overcomes me that the mouse
pointer has
> > > > > failed to re-position where I clicked for data entry
purposes, and
> > > > > that I have just keyed in some programming keystrokes into an
> > > > unknown
> > > > > location in the AFL code where the REAL MOUSE IS POSITIONED,
and
> > > > that
> > > > > somewhere out of my vision in my editor window I have
probably just
> > > > > corrupted a line of code that I cannot see.
> > > > >
> > > > > This happens repeatedly, and even when I try to verify that the
> > > > mouse
> > > > > pointer is correctly positioned in the editor window when I LEFT
> > > > > CLICK, I get fooled by not realizing that the current mouse
blinking
> > > > > location does not actually represent the current actual mouse
> > > > pointer
> > > > > for data entry purposes.
> > > > >
> > > > > I am beginning to think that this a problem with a 3rd party
tool
> > > > that
> > > > > is used in the Amibroker development environment. I use a
notebook
> > > > > with a touchpad.
> > > > >
> > > > > Am I the only one with this problem? And if not, do I need
to report
> > > > > this as a problem to TJ?
> > > > >
> > > > > Regards,
> > > > >
> > > > > Phsst
> > > >
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > --------------------------------------------
> > > > Check group FAQ at:
> > > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > > > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > --------------------------------------------
> > > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > --------------------------------------------
> > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > --------------------------------------------
> > > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >
------------------------ Yahoo! Groups Sponsor ---------------------~-->
New Yahoo! Mail Plus. More flexibility. More control. More power.
Get POP access, more storage, more filters, and more.
http://us.click.yahoo.com/Hcb0iA/P.iFAA/46VHAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|