Solved

Control String

Posted on 2004-04-08
3
150 Views
Last Modified: 2010-04-05
Why do we need to use Control String?
When do we normally use it?
0
Comment
Question by:cybermilky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10789148
Control String?

Shane
0
 
LVL 1

Author Comment

by:cybermilky
ID: 10789300
I came across a statement as below:
The control string #89#111#117 is equivalent to the quoted string 'You'
0
 

Accepted Solution

by:
coracleit earned 20 total points
ID: 10789830
Hi,

This 'Control String' as you have called it, enables you to put characters into a string that are not typable from the keyboard.
Eg.

MessageDlg('This is a dialog box' + #10+ 'That spans over 2 lines',mtInformation,[mbOK],0);

This dialog box now has a linefeed control char in the middle and forces the info onto 2 lines.
It could also be #13 which is carrage Return.

Wayne
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question