2010/1/19 Doriano Blengino <[email protected]>:

> I think that setting up a flag won't hurt anyway, even if it is ugly.
> The whole GUI world (not only gambas) seems to have this kind of
> mentality (to raise an event in response to modifications made by code),

1) Flags are necessary in any GUI.

2) Events caused by code should fire as if the user had performed the function.

Otherwise the performing code would have to emulate the control's
event sequence and there goes OO encapsulation. not to mention the
need to write unnecessary and oft-repeating code.

HTH

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to