Most VCL-based memo controls (including third-party ones) have a Lines.LoadFromFile or something similar.
According to TMS's website, TAdvMemo has a Lines property, which should be a TStrings descendant and therefore should support LoadFromFile. (See the FAQ page I linked to, specifically the question about seeing if the text is empty - it uses the Lines property.)
Most VCL-based memo controls (including third-party ones) have a
Lines.LoadFromFileor something similar.According to TMS's website,
TAdvMemohas aLinesproperty, which should be aTStringsdescendant and therefore should supportLoadFromFile. (See the FAQ page I linked to, specifically the question about seeing if the text is empty - it uses theLinesproperty.)So it should be as easy as (Delphi code):
So, in C++ Builder it should be something like: