Subscribe to this list via RSS Blog posts tagged in Headers

Posted by on in Blogs
C++ Builder Header Dependencies Why should you care about header dependencies in C++?  One reason is header dependencies can have an impact on building, refactoring, testing and on the structure of your software. And reducing header dependencies in C++ also reduces compile time dependencies – the dependencies between files and libraries at compile time. One way to reduce header dependencies in C++ is to avoid including headers inside other header files. Keeping header file dependencies to a minimum in C++ is always a g...

Posted by on in UI
Adding headers to TListView programmatically During today's Delphi, C++Builder and RAD Studio 10 Seattle launch webinar, I got a question on how to add headers to TListView programmatically instead of using LiveBindings with a data source. Here is a quick code snippet showing how to programmatically add TListView headers. procedure TListViewHeaders.FormCreate(Sender: TObject); var Group, Item: Integer; begin for Group in [1..4] do begin with ListView1.Items.Add do begin Text := Format('Header %d', [Group]); ...
  • Page :
  • 1

Check out more tips and tricks in this development video: