Click here to Skip to main content
15,906,296 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Programatically set focus to another tab Pin
Joshua Quick14-May-06 7:41
Joshua Quick14-May-06 7:41 
GeneralRe: Programatically set focus to another tab Pin
penguin500014-May-06 9:52
penguin500014-May-06 9:52 
GeneralRe: Programatically set focus to another tab Pin
_mubashir14-May-06 22:57
_mubashir14-May-06 22:57 
GeneralRe: Programatically set focus to another tab Pin
Joshua Quick15-May-06 6:30
Joshua Quick15-May-06 6:30 
GeneralRe: Programatically set focus to another tab Pin
penguin500016-May-06 8:24
penguin500016-May-06 8:24 
AnswerRe: Programatically set focus to another tab Pin
Joshua Quick16-May-06 12:18
Joshua Quick16-May-06 12:18 
QuestionRe: Programatically set focus to another tab Pin
penguin500018-May-06 10:05
penguin500018-May-06 10:05 
AnswerRe: Programatically set focus to another tab Pin
Joshua Quick18-May-06 16:08
Joshua Quick18-May-06 16:08 
penguin5000 wrote:
and please excuse my naivety - I've still got loads to learn yet!


No problem. There's always something new to learn. I'm learning something new all the time too. That's part of the fun in software development. Smile | :)

penguin5000 wrote:
why is this better than my previous 'discovery'


Providing public access to your form's controls is considered bad practice. Why? Because if later down the road you want to...
- Use different controls to display the same info. (Like not a TabControl.)
- Change how you use your existing controls. (Ex: Change the tab order.)
...then you would have to update all of your form calling code too. This becomes a big issue if your app is huge and your form is called from several places.

The suggestion I provided allows you to change your form without effecting your calling code. That means less maintenance work in the future.

I hope this helps! Smile | :)

-- modified at 3:30 Friday 19th May, 2006
GeneralRe: Programatically set focus to another tab Pin
penguin500018-May-06 20:11
penguin500018-May-06 20:11 
QuestionOpen Excel File Pin
shereem khaleel14-May-06 3:53
shereem khaleel14-May-06 3:53 
Questioncreate dsn runtime for sql server Pin
vipinpaliwal198014-May-06 1:20
vipinpaliwal198014-May-06 1:20 
AnswerRe: create dsn runtime for sql server Pin
Dave Kreskowiak14-May-06 5:15
mveDave Kreskowiak14-May-06 5:15 
GeneralRe: create dsn runtime for sql server Pin
vipinpaliwal198014-May-06 19:51
vipinpaliwal198014-May-06 19:51 
Questionusing javascript to set properties on a dynamic vb.net control Pin
gooseman11214-May-06 0:30
gooseman11214-May-06 0:30 
AnswerRe: using javascript to set properties on a dynamic vb.net control Pin
CWIZO14-May-06 3:09
CWIZO14-May-06 3:09 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
gooseman11214-May-06 3:39
gooseman11214-May-06 3:39 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
CWIZO14-May-06 3:41
CWIZO14-May-06 3:41 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
gooseman11214-May-06 3:59
gooseman11214-May-06 3:59 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
CWIZO14-May-06 4:04
CWIZO14-May-06 4:04 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
gooseman11214-May-06 4:28
gooseman11214-May-06 4:28 
QuestionCombo box problem Pin
penguin500013-May-06 22:43
penguin500013-May-06 22:43 
QuestionSave Image in sql using VB.NET Pin
alialikh13-May-06 19:16
alialikh13-May-06 19:16 
AnswerRe: Save Image in sql using VB.NET Pin
Mekong River13-May-06 20:07
Mekong River13-May-06 20:07 
GeneralRe: Save Image in sql using VB.NET Pin
alialikh16-May-06 2:27
alialikh16-May-06 2:27 
GeneralRe: Save Image in sql using VB.NET Pin
Mekong River16-May-06 5:35
Mekong River16-May-06 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.