C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28695
Number of posts: 94715

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
CtrlGrid in Database program Posted by Debs on 4 Jul 2006 at 11:33 AM
I am developing a database program in C++ Builder Pro. I have used at DBCtrlGrid to display various database records all at one time. I would like to set a text box font color to red if one of the field values is > 10. However if that field value is < 10 then the font color should remain black for that panel on the CtrlGrid. I can seem to figure this out, when ever I change the text color it changes for all of the panels not just the one with the value > 10. Is there a way to identify the panel and then the text?? Any thoughts?
I also need to do the same thing in a report using a subdetail section.
Any thoughts would be greatly appreciated.

Cheers*

Debs*
Report
Re: CtrlGrid in Database program Posted by bilderbikkel on 5 Jul 2006 at 1:35 AM
Perhaps you should try the C++ Builder Board:
http://www.programmersheaven.com/c/MsgBoard/wwwboard.asp?Board=1044&src=1&Setting=

See ya there,
bilderbikkel




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.