Answer multi lines dialog

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alemrantareq
Posts: 203
Joined: Wed Jul 23, 2008 8:46 am

Answer multi lines dialog

Post by alemrantareq » Fri Nov 21, 2008 11:10 am

Hi everybody, is their any solution to show the multi lined dialog message. For example, I want to show a dialog message "No text into the clipboard" in the 1st line and "Please copy the code first" in the 2nd line. How to do it with answer command?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Fri Nov 21, 2008 11:17 am

You can do plenty of things with answer dialogs, including styled text by mixing in some htmlText.

Code: Select all

on mouseUp
  answer "This is a single line of text"
  answer "This is line 1" & return & "This line 2"
  put "<p><b>This is line 1 in bold</b></p><p></p><p>This is line 2</p>" into thePrompt
  answer thePrompt
end mouseUp
HTH,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply