Conversation
Notices
-
Code lines that are not avoidable: butt.isEnabled = true; (Enabling a button)
Monday, 13-Jan-20 09:38:51 UTC from web- Scribus and Jonathan Chouinard like this.
-
@adiwan Directly modifying the properties of an object?! No thank you! Use getters and setters. butt.enable();
Jonathan Chouinard likes this. -
@oracle butt.setStatus(true);
Jonathan Chouinard likes this. -
@oracle This is a property (C#). So it is just a fancier way to make the same as void isEnabled(bool setValue) and bool isEnabled() but without the parenthesis.
Jonathan Chouinard likes this. -
@adiwan C# is honestly the best Java-like ever and this is one example why.
Jonathan Chouinard likes this.