Search found 769 matches

by Thierry
Tue Sep 22, 2020 9:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Skin a control with SVG Widget in Datagrid
Replies: 9
Views: 169

Re: Skin a control with SVG Widget in Datagrid

Hi Thierry, yes, that was it, but also wishful thinking of me :-), since drawingSvgCompile(an SVG FILE) requires an external SVG FILE! Mmmm, I copy-paste this line from a previous job, and in this case: ... drawingSvgCompile( textSvg) textSvg is a variable, not a filename. Sorry, don't have much ti...
by Thierry
Tue Sep 22, 2020 8:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Skin a control with SVG Widget in Datagrid
Replies: 9
Views: 169

Re: Skin a control with SVG Widget in Datagrid

Klaus wrote:
Mon Sep 21, 2020 8:53 pm
No, no screenshot, it was something else.
This ?

Code: Select all

   set the text of image "svgImage" to drawingSvgCompile( textSvg)
by Thierry
Wed Sep 02, 2020 5:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can the void space within a group be made "Clickable"?
Replies: 26
Views: 732

Re: Can the void space within a group be made "Clickable"?

KimD wrote:
Wed Sep 02, 2020 4:01 am
I realise that I could solve this by creating an object within the group,
and always resizing that object to have the same size as the group.
Hi Kim,

AFAIK, this is the only way to do it...

till someone is coming with another solution :)

Regards,

Thierry
by Thierry
Tue Sep 01, 2020 5:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing extra spaces and or hyphens
Replies: 8
Views: 239

Re: Removing extra spaces and or hyphens

dunbarx wrote: By the way, I always trust Thierry's regex expertise.
Thank you!
dunbarx wrote: I just rarely understand it.
So do I :)

Thierry
by Thierry
Tue Sep 01, 2020 5:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing extra spaces and or hyphens
Replies: 8
Views: 239

Re: Removing extra spaces and or hyphens

bn wrote:
Tue Sep 01, 2020 5:14 pm
Hallo Thierry,

???

I even upgraded BBEdit to have the regex playground. I am trying to get there...
Wow, Bernd jumping in! Congratulations.

Actually, I misread the OP,
so to only replace double or more spaces, change this part:

Code: Select all

[ ]+
with:

Code: Select all

 [ ][ ]+
Better?

Thierry
by Thierry
Tue Sep 01, 2020 5:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing extra spaces and or hyphens
Replies: 8
Views: 239

Re: Removing extra spaces and or hyphens

bn wrote:
Tue Sep 01, 2020 4:56 pm
What I do is:
What I do is:

Code: Select all

put replaceText( yourInputText, "([ ]+|-+)", "-")
ans slighty faster as it doesn't replace single hyphen:

Code: Select all

put replaceText(someText, "([ ]+|--+)", "-")

As usual, different ways...

Regards,

Thierry
by Thierry
Tue Aug 25, 2020 8:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: (Solved)Focus on nothing not working in preopencard
Replies: 4
Views: 246

Re: Focus on nothing not working in preopencard

EddieLee wrote:
Tue Aug 25, 2020 6:50 am
I tried putting focus on nothing at the start and end of the preopencard handler
but it still doesn’t work. Any idea why?
Hi Eddie,

Did you tried to move it in the opencard handler?

HTH,

Thierry
by Thierry
Fri Aug 21, 2020 8:36 am
Forum: Talking LiveCode
Topic: Table field: Title Row & no input
Replies: 9
Views: 436

Re: Table field: Title Row & no input

Hi Simon,

May be that you will find useful this excellent tableField from Bernd
called modTableField.

Here a screenshot:

bernd-modTableField.jpg

I have version 0.2.6 and don't know if it's the latest official version.


Kind regards,

Thierry
by Thierry
Fri Aug 14, 2020 1:05 pm
Forum: Bug Triage
Topic: passing hex value to an external.bundle
Replies: 7
Views: 386

Re: passing hex value to an external.bundle

Hi Thierry, maybe you can also post to https://gitter.im/LiveCode/Lobby e.g. Monte, Trevor, and Paul McClernan visit Gitter regularly. Kind regards Bernd Vielen Dank, Bernd, Didn't know about this one; I'll give a try.... I did post here, as I guess edinbourgh's Gods are watching... Thierry
by Thierry
Fri Aug 14, 2020 1:03 pm
Forum: Bug Triage
Topic: passing hex value to an external.bundle
Replies: 7
Views: 386

Re: passing hex value to an external.bundle

sphere wrote:
Fri Aug 14, 2020 12:55 pm
Sorry, can't be of any help there i guess.
No problem, and thank you :)
by Thierry
Fri Aug 14, 2020 10:28 am
Forum: Bug Triage
Topic: passing hex value to an external.bundle
Replies: 7
Views: 386

Re: passing hex value to external

I did something in the past with sending HEX to a Touchscreen, which worked OK. I did too and I was used to get right values. Because only the question "any thoughts?" does not ring a bell. Sorry, if this was not clear; I guess the word 'external' was too wild... In the OP context, it's all about p...
by Thierry
Fri Aug 14, 2020 8:52 am
Forum: Bug Triage
Topic: passing hex value to an external.bundle
Replies: 7
Views: 386

passing hex value to an external.bundle

Hi, I'm coding a C++ external with: MacOS Mojave, LC 9.6.0, Xcode 11.3.1 Passing hex value to a function() of the external ( .bundle), 0x0A is transformed to 0, 0x0B to 1, 0x3E to 48,... in LC: get test( 0x09, 0x0A, 0x0B ) in lcidl: function test in v0 as integer in v1 as integer in v2 as integer re...
by Thierry
Fri Aug 07, 2020 4:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Count occurences, case sensitive?
Replies: 2
Views: 246

Re: Count occurences, case sensitive?

Zax wrote:
Fri Aug 07, 2020 3:33 pm
All ...offset() functions I found are case insensitive. So, is there a simple way to do that?
Bonjour Zax,

Check caseSensitive in the dictionary

Thierry
by Thierry
Fri Aug 07, 2020 7:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: [SOLVED] Something is not right with my data
Replies: 45
Views: 2464

Re: [SOLVED] Something is not right with my data

That really is so clear and elegant that even a beginner can understand it clearly. Love it! Kudos! Thanks Bob and Kellly. @Kelly: TBH, I wasn't expecting a beginner to appreciate those lines of code. So, I guess you are not really a beginner :) One nice things about this code, is that text fields ...
by Thierry
Fri Aug 07, 2020 7:13 am
Forum: Using Externals
Topic: [SOLVED] Has anyone recently compiled a ChartMaker included graph with no errors?
Replies: 3
Views: 567

Re: Has anyone recently compiled a ChartMaker included graph with no errors?

karmacomposer wrote:
Thu Aug 06, 2020 9:33 pm
I found out the cause.
Hi Mike,

Clearly stated in flexiblelearning documentation:


chartmaker doc.jpg


Regards,

Thierry

Go to advanced search