User Tools

Site Tools


takeevent_process_the_current_accept_loop_event_browseclass_.htm
Navigation:  ABC Library Reference > BrowseClass > BrowseClass Methods >====== TakeEvent (process the current ACCEPT loop event:BrowseClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

TakeEvent, VIRTUAL

blk2blue.jpg

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

takeevent_process_the_current_accept_loop_event_browseclass_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1