Jul 9, 2002 #1 lashwarj IS-IT--Management Nov 1, 2000 1,067 US I have a check box that when clicked does the following THISFORM.TEXT1.ENABLE=.T. This works great but I want it so if the users unclicks the box it goes back to dissabled.
I have a check box that when clicked does the following THISFORM.TEXT1.ENABLE=.T. This works great but I want it so if the users unclicks the box it goes back to dissabled.
Jul 9, 2002 #2 Mike Gagnon Programmer Apr 6, 2002 8,067 CA in the click event of the check box try: THISFORM.TEXT1.ENABLED = !THISFORM.TEXT1.ENABLED Upvote 0 Downvote
Jul 9, 2002 #3 SMCmtg Programmer Mar 27, 2000 90 US Put in clickevent of the check box. . . IF somefield=.t. &&logic field in table thisform.sometext1.Enabled=.f. thisform.refresh ENDIF IF somefield=.f. thisform.sometext1.Enabled=.t. thisform.Refresh endif Hope this helps. Bill Upvote 0 Downvote
Put in clickevent of the check box. . . IF somefield=.t. &&logic field in table thisform.sometext1.Enabled=.f. thisform.refresh ENDIF IF somefield=.f. thisform.sometext1.Enabled=.t. thisform.Refresh endif Hope this helps. Bill
Jul 9, 2002 #4 rgbean Programmer Nov 9, 2000 5,707 US I'd suggest (assuming the checkbox it tied to a logical value): THISFORM.TEXT1.ENABLED = this.value Rick Upvote 0 Downvote
I'd suggest (assuming the checkbox it tied to a logical value): THISFORM.TEXT1.ENABLED = this.value Rick
Jul 9, 2002 #5 Eguy Programmer Dec 22, 2000 566 US THISFORM.TEXT1.ENABLE= IIF(THISFORM.CHECK1.VALUE=1,.T.,.F.) Ed Please let me know if the suggestion(s) I provide are helpful to you. Sometimes you're the windshield... Sometimes you're the bug. Upvote 0 Downvote
THISFORM.TEXT1.ENABLE= IIF(THISFORM.CHECK1.VALUE=1,.T.,.F.) Ed Please let me know if the suggestion(s) I provide are helpful to you. Sometimes you're the windshield... Sometimes you're the bug.
Jul 9, 2002 #6 Mike Gagnon Programmer Apr 6, 2002 8,067 CA eguy >>THISFORM.TEXT1.ENABLE= IIF(THISFORM.CHECK1.VALUE=1,.T.,.F.) I assume you meant THISFORM.TEXT1.ENABLED Upvote 0 Downvote
eguy >>THISFORM.TEXT1.ENABLE= IIF(THISFORM.CHECK1.VALUE=1,.T.,.F.) I assume you meant THISFORM.TEXT1.ENABLED
Jul 9, 2002 #7 Eguy Programmer Dec 22, 2000 566 US mgagnon; Does spelling count? Ed Please let me know if the suggestion(s) I provide are helpful to you. Sometimes you're the windshield... Sometimes you're the bug. Upvote 0 Downvote
mgagnon; Does spelling count? Ed Please let me know if the suggestion(s) I provide are helpful to you. Sometimes you're the windshield... Sometimes you're the bug.