Search found 6 matches

by RevigBreizh
Fri Jun 23, 2017 5:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MySQL connection through SSH tunnel
Replies: 0
Views: 878

MySQL connection through SSH tunnel

Hi everybody, I've already seen a few messages about this topic, but despite having read these, I can't get how to set up a connection to a MySQL database on a remote server through SSH tunnel. I'm using LiveCode Community version on Windows. My remote server is on Ubuntu Server. I don't know what e...
by RevigBreizh
Tue Jun 20, 2017 9:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Last 5 words of a field set to italic
Replies: 8
Views: 2611

Re: Last 5 words of a field set to italic

Hi. Thank you dunbarx , for this very inspiring post. Variables are simply raw text, that is, they have no textStyle characteristics at all. They are containers that hold data for future use. You can indeed store the htmlText of a field, say, in a variable, and the "styles" of the original source ar...
by RevigBreizh
Mon Jun 19, 2017 9:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Last 5 words of a field set to italic
Replies: 8
Views: 2611

Re: Last 5 words of a field set to italic

Thanks, Thierry! I'd tried set the textStyle of 5 last words of field 1 but this chunck was no recognized. I didn't know the syntax: word -5 to -1. What about the second question: is it possible to manage the styles "inside" a variable? How to attach styles to parts of text in a variable? Regards, R...
by RevigBreizh
Mon Jun 19, 2017 7:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Last 5 words of a field set to italic
Replies: 8
Views: 2611

Last 5 words of a field set to italic

Hi,

I am looking how to use the textStyle property.
How to set the last 5 words of a field to italic?

I didn't find it into the documentation. Probably an insufficient search… Can you help me?

Thanks,

Rémi
by RevigBreizh
Sat Jun 17, 2017 5:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to get the line of a field the user clicked on it
Replies: 7
Views: 3038

Re: How to get the line of a field the user clicked on it

Exactly what I wanted!
Thank you… I didn't find it into the Dictionary at first.
by RevigBreizh
Sat Jun 17, 2017 5:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to get the line of a field the user clicked on it
Replies: 7
Views: 3038

How to get the line of a field the user clicked on it

Hi,

I have a field with many lines.
I would like to get the number of the line of this field, the user clicked on it. The field is read-only.

If the user clicks on the second line, I would like to get "2"…

Any help?

Thanks,

Rémi

Go to advanced search