Home > Back-end >  The Delphi problem
The Delphi problem

Time:09-29

Want to use TValueListEditor controls, do not know how to add and modify the line of text, ask everybody to help,

CodePudding user response:

ValueListEditor1. Strings. The Add (' key1=value1 ');
ValueListEditor1. Values [' key1 '] :='v1'

CodePudding user response:

It is really used this stuff, should have the Add method, F1 help bai

CodePudding user response:

reference 1st floor s11ss response:
ValueListEditor1. Strings. The Add (' key1=value1 ');
ValueListEditor1. Values [' key1 '] :='v1'

I'd like to add from the strings attribute, but why not add?

CodePudding user response:

reference qiongjuyaoyao reply: 3/f
Quote: refer to 1st floor s11ss response:

ValueListEditor1. Strings. The Add (' key1=value1 ');
ValueListEditor1. Values [' key1 '] :='v1'

I'd like to add from the strings attribute, but why not add?

The Value List the lower left corner of the Editor window has a Code Editor button, click it can go in editing; Then the Value List the right-click menu Editor window Load can be loaded from a file; And Alt + F12, also can directly edit the Strings,

CodePudding user response:

To directly in the Value List Editor can also Editor window, after the key input values, press the Insert key, in the current row Insert a blank line above, want to delete a line of words, the key and the Value of values are deleted, and then the mouse position to other lines, the blank line is automatically deleted,
  • Related