Navigation: ABC Library Reference > BrowseClass > BrowseClass Methods >====== TakeEvent (process the current ACCEPT loop event:BrowseClass) ====== | ![]() ![]() |
TakeEvent, VIRTUAL
The **TakeEvent **method processes the current ACCEPT loop event for the BrowseClass object. The TakeEvent method handles all events associated with the browse list except a new selection event. The TakeNewSelection method handles new selection events for the browse.
Implementation:
The WindowManager.TakeEvent method calls the TakeEvent method. The TakeEvent method calls the TakeScroll or TakeKey method as appropriate.
Example:
MyWindowManager.TakeEvent PROCEDURE
RVal BYTE(Level:Benign)
I USHORT,AUTO
** CODE**
** !procedure code**
** LOOP I = 1 TO RECORDS(SELF.Browses)**
** GET(SELF.Browses,I)**
** SELF.Browses.Browse.TakeEvent**
** END**
** LOOP i=1 TO RECORDS(SELF.FileDrops)**
** GET(SELF.FileDrops,i)**
** ASSERT(~ERRORCODE())**
** SELF.FileDrops.FileDrop.TakeEvent**
** END**
** RETURN RVal**
**See Also: **TakeKey, TakeNewSelection, TakeScroll, WindowManager.TakeEvent





