How to adjust DBGrid columns width automatically
问题 I've been try to use this Delphi code with C++ Builder XE. I manually convert the language into C++ Builder language. This procedure was working correctly. When I try to maximize the form holding the DBGrid, this procedure successfully split the columns width according to the grid width. However, if I try to minimize the form width using mouse control at the right or left of form, this procedure weren't adjust the column width to the length of the values or length of the labels on each