Having problems checking the state of a check box control

Started by Marty Francom, June 12, 2005, 01:27:03 AM

Previous topic - Next topic

Marty Francom

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

Roger Garstang


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


or


If FF_Control_GetCheck (HWND_FORM3_CKDEBUG) Then debug$ = "Y"

Marty Francom

Duh....  Copy past does have its gotchas...  I should have seen that..
Thanks for pointing out my obvious error...