Translate from Delphi to C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2008
Posts: 25
Reputation: uim_1977 is an unknown quantity at this point 
Solved Threads: 0
uim_1977 uim_1977 is offline Offline
Light Poster

Translate from Delphi to C++

 
0
  #1
Oct 26th, 2008
Can any one translate to c++ one line of the code pleas

  1. int column = this->dataGrid1->get_CurrentCell().get_ColumnNumber();
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 25
Reputation: uim_1977 is an unknown quantity at this point 
Solved Threads: 0
uim_1977 uim_1977 is offline Offline
Light Poster

Re: Translate from Delphi to C++

 
0
  #2
Oct 26th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,857
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 120
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Translate from Delphi to C++

 
0
  #3
Oct 28th, 2008
You need to redesign and rewrite the whole portion of code manually there is no DBGrid class in C++.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 25
Reputation: uim_1977 is an unknown quantity at this point 
Solved Threads: 0
uim_1977 uim_1977 is offline Offline
Light Poster

Re: Translate from Delphi to C++

 
0
  #4
Oct 28th, 2008
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC