[Gambas-user] [Gambas-Notification] [Git][gambas/gambas][master] DataComboView: Add parameter to signature of Event Validate
Benoît Minisini
g4mba5 at gmail.com
Tue Jul 16 00:32:37 CEST 2019
Le 15/07/2019 à 18:13, Tobias Boege a écrit :
> 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
>
Yes, the compiler apparently does not check that Raise arguments and
event declaration match.
I will update the wiki info files.
--
Benoît Minisini
More information about the User
mailing list