Can any one translate to c++ one line of the code pleas

int column = this->dataGrid1->get_CurrentCell().get_ColumnNumber();

Recommended Answers

All 3 Replies

all I need just know what column is selected in DBGrid, so when i do search in table the i will use selected field to search by.

You need to redesign and rewrite the whole portion of code manually there is no DBGrid class in C++.

Yes there is I do have DBGrid object in Borland C++ Builder, nad i actuali alredy figered it out
Dont remember it at the moment, but i'll postit when i get home

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.