Solved

Control String

Posted on 2004-04-08
3
145 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now