PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marty Francom on June 12, 2005, 01:27:03 AM

Title: Having problems checking the state of a check box control
Post by: Marty Francom on June 12, 2005, 01:27:03 AM
I get a syntax error when compiling,  the followin is what generates the
error.  I look at the help file but couldnot find an example of how to call
this function. How should I code ths?


   If Function FF_Control_GetCheck (HWND_FORM3_CKDEBUG) = %true Then
     debug$ = "Y"
   End If
Title: Having problems checking the state of a check box control
Post by: Roger Garstang on June 12, 2005, 01:49:55 AM

If FF_Control_GetCheck (HWND_FORM3_CKDEBUG) = %true Then
  debug$ = "Y"
End If


or


If FF_Control_GetCheck (HWND_FORM3_CKDEBUG) Then debug$ = "Y"
Title: Having problems checking the state of a check box control
Post by: Marty Francom on June 12, 2005, 02:07:46 AM
Duh....  Copy past does have its gotchas...  I should have seen that..
Thanks for pointing out my obvious error...