1. Jesper Trebbien
  2. PowerBuilder
  3. Friday, 17 May 2024 09:49 AM UTC

Hi 

I try to check / uncheck datawindow checkbox editcontrol from program. 

When I change the value with SetText() the datavalue changes but it doesn't effect the checkbox state.

Hope for help.

BR Jesper 

Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Friday, 17 May 2024 10:15 AM UTC
  2. PowerBuilder
  3. # 1

Hi Jesper,

I assume this is a DW column with the CheckBox edit style? To toggle the checkox' state, you have to use setitem to set the column's value to whatever you have "Data Value for On" (or Off) set to.

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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.