[Gambas-user] [Gambas-Notification] [Git][gambas/gambas][master] DataComboView: Add parameter to signature of Event Validate

Tobias Boege taboege at gmail.com
Mon Jul 15 18:13:50 CEST 2019


On Mon, 15 Jul 2019, Tobias Boege via Notification wrote:
> Commits:
> 77fdca92 by Tobias Boege at 2019-07-15T16:03:31Z
> DataComboView: Add parameter to signature of Event Validate
> 
> [GB.DB.FORM]
> * BUG: DataComboView: Add parameter to signature of Event Validate
> 

Benoît: The Validate event has a Value As Variant parameter according
to how the event is raised. Apparently it isn't necessary for the
compiler and interpreter to declare the parameter of an event, but
the /wiki/ needs it in order for the documentation to make sense.
Currently you see this in DataComboView's Validate event page:

  Event Validate ( )

  Raised when the contents of the control needs to be validated.
  Value is the value of the control.

Would you please have the server take in the new .info file or how-
ever the @{syntax} command works?

Should the compiler complain if an event is raised with the wrong
number or type of arguments according to the declared signature?

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk


More information about the User mailing list