How to have multiple message bubbles in the Simple Messages

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Max4swift
Posts: 1
Joined: Tue Apr 19, 2016 6:38 am

How to have multiple message bubbles in the Simple Messages

Post by Max4swift » Tue Apr 19, 2016 6:59 am

Hello, I made the the "Simple Messages" app from the tutorial on the LiveCode website. But can you please tell me that how can i have multiple Message bubbles in that app? Like you do in whatsApp or any other messenger??? Please tell and sorry for my english

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: How to have multiple message bubbles in the Simple Messa

Post by MaxV » Thu Apr 21, 2016 3:59 pm

For example, you can write something like it:
########CODE#######
clone image "MessageBlue"
set the name of last image to "MessageBlue2"
set the top of image "MessageBlue2" the bottom of image "MessageBlue"
clone field "DisplayMessage"
set the name of last field to "DisplayMessage2"
set the top of field "DisplayMessage2" the top of image "MessageBlue"
#####END OF CODE#####
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply