Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
16510 | Jul 16,2004 10:00 PM UTC | Jul 27,2004 08:09 PM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
private void gridControl1_CurrentCellShowedDropDown(object sender, System.EventArgs e) { GridDropDownGridListControlCellRenderer cr = this.gridControl1.CurrentCell.Renderer as GridDropDownGridListControlCellRenderer; if(cr != null) { //cr.ListControlPart.CausesValidation = false; cr.ListControlPart.Focus(); } }The way to get this to work without this focus issue is handle WM_NOTIFY and reflected messages in teh grid''s WndProc. We have not done this yet.
>private void gridControl1_CurrentCellShowedDropDown(object sender, System.EventArgs e) >{ > GridDropDownGridListControlCellRenderer cr = this.gridControl1.CurrentCell.Renderer as GridDropDownGridListControlCellRenderer; > if(cr != null) > { > //cr.ListControlPart.CausesValidation = false; > cr.ListControlPart.Focus(); > } >} >> >The way to get this to work without this focus issue is handle WM_NOTIFY and reflected messages in teh grid''s WndProc. We have not done this yet. >
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.