-
April 22nd, 2002, 05:55 AM
#1
Edit properties of all textboxes on a form
Hi,
I've got a question about how to edit a property of all textboxes on a givin form.
I've tried this, but the error occurs that the types don't match.
Dim obj as TextBox
for Each obj In Form_Test
Form_Test.obj.Locked = false
next obj
I need to do this in a VBA application for MS Acces 2000.
-
April 22nd, 2002, 05:57 AM
#2
Re: Edit properties of all textboxes on a form
Dim Ctl as Control
for each Ctl In me.Controls
If Typeof ctl is textbox then
ctl.locked=false
end if
next
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
|