Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
18003 | Aug 21,2004 08:21 PM UTC | Aug 22,2004 10:09 PM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
private bool showingDropDown = false; private void gridControl1_CurrentCellStartEditing(object sender, CancelEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; if(this.gridControl1[cc.RowIndex, cc.ColIndex].CellType == "ComboBox" && !cc.IsDroppedDown && !showingDropDown) { showingDropDown = true; cc.ShowDropDown(); showingDropDown = false; } }
>private bool showingDropDown = false; >private void gridControl1_CurrentCellStartEditing(object sender, CancelEventArgs e) >{ > GridCurrentCell cc = this.gridControl1.CurrentCell; > if(this.gridControl1[cc.RowIndex, cc.ColIndex].CellType == "ComboBox" > && !cc.IsDroppedDown && !showingDropDown) > { > showingDropDown = true; > cc.ShowDropDown(); > showingDropDown = false; > } >} >
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.