LC tutorial and actual screens do not match!

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
YogiYang
Posts: 27
Joined: Thu Oct 09, 2008 6:09 am

LC tutorial and actual screens do not match!

Post by YogiYang » Sat Aug 26, 2017 7:54 am

Hello,

I am trying to follow the tutorial series here (https://livecode.com/lessons/simple-messages-lc-8/).

Certain parts of LC like for example the color selection part just does not match with what is show in the tutorial.

One of the reason may that LC tutorial is build on Mac OS while I am using Windows 8.1... But why such huge UI related difference between the Mac OS and Windows version of LC? Why can't the UI be uniform between the two?

TIA

Yogi Yang
--
Yogi Yang

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: LC tutorial and actual screens do not match!

Post by bogs » Sat Aug 26, 2017 12:43 pm

YogiYang wrote: One of the reason may that LC tutorial is build on Mac OS while I am using Windows 8.1...
Well, your kinda not too far off.

Unfortunately, I could not watch the video on this rig. I suspect though that you are talking about the differences between how different operating systems display their dialogs, which has nothing to do with Lc itself.

For instance, the basic Windows color dialog would be expected to look like this:
Image
Whereas on Linux, it usually looks like
Image
Mac used to use one that looked like a box of crayons, which I rather liked :)

In any case, all operating systems have a base set of dialog boxes for folders, files, colors, etc. Unless you roll your own, Lc is just going to use that base one which makes it simple, fast and efficient.
Image

YogiYang
Posts: 27
Joined: Thu Oct 09, 2008 6:09 am

Re: LC tutorial and actual screens do not match!

Post by YogiYang » Sat Aug 26, 2017 4:11 pm

Bogs,

The video show that when we try to choose color a dialog show different color pencils instead of color swatches or something similar.

But in case of window it just swatches as you have posted.

So why this difference in a small thing like selecting color?
--
Yogi Yang

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: LC tutorial and actual screens do not match!

Post by bogs » Sat Aug 26, 2017 4:37 pm

YogiYang wrote:So why this difference in a small thing like selecting color?
Well, as I said above, it is because each operating system has its own 'style' of dialog boxes, usually designed in accordance with its suggested interface guidelines, just as each Os has its own style of icons, so they present the end user with a consistent interface to work with.

Lc doesn't have anything to do with that look, it is going to be rendered as the Os dictates it should look if you use a standard dialog box. As you get more advanced in using Lc, you can make your own dialogs, so that they look exactly the same across mac, windows, and linux, but I would stress that unless you have a good reason to, it is usually a bad idea.
Image

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LC tutorial and actual screens do not match!

Post by jacque » Sun Aug 27, 2017 3:19 pm

LC uses the operating system to draw many things, the color pallette is just one of those. Window frames, buttons, and other system elements are drawn directly by the OS.

This is one of LC's greatest advantages. It allows you to create apps that look native on any OS without any work on your part and without changing any scripts.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

YogiYang
Posts: 27
Joined: Thu Oct 09, 2008 6:09 am

Re: LC tutorial and actual screens do not match!

Post by YogiYang » Mon Aug 28, 2017 11:16 am

Hello,

Oh.. now I understood the reason for difference.

Thanks everyone for helping me.

Regards,
--
Yogi Yang

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”