Click here to Skip to main content
16,004,944 members
Home / Discussions / C#
   

C#

 
AnswerRe: fixed width text file Pin
Samuel Cherinet22-Jul-10 9:38
Samuel Cherinet22-Jul-10 9:38 
GeneralRe: fixed width text file Pin
Iman Mohtashemi22-Jul-10 9:42
Iman Mohtashemi22-Jul-10 9:42 
Questionshowing text in the pdf in the user defined format Pin
Dhyanga22-Jul-10 8:57
Dhyanga22-Jul-10 8:57 
AnswerRe: showing text in the pdf in the user defined format Pin
Peace ON22-Jul-10 19:22
Peace ON22-Jul-10 19:22 
QuestionHow to correct X Axis scale label in .Net Chart Control Pin
Daniel Tong22-Jul-10 8:24
Daniel Tong22-Jul-10 8:24 
QuestionWebBrowser control automation question Pin
Etienne_12322-Jul-10 6:57
Etienne_12322-Jul-10 6:57 
AnswerRe: WebBrowser control automation question Pin
Etienne_12322-Jul-10 7:07
Etienne_12322-Jul-10 7:07 
QuestionMy TextBox lacks discipline and Forms.Focus Pin
GrenMeera22-Jul-10 5:48
GrenMeera22-Jul-10 5:48 
I am having some difficulty with a DataGrid object in my Forms application and could greatly use some advice/assistance.

My DataGrid is receiving constant updates from a server application with changing data. This is reflected by changing the DataTable object that is set as it's DataGrid.DataSource. The problem is, however, that these refreshes seem to steal Focus from other Controls (TextBox, ComboBox) that are needed. At the moment, I have to repeatedly keep trying to hit a button and hope that I can finally land a OnButtonClicked event between refreshes for it to finally register.

Now I have another application that is doing a very similar thing, but it does not have this problem. At first I noticed that the other application doesn't have the other buttons on the same Panel, but after trying to put my DataGrid inside it's own Panel, it's own TabPage, and even grouping my Buttons within a GroupBox, the Buttons and TextBox can't seem to keep focus for long enough to do anything. I've set my DataGrid to "TabStop = false" and even "CausesValidation = false", but these also did not help.

The DataGrid became my all-seeing all-knowing master of Focus, and I am now it's slave.

Here's a visual to help understand the layout and visualize the problem:

Take a look![^]

If anybody has any advice or help, it would be greatly appreciated! Smile | :)
AnswerRe: My TextBox lacks discipline and Forms.Focus Pin
Peace ON22-Jul-10 19:45
Peace ON22-Jul-10 19:45 
GeneralRe: My TextBox lacks discipline and Forms.Focus Pin
GrenMeera23-Jul-10 3:08
GrenMeera23-Jul-10 3:08 
QuestionPassing a Varible to a TextBox in ReportViewer Pin
cgillespie22-Jul-10 3:56
cgillespie22-Jul-10 3:56 
QuestionDynamic Dictionary usage problem in C# Pin
glitteringsound22-Jul-10 3:22
glitteringsound22-Jul-10 3:22 
QuestionMDIChild form in FULLSCREEN mode Pin
frommi22-Jul-10 0:05
frommi22-Jul-10 0:05 
AnswerRe: MDIChild form in FULLSCREEN mode Pin
Peace ON22-Jul-10 0:16
Peace ON22-Jul-10 0:16 
GeneralRe: MDIChild form in FULLSCREEN mode Pin
frommi22-Jul-10 0:25
frommi22-Jul-10 0:25 
GeneralRe: MDIChild form in FULLSCREEN mode Pin
Peace ON22-Jul-10 2:04
Peace ON22-Jul-10 2:04 
GeneralRe: MDIChild form in FULLSCREEN mode Pin
Ravi Bhavnani22-Jul-10 4:19
professionalRavi Bhavnani22-Jul-10 4:19 
GeneralRe: MDIChild form in FULLSCREEN mode Pin
Matt U.22-Jul-10 11:57
Matt U.22-Jul-10 11:57 
AnswerRe: MDIChild form in FULLSCREEN mode Pin
Niyamat22-Jul-10 7:47
Niyamat22-Jul-10 7:47 
Questionhow to auto Refresh a control in windows application Pin
Krishna Varadharajan21-Jul-10 23:20
Krishna Varadharajan21-Jul-10 23:20 
AnswerRe: how to auto Refresh a control in windows application Pin
Peace ON22-Jul-10 0:09
Peace ON22-Jul-10 0:09 
GeneralRe: how to auto Refresh a control in windows application Pin
Krishna Varadharajan22-Jul-10 20:10
Krishna Varadharajan22-Jul-10 20:10 
Questionreplacing html entity [modified] Pin
varsh1221-Jul-10 22:43
varsh1221-Jul-10 22:43 
AnswerRe: replacing html entity Pin
Rajesh Sajjanar22-Jul-10 2:25
Rajesh Sajjanar22-Jul-10 2:25 
GeneralRe: replacing html entity Pin
varsh1222-Jul-10 2:35
varsh1222-Jul-10 2: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.