Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 March 20th, 2005, 05:11 AM
Authorized User
 
Join Date: Mar 2005
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to pritz Send a message via Yahoo to pritz
Default Setting tabindex in control array

hi all
i would like to help me someone in setting tabindex when i create control array .it could be five one time other time seven objects(textbox) and i would like to set tab index to them.

Regards,
Priti

 
Old March 21st, 2005, 02:47 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you load the controls at run time, you have to set the TabIndex when (or after) you load them. Something like

for k = 1 to ...
load text1(k)
text1(k).tabindex = text1(0).tabindex + k + 1

Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the DefaultButton Within a Wizard Control rit01 ASP.NET 2.0 Basics 5 August 8th, 2006 02:11 PM
Setting Property for a Custom Control cadaats C# 0 October 17th, 2005 02:22 AM
Problem Setting Tab Control selectedIndex Ron Howerton VB.NET 2002/2003 Basics 0 July 13th, 2004 03:31 PM
Error setting Formula Array property for a Range arnowitz Excel VBA 2 February 5th, 2004 02:08 PM
Setting focus to a web control textbox? hilda ASP.NET 1.0 and 1.1 Basics 2 November 1st, 2003 11:14 AM





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