Home » Community » Newbie corner » The Mysterious checkbox (I am positively confused by the Check box (a.k.a Option) control)
Re: The Mysterious checkbox [message #55609 is a reply to message #55567] |
Mon, 23 November 2020 23:21 |
|
Klugier
Messages: 1076 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Stevo and Oblivion,
I added exemplary usage to our Option documentation. I hope it will help, also thanks Stevo for the question. It is valuable information that the description might be misleading for new users and API is not so easy to use.
I would like to also proposed some improvements to Option API to be more verbose - should be much more easier to understand:
bool IsChecked(); // value == 1
bool IsUnchecked() // value == 0
bool IsInderminate(); // value == Null
I am probably more liberal than Mirek and I would like to see more alternatives to operator overload.
Klugier
U++ - one framework to rule them all.
[Updated on: Mon, 23 November 2020 23:25] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 05 16:07:10 CEST 2024
Total time taken to generate the page: 0.01990 seconds
|