Click here to Skip to main content
15,900,725 members
Home / Discussions / C#
   

C#

 
GeneralNested UserControls Pin
Den2Fly30-Aug-04 6:16
Den2Fly30-Aug-04 6:16 
GeneralRe: Nested UserControls Pin
Charlie Williams30-Aug-04 6:24
Charlie Williams30-Aug-04 6:24 
GeneralRe: Nested UserControls Pin
Nick Parker30-Aug-04 6:25
protectorNick Parker30-Aug-04 6:25 
QuestionHas anyone attempted synchronized scolling? Pin
LongRange.Shooter30-Aug-04 6:12
LongRange.Shooter30-Aug-04 6:12 
AnswerRe: Has anyone attempted synchronized scolling? Pin
Heath Stewart30-Aug-04 7:34
protectorHeath Stewart30-Aug-04 7:34 
GeneralRe: Has anyone attempted synchronized scolling? Pin
LongRange.Shooter31-Aug-04 6:50
LongRange.Shooter31-Aug-04 6:50 
GeneralRe: Has anyone attempted synchronized scolling? Pin
progload3-Oct-04 10:21
progload3-Oct-04 10:21 
GeneralErrorProvider() Not Displayed Pin
dbetting30-Aug-04 5:36
dbetting30-Aug-04 5:36 
I have a component in which the ErrorProvider is defined upon initialization of the component as:
<br />
  valueErrorProvider = new System.Windows.Forms.ErrorProvider();<br />
  valueErrorProvider.SetIconAlignment (this, ErrorIconAlignment.MiddleRight);<br />
  valueErrorProvider.SetIconPadding (this, 2);<br />
  valueErrorProvider.BlinkRate = 1000;<br />
  valueErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;<br />
<br />
  components = new System.ComponentModel.Container();<br />
  tltpInternal = new System.Windows.Forms.ToolTip(components);<br />
  tltpInternal.ShowAlways = false;<br />
  tltpInternal.InitialDelay = 250;<br />
  tltpInternal.AutoPopDelay = 5000;<br />
  tltpInternal.Active = false;


To set/clear the message I use the following:
private void SetErrorMessage(string msg)<br />
{<br />
  this.valueErrorProvider.SetError(this, msg);<br />
  tltpInternal.SetToolTip(this, msg);<br />
  tltpInternal.Active = (msg.Trim().Length > 0);<br />
  tltpInternal.ShowAlways = (msg.Trim().Length > 0);<br />
}


The problem is that the ErrorProvider symbol does not always show. The Tooltip is always populated as expected, the symbol just doesn't flash. If I select a different application and then go back to the application with the error, it begins to flash as expected.

Is there something I need to call to ensure the ErrorProvider will display?
Generalinstalling global cbt hooks in c# Pin
vignesh_s30-Aug-04 3:51
vignesh_s30-Aug-04 3:51 
GeneralRe: installing global cbt hooks in c# Pin
Nick Parker30-Aug-04 4:15
protectorNick Parker30-Aug-04 4:15 
GeneralRe: installing global cbt hooks in c# Pin
Duncan Edwards Jones30-Aug-04 4:15
professionalDuncan Edwards Jones30-Aug-04 4:15 
GeneralRe: installing global cbt hooks in c# Pin
vignesh_s3-Sep-04 3:40
vignesh_s3-Sep-04 3:40 
Generalset time in c# Pin
erina54830-Aug-04 3:14
erina54830-Aug-04 3:14 
GeneralRe: set time in c# Pin
Nick Parker30-Aug-04 4:27
protectorNick Parker30-Aug-04 4:27 
GeneralRe: set time in c# Pin
Heath Stewart30-Aug-04 5:56
protectorHeath Stewart30-Aug-04 5:56 
GeneralExporting to CVS Pin
Digger2730-Aug-04 1:15
Digger2730-Aug-04 1:15 
GeneralRe: Exporting to CVS Pin
Colin Angus Mackay30-Aug-04 1:31
Colin Angus Mackay30-Aug-04 1:31 
GeneralRe: Exporting to CVS Pin
Digger2730-Aug-04 4:27
Digger2730-Aug-04 4:27 
GeneralRe: Exporting to CVS Pin
Nick Parker30-Aug-04 4:22
protectorNick Parker30-Aug-04 4:22 
GeneralISA bus access Pin
zaarzzz30-Aug-04 1:12
zaarzzz30-Aug-04 1:12 
GeneralRe: ISA bus access Pin
leppie30-Aug-04 3:05
leppie30-Aug-04 3:05 
GeneralExport a report to multiple excel files Pin
KSEI30-Aug-04 1:04
KSEI30-Aug-04 1:04 
GeneralRe: Export a report to multiple excel files Pin
Arch4ngel30-Aug-04 2:23
Arch4ngel30-Aug-04 2:23 
GeneralProblem with Richtextbox wrapping Pin
dmc55530-Aug-04 0:29
dmc55530-Aug-04 0:29 
GeneralRe: Problem with Richtextbox wrapping Pin
Judah Gabriel Himango30-Aug-04 6:42
sponsorJudah Gabriel Himango30-Aug-04 6:42 

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.