Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2006, 10:07 PM
Authorized User
 
Join Date: Dec 2003
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ysiline Send a message via Yahoo to ysiline
Default Detect associated label

Hey,

I am wonder whether we can detect controls collection to see the label that associate to textbox, listbox, radio button, checkbox....

When we place a new textbox or checkbox on a form there will be another label that associate to that, right?

So, how can we later on detect those pair of control and its label ?

Hope to get shared with your all experiences. (^_^)

Cheer!!!
 
Old April 26th, 2006, 07:16 AM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 142
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not sure if it's a fixed rule, but I've always found the control label to be the control index + 1 for its associated control.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Posible to detect disabled label? ysiline Access VBA 1 April 26th, 2006 07:15 AM
Detect Username dparsons ASP.NET 1.0 and 1.1 Professional 2 April 12th, 2006 02:20 PM
Detect Change jking SQL Language 2 May 27th, 2005 05:57 PM
Detect Number zaeem Classic ASP Databases 1 December 1st, 2003 03:02 AM
Flash detect Adam H-W Javascript 4 October 30th, 2003 08:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.