ÄÚµå ¿¡µðÅÍ À©µµ¿ì¿¡¼ String Lists ¿¡µðÆ®Çϱâ
The Code Editor... button is your key to easy modification. Click to read more.
Suppose you need to modify a string list that contains database
parameters, SQL query statements, list box items, or similar
information. You'll typically double-click the appropriate
property in the Object Inspector to display the String List
Editor. Unfortunately, this is a modal window, and you have to
explicitly save your changes before you can return to the
code-editing window to make further changes to your source code.
However, if you look closely at the String List Editor window,
you'll notice a Code Editor... button at the bottom. When you
click this button, C++Builder will open a new page in the
code-editing window and load the string list text into it.
Unlike in the String List Editor, you don't have to explicitly
save the text you enter for a string list via the code-editing
window. As soon as you move to a different page in the
code-editing window or start building your project, C++Builder
will save the text you've entered into the appropriate property of
the component that contains the text.
You'll probably find modifying string lists using the code-editing
window to be much faster than using the String List Editor. In
addition, if you're displaying a string list in the code-editing
window, you can choose New Edit Window from the code-editing
window's pop-up menu to create the best of both worlds-a separate
window for editing string lists that's non-modal.
|