[prev in list] [next in list] [prev in thread] [next in thread]
List: gambas-user
Subject: Re: [Gambas-user] Direct assignment to arrays of inherited classes does not work
From: <gambas () users ! sourceforge ! net>
Date: 2014-09-22 16:21:25
Message-ID: 54204C85.1080501 () users ! sourceforge ! net
[Download RAW message or body]
Le 22/09/2014 18:09, Fabien Bodard a écrit :
> strange...
>
> has we can say Control = TextBox ... no ?
>
No, it's the other way.
TextBox inherits Control, so you can assing a TextBox to a Control
variable, but not the contrary.
[...] returns a native array, so you can't assign it to a variable whose
datatype is a class that inherits that native array.
We need the ability to implement an automatic conversion functions
directly in Gambas, not just in C/C++. I won't do that now!
--
Benoît Minisini
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic