CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

ToggleButton Sync Problem

General discussion

by dfields » 19 Apr 2014 19:46

I am using multiple toggle buttons on the same form. I am able to dynamically set their values as needed in asynchronous events. I have a procedure that is completed when the user clicks a button to close it. That button has a synchronous OnClick event that saves data back to a table. When that button is clicked I receive an error message saying that
"" is not a valid Boolean value
. That message is generated once for each toggle button on the form.

The error occurs before my code in that event is reached. As soon as I remove the toggle buttons, and comment out the related code everything works as expected. All I have to do is drop a toggle button on the form and I get that error in the synchronous event. Is there a setting that has to be changed for the toggle button?
dfields
 
Posts: 130
Joined: 24 Jul 2013 20:14

by Alexander Bulei » 21 Apr 2014 15:22

Hi dfields,

Please send us the simple test case.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 22 Apr 2014 14:34

Hi dfields,

We added the protection in V2.0.0.3545.

Thanks

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to General - Archive

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.