` Printed Icetips Article

Icetips Article



Par2: ABC: Sequence of events
2002-02-08 -- Dennis Evans
 
There is a learning curve with ABC but it is not really all that bad,
no more so than when you started with Clarion.   A lot of folks claim the
legacy stuff is simpler to understand have probably been using it for some
time and many came from the DOS versions, they had a pretty good head start.
The main advantage to ABC is once you get done with the 70 percent  cookie
cutter stuff,  ABC is much simpler to alter, with inheritance or deriving
objects.
Actually one of the two or three real advantages to OOP is up front anyway
not in individual methods or procedures.  Interfaces are very cool also but
take a little practice.
.
One little note to help with learning ABC memorize this sequence,

  run
    ask
  kill

 Ask method is
 accept
    takeevent
 end

This is the important one,

   TakeEvent
      TakeWindowEvent
      TakeAccepted
      TakeSelected
      TakeNewSelection
      Alert key events
      TakeFieldEvent
       Component TakeEvent  ! calls browse class file drop takeevent
        Component ResetRequired ?   ! resets window
   end

    keep the sequence that events are handled in mind, once you get that
sequence in your head  life will get real easy.



Printed November 21, 2024, 11:37 am
This article has been viewed/printed 35206 times.