1. Jim Klocksin
  2. PowerBuilder
  3. Tuesday, 3 September 2019 20:42 PM UTC

I use a lot of checkboxes in my PB applications, but I've never had the need for a "3-state" checkbox until now.  The programming syntax seems pretty straightforward, but, in my application, the control is NOT working as expected.  Is there anything special or unique regarding this control when used as a "3-state" control?

Olan Knight Accepted Answer Pending Moderation
  1. Tuesday, 3 September 2019 20:53 PM UTC
  2. PowerBuilder
  3. # 1

Jim -

   Whatversion of PB are you suing, and what is actualloy happening when the box is clicked the first time, second time, and third time?


Olan

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 4 September 2019 13:26 PM UTC
  2. PowerBuilder
  3. # 2

Hi Jim;

   Please use something like this to process the CheckBox (example code on "clicked event" of CBX) ...

IF THIS.thirdstate = TRUE THEN
   // Do something
else
   IF THIS.checked = TRUE THEN
      // Do another thing
   ELSE
      // Do last thing
   END IF
END IF


HTH
Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.