Click here to Skip to main content
15,037,420 members
Home / Discussions / C#
   

C#

 
AnswerRe: GDI+, problem with Invalidate() method Pin
Christian Graus21-Jun-09 0:37
protectorChristian Graus21-Jun-09 0:37 
AnswerRe: GDI+, problem with Invalidate() method Pin
OriginalGriff21-Jun-09 0:50
mveOriginalGriff21-Jun-09 0:50 
Questionautocomplete selection Pin
Iain Wiseman20-Jun-09 19:33
MemberIain Wiseman20-Jun-09 19:33 
AnswerRe: autocomplete selection Pin
lw@zi 20-Jun-09 21:42
professional lw@zi 20-Jun-09 21:42 
GeneralRe: autocomplete selection Pin
Iain Wiseman20-Jun-09 22:43
MemberIain Wiseman20-Jun-09 22:43 
GeneralRe: autocomplete selection Pin
lw@zi 20-Jun-09 23:19
professional lw@zi 20-Jun-09 23:19 
GeneralRe: autocomplete selection Pin
Iain Wiseman21-Jun-09 11:17
MemberIain Wiseman21-Jun-09 11:17 
QuestionGet PropertyGrid to update? Pin
FocusedWolf20-Jun-09 19:01
MemberFocusedWolf20-Jun-09 19:01 
I'm using the propertygrid control to display a small class (the class represents program settings) which contains a System.Drawing.Color, and some other properties.

When you click the dropdown next to the color and click a color... everything works fine.

The problem is if the user uses the Up and Down keyboard keys to change the color. When they do this the little color preview square next to the name of the color does not update until the Enter key is pressed.

I tried just using SendKeys to send Enter when the PropertyValueChanged event fires but unfortunately the control looses focus of the selected property.. which is exactly what happens when the enter key is pressed normally. But it's unnatural because your pressing the down and up keys to scroll through the colors... so ya Enter-key-sending is not the way to go.


Is their anyway to force that little color preview box to change to match the color name next to it Big Grin | :-D
AnswerRe: Get PropertyGrid to update? Pin
lw@zi 20-Jun-09 23:55
professional lw@zi 20-Jun-09 23:55 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 9:09
MemberFocusedWolf21-Jun-09 9:09 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 9:16
MemberFocusedWolf21-Jun-09 9:16 
GeneralRe: Get PropertyGrid to update? Pin
lw@zi 21-Jun-09 16:46
professional lw@zi 21-Jun-09 16:46 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 19:08
MemberFocusedWolf21-Jun-09 19:08 
GeneralFocus losing in propertygrid Pin
VB 8.07-Jul-09 23:41
MemberVB 8.07-Jul-09 23:41 
QuestionDatagridview combobox in column header Pin
desir10220-Jun-09 13:39
Memberdesir10220-Jun-09 13:39 
AnswerRe: Datagridview combobox in column header Pin
MarkB77720-Jun-09 17:40
MemberMarkB77720-Jun-09 17:40 
AnswerRe: Datagridview combobox in column header Pin
Manas Bhardwaj20-Jun-09 21:33
professionalManas Bhardwaj20-Jun-09 21:33 
QuestionRemote desktop shown to another client? Pin
Member 465319820-Jun-09 12:38
MemberMember 465319820-Jun-09 12:38 
QuestionExcel like Selection? Pin
Megidolaon20-Jun-09 12:21
MemberMegidolaon20-Jun-09 12:21 
AnswerRe: Excel like Selection? Pin
Christian Graus20-Jun-09 12:47
protectorChristian Graus20-Jun-09 12:47 
Question?How add a database to my c# project? Pin
H.R(Hamid reza)20-Jun-09 11:12
MemberH.R(Hamid reza)20-Jun-09 11:12 
AnswerRe: ?How add a database to my c# project? Pin
Christian Graus20-Jun-09 11:26
protectorChristian Graus20-Jun-09 11:26 
QuestionRe: ?How add a database to my c# project? Pin
H.R(Hamid reza)21-Jun-09 2:29
MemberH.R(Hamid reza)21-Jun-09 2:29 
QuestionPassing a Graphics object Pin
Member 95042020-Jun-09 10:39
MemberMember 95042020-Jun-09 10:39 
AnswerRe: Passing a Graphics object Pin
0x3c020-Jun-09 10:49
Member0x3c020-Jun-09 10:49 

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.