tsteward Well-Known Member Licensed User Longtime User Jul 9, 2020 #1 Is it possible to have a 3 way check box? As in Unchecked, Positive (Tick) or Negative (Cross)
E emexes Expert Licensed User Longtime User Jul 9, 2020 #2 Well, there are plenty of no-tick/gray-tick/full-tick examples, so clearly it should be possible. I expect if you generalize a bit further to a multi-state button that cycles through the states click by click, you'll find something that does the job. Last edited: Jul 9, 2020 Upvote 0
Well, there are plenty of no-tick/gray-tick/full-tick examples, so clearly it should be possible. I expect if you generalize a bit further to a multi-state button that cycles through the states click by click, you'll find something that does the job.
E emexes Expert Licensed User Longtime User Jul 9, 2020 #3 or as a first-draft homebrew, you could roll your own using a regular label, advance it one step through the sequence on each click, eg: Code: Sub Label1_MouseClicked (EventData As MouseEvent) Dim Sequence As String = "☐☑☒☐" 'Unicode characters, but you could probably use FontAwesome instead. Label1.Text = Sequence.CharAt(Sequence.IndexOf(Label1.Text) + 1) End Sub In fact, you could change the color too ? or even use Unicode emojis eg: ??? Upvote 0
or as a first-draft homebrew, you could roll your own using a regular label, advance it one step through the sequence on each click, eg: Code: Sub Label1_MouseClicked (EventData As MouseEvent) Dim Sequence As String = "☐☑☒☐" 'Unicode characters, but you could probably use FontAwesome instead. Label1.Text = Sequence.CharAt(Sequence.IndexOf(Label1.Text) + 1) End Sub In fact, you could change the color too ? or even use Unicode emojis eg: ???
tsteward Well-Known Member Licensed User Longtime User Jul 9, 2020 #4 I didn't even think of the Fontawesome images. Thank you Upvote 0