Home > Back-end >  How to determine DBGridEh current cell selected column names??
How to determine DBGridEh current cell selected column names??

Time:10-12

How to determine DBGridEh current cell selected column names for number column names?

Name number sex
Furien 001 female
Wang feng, 003 male

CodePudding user response:

Should be SelectedField fieldname

CodePudding user response:

DBGridEh (Sender). The DataSource. The DataSet. FieldName

CodePudding user response:

I wonder whether there are any getActvieCol DBGridEh properties like this?

CodePudding user response:

If DBGridEh1. Columns [DBGridEh1. Col - 1]. FieldName='number' then
The begin
end;

CodePudding user response:

DBGridEH. SelectedField. Fieldname='XXX'
  • Related