Click here to Skip to main content
15,904,652 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Binding Two dimensional arrays to Datagrid Pin
Sathesh Sakthivel24-Jun-07 20:18
Sathesh Sakthivel24-Jun-07 20:18 
GeneralRe: Binding Two dimensional arrays to Datagrid Pin
Dave Kreskowiak25-Jun-07 3:33
mveDave Kreskowiak25-Jun-07 3:33 
QuestionCheck if control is really visible. Pin
Mickey0124-Jun-07 14:43
Mickey0124-Jun-07 14:43 
AnswerRe: Check if control is really visible. Pin
Christian Graus24-Jun-07 14:47
protectorChristian Graus24-Jun-07 14:47 
GeneralRe: Check if control is really visible. Pin
Mickey0124-Jun-07 15:11
Mickey0124-Jun-07 15:11 
AnswerRe: Check if control is really visible. Pin
Guffa24-Jun-07 19:24
Guffa24-Jun-07 19:24 
GeneralRe: Check if control is really visible. Pin
Mickey0124-Jun-07 19:43
Mickey0124-Jun-07 19:43 
GeneralRe: Check if control is really visible. Pin
Dave Kreskowiak25-Jun-07 4:02
mveDave Kreskowiak25-Jun-07 4:02 
Mickey01 wrote:
The 2nd tabpage contains some code which takes a bit of time. I want that tabpage displayed completely before that code starts.


I don't like doing this, but have you tried sticking a Application.DoEvents() at the beginning of your "long running" code?

Normally, I'd be running all the code to setup the controls of every tab of a tabcontrol before I let the user see it. You treat all the tabs of a tabcontrol as a single control and not on a per-tab basis.

For instance, an options dialog with multiple tab pages gets and sets the values for all the controls on every tab page when the dialog is shown, NOT when each tab is shown. When the changes are done being made, the dialog writes all the values, on every tab page, back to persisted storgage and applies all the changes to running code when the dialog is dismissed. It doesn't do this when changing tab pages.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Check if control is really visible. Pin
Mickey0125-Jun-07 13:49
Mickey0125-Jun-07 13:49 
GeneralRe: Check if control is really visible. Pin
Dave Kreskowiak25-Jun-07 14:11
mveDave Kreskowiak25-Jun-07 14:11 
QuestionPassing MultiDimensional Array as a paramenters in Functions Pin
hsprasain24-Jun-07 10:32
hsprasain24-Jun-07 10:32 
AnswerRe: Passing MultiDimensional Array as a paramenters in Functions Pin
TwoFaced24-Jun-07 11:21
TwoFaced24-Jun-07 11:21 
GeneralRe: Passing MultiDimensional Array as a paramenters in Functions Pin
hsprasain24-Jun-07 13:24
hsprasain24-Jun-07 13:24 
QuestionMACRO Basic Programming? Pin
hifiger200424-Jun-07 7:57
hifiger200424-Jun-07 7:57 
AnswerRe: MACRO Basic Programming? Pin
Christian Graus24-Jun-07 11:18
protectorChristian Graus24-Jun-07 11:18 
GeneralRe: MACRO Basic Programming? Pin
hifiger200424-Jun-07 15:01
hifiger200424-Jun-07 15:01 
Questionupload via ftp Pin
abdelhameed8124-Jun-07 2:58
abdelhameed8124-Jun-07 2:58 
AnswerRe: upload via ftp Pin
Guffa24-Jun-07 6:27
Guffa24-Jun-07 6:27 
QuestionFolder list Pin
Anybloodyid24-Jun-07 2:07
Anybloodyid24-Jun-07 2:07 
AnswerRe: Folder list Pin
Dave Kreskowiak24-Jun-07 6:45
mveDave Kreskowiak24-Jun-07 6:45 
QuestionHow to use FTP browser in Visual Basic.Net Pin
ankur010124-Jun-07 0:46
ankur010124-Jun-07 0:46 
AnswerRe: How to use FTP browser in Visual Basic.Net Pin
Dave Kreskowiak24-Jun-07 6:29
mveDave Kreskowiak24-Jun-07 6:29 
QuestionResetting an identifier Pin
DA_Loring23-Jun-07 8:15
DA_Loring23-Jun-07 8:15 
AnswerRe: Resetting an identifier Pin
Colin Angus Mackay23-Jun-07 10:35
Colin Angus Mackay23-Jun-07 10:35 
Questionquestion Pin
anjoom23-Jun-07 4:06
anjoom23-Jun-07 4:06 

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.