Is there a way to load the content of a file to TAdvMemo not using the AcceptFile drag and drop option?
1
There are 1 best solutions below
Related Questions in C++BUILDER
- working with IdHTTPProxyServer1
- Borland c++: Error while assigning OnChange to another function?
- Alternative to symlink in C++ Builder
- Embarcadero C++Builder: Transitive project dependencies and includes?
- Embarcadero C++Builder: Separate debug/release DLL references possible?
- How i can set rgb color?
- How to use TThread.Synchronize() to retrieve the text of a TEdit control?
- Indy TCP client in thread
- Special character in Borland c++ Builder
- Kylix on Fedora 21
- update statusbar's text property in the form by another form's button's click event
- add event to component in the run time
- Define and build lapsed timer
- How to manipulate large images in Firemonkey?
- Using TChart in C++Builder XE7
Related Questions in TMS
- TMS - properly delete dbPlanner1 Item
- TMS Intraweb grid does not “remember” javascript operation result
- Openlayers : Layers not superposed properly
- DBAdvGrid RowHeights - alter all rows except 1
- Cannot add TMS async components to win32 firemonkey program
- How do I refresh a TMS layer in OpenLayers?
- TMS TWebCopy, Delphi
- Loading File to TAdvMemo
- What does the {$IFNDEF LCLTMSWEB} compiler directive mean?
- `Color` property isn't being applied to TWebPanel component in a TMS Web Core Website
- How do I get a Bitmap from the TWebImageControl component?
- How do I turn on/off Delphi IDE debugging in TMS Web Core v2.3+?
- How do I give a transparent background color for TWebPanel?
- Why is there clColor and gcColor in TMS Web Core?
- A way to set New line/ Linebreak in a TWebLabel caption?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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: