Hello Pritpal

Pritpal Bedi escribió:

Hello Angel


Perhaps xbpBrowse() is the toughest of all. I did not see the class structure yet but it appears to be tough. Probbaly next week
I will start its implementation.

Sure it is complex, but I'm confident you can do it ;)

BTW, do you have any complex code for an event loop?

   DO WHILE ....
       nEvent := AppEvent( ... )

       if nEvent ....
endif oXbp:handleEvent(...)
   ENDDO

I need to know what type of structure it may have .
I do not want to guess. I need some real code.

Regards
Pritpal Bedi

Well, good programming practices recommend to keep eventloop as clear as possible. An only 1 eventloop per thread. The most complex one I have, has a do case structure with 2 or 3 options and abolute no procesing inside de loop. Events need to be processed as soon as posible to keep a smooth program operation.
I'm an old TopDown user and I follow strictly all Clayton's directives.
Nevertheless I'will look among all my programs for the most compplex eventloop and post it here.

Best Regards
Angel

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to