|
-
Sep 9th, 2000, 04:48 PM
#1
Thread Starter
New Member
I have a simple problem, i have 4 text boxes for user input, text1, text2, text3, text4 i want the command button, cmdsave to be enabled, cmdsave.enabled, only when all 4 boxes have text in them.
Thanks :-)
Thanks for the help
[Edited by JB on 09-09-2000 at 06:37 PM]
-
Sep 9th, 2000, 04:50 PM
#2
Put the following code in the change event of all textboxes:
Code:
cmdSave.Enabled = (Len(Text1) > 0 And Len(Text2) > 0 And Len(Text3) >0 And Len(Text4) > 0)
Good luck!
[Edited by Joacim Andersson on 09-09-2000 at 05:55 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|