Home > Back-end >  C Builder in the Memo can text input default for hexadecimal, instead of a string?
C Builder in the Memo can text input default for hexadecimal, instead of a string?

Time:09-20

If inscribe!
C + + Builder in the Memo can text input defaults to hexadecimal, instead of a string?

CodePudding user response:

Memo Lines attributes:
The Contains the individual lines of text in the memo control.
__property Classes: : TStrings * Lines={read=FLines, write=SetLines};

TStrings is the base class for objects that represent a list of strings.

CodePudding user response:

Memo classes are TMemo (generally VCL in front of the class has a T), check the Help is search TMemo,

CodePudding user response:

Open in binary files, each read 16 bytes, each byte convert hexadecimal string such as "F3", 16 strings together can join Spaces separated (middle) as a line of AnsiString line, then Memo1 - & gt; Lines - & gt; Add (line); The displayed is added in the Memo, and not hard,
  • Related