Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++Builder 3

Status
Not open for further replies.

Royt

IS-IT--Management
Jan 31, 2000
61
0
0
GB
Hello Everybody,<br>
<br>
I'm back again!<br>
<br>
I have a read only lookup DBGrid and want to display calculated fields on the underlying Form, dependent on the fields in the table record being highlighted in the grid. This works fine for pick and point but is it possible to trap a row highlighted by simply moving the vertical scrollbar? None of the grid properties appear to pick up the scrollbar movement.<br>
<br>
Roy Thomas<br>

 
Have found a solution:<br>
<br>
Put a DBEdit in the DBGrid, I used the primary key which is a single field.<br>
Set DBEdit-&gt;Visible = false<br>
Used the 'change' event on the DBEdit to execute the outside processing<br>
Appears to work a treat<br>
<br>
Roy Thomas<br>
<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top