Ho to permit to the user to check or un check a checkbox1, only if PREZZO is not null?
in this case of the he image, permit check or un check
CHECK un check
-
- PlatinumLounger
- Posts: 4362
- Joined: 26 Apr 2010, 17:36
CHECK un check
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78534
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: CHECK un check
What is the name of the PREZZO text boxes?
What is the name of the check boxes?
What is the name of the check boxes?
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4362
- Joined: 26 Apr 2010, 17:36
-
- Administrator
- Posts: 78534
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: CHECK un check
Try this (untested, as always):
Code: Select all
Private Sub TPREZZO_AfterUpdate()
Me.Check1.Enabled = (Me.TPREZZO <> "")
End Sub
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 4362
- Joined: 26 Apr 2010, 17:36
Re: CHECK un check
But, i think, textbox in vb6, not have a AfterUpdate, property....HansV wrote: ↑10 Oct 2021, 16:52Try this (untested, as always):
Code: Select all
Private Sub TPREZZO_AfterUpdate() Me.Check1.Enabled = (Me.TPREZZO <> "") End Sub
-
- Administrator
- Posts: 78534
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- PlatinumLounger
- Posts: 4362
- Joined: 26 Apr 2010, 17:36