Click here to Skip to main content
15,850,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: autocomplete selection Pin
Iain Wiseman21-Jun-09 12:17
Iain Wiseman21-Jun-09 12:17 
QuestionGet PropertyGrid to update? Pin
FocusedWolf20-Jun-09 20:01
FocusedWolf20-Jun-09 20:01 
AnswerRe: Get PropertyGrid to update? Pin
dan!sh 21-Jun-09 0:55
professional dan!sh 21-Jun-09 0:55 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 10:09
FocusedWolf21-Jun-09 10:09 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 10:16
FocusedWolf21-Jun-09 10:16 
GeneralRe: Get PropertyGrid to update? Pin
dan!sh 21-Jun-09 17:46
professional dan!sh 21-Jun-09 17:46 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 20:08
FocusedWolf21-Jun-09 20:08 
GeneralFocus losing in propertygrid Pin
VB 8.08-Jul-09 0:41
VB 8.08-Jul-09 0:41 
Hi ,

I am usign propertygrid in my application . I am using one class i that i m having " Caption " prooperty. i am

I wrote this code to Keyboard UP left,right down keys to work . In that i am having the code to move the controls . according to below condition i am highlighting the property .

Private Sub PropGrid_Enter(ByVal sender As Object, ByVal e As System.EventArgs) Handles PropGrid.Enter
       fGridEnter = True
End Sub

Private Sub PropGrid_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PropGrid.Leave
     fGridEnter = False
End Sub

Protected Overrides Function ProcessCmdKey(ByRef msg As System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys) As Boolean    ' IN THIS i am having the code to move the control .

If (keyData = Keys.Down Or keyData = Keys.Up Or keyData = Keys.Left Or keyData = Keys.Right) And fGridEnter Then
PropGrid.SelectedGridItem.Select()  

Return False

End If
Now the problem is if i am entering caption for textbox then i use Keyboard up, down ,left ,right then Propertygrid is losing
the focus .

Textbox1.Caption = "ABC DEF " ' Here i amnot able to move the cursor using keyboard keys up, down ,left ,right

to change the text of the texbox . How to identify the things ??
QuestionDatagridview combobox in column header Pin
desir10220-Jun-09 14:39
desir10220-Jun-09 14:39 
AnswerRe: Datagridview combobox in column header Pin
MarkB77720-Jun-09 18:40
MarkB77720-Jun-09 18:40 
AnswerRe: Datagridview combobox in column header Pin
Manas Bhardwaj20-Jun-09 22:33
professionalManas Bhardwaj20-Jun-09 22:33 
QuestionRemote desktop shown to another client? Pin
Member 465319820-Jun-09 13:38
Member 465319820-Jun-09 13:38 
QuestionExcel like Selection? Pin
Megidolaon20-Jun-09 13:21
Megidolaon20-Jun-09 13:21 
AnswerRe: Excel like Selection? Pin
Christian Graus20-Jun-09 13:47
protectorChristian Graus20-Jun-09 13:47 
Question?How add a database to my c# project? Pin
H.R(Hamid reza)20-Jun-09 12:12
H.R(Hamid reza)20-Jun-09 12:12 
AnswerRe: ?How add a database to my c# project? Pin
Christian Graus20-Jun-09 12:26
protectorChristian Graus20-Jun-09 12:26 
QuestionRe: ?How add a database to my c# project? Pin
H.R(Hamid reza)21-Jun-09 3:29
H.R(Hamid reza)21-Jun-09 3:29 
QuestionPassing a Graphics object Pin
Member 95042020-Jun-09 11:39
Member 95042020-Jun-09 11:39 
AnswerRe: Passing a Graphics object Pin
0x3c020-Jun-09 11:49
0x3c020-Jun-09 11:49 
GeneralRe: Passing a Graphics object Pin
Member 95042020-Jun-09 12:56
Member 95042020-Jun-09 12:56 
GeneralRe: Passing a Graphics object Pin
Luc Pattyn20-Jun-09 13:14
sitebuilderLuc Pattyn20-Jun-09 13:14 
AnswerRe: Passing a Graphics object Pin
Christian Graus20-Jun-09 12:29
protectorChristian Graus20-Jun-09 12:29 
AnswerRe: Passing a Graphics object Pin
Luc Pattyn20-Jun-09 12:29
sitebuilderLuc Pattyn20-Jun-09 12:29 
QuestionNeed a container like visual studio toolbox. Pin
hdv21220-Jun-09 11:38
hdv21220-Jun-09 11:38 
AnswerRe: Need a container like visual studio toolbox. Pin
Christian Graus20-Jun-09 12:29
protectorChristian Graus20-Jun-09 12:29 

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.