change object class

Imperatorn johan_forsberg_86 at hotmail.com
Thu Sep 21 18:19:47 UTC 2023


On Sunday, 17 September 2023 at 15:05:59 UTC, Vitaliy Fadeev 
wrote:
> Hi!
> I want to change a method ```Draw``` on a custom object when 
> the ```MouseIn``` event occurs.
> This is known as "Change State" of the object: ```Init``` -> 
> ```Hovered```.
>
> [...]

Interesting, but why would you want to do it that way? 😳


More information about the Digitalmars-d-learn mailing list