Search found 216 matches

by kaveh1000
Mon May 06, 2019 3:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easier way to do this? Find variables in text
Replies: 17
Views: 509

Re: Easier way to do this? Find variables in text

Wonderful. Much better. Thanks Thierry. :-) Easier to read too!!
by kaveh1000
Mon May 06, 2019 12:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Easier way to do this? Find variables in text
Replies: 17
Views: 509

Re: Easier way to do this? Find variables in text

Here is a minimal stack that does the job using regex
by kaveh1000
Sun May 05, 2019 10:20 pm
Forum: Talking LiveCode
Topic: Bug reported relating to textchanged
Replies: 9
Views: 312

Re: Bug reported relating to textchanged

Yes. In my case I can have a workaround by getting the external script doing the change to do what is necessary, as it knows text has changed. But I have to put this workaround for any script making the change. It would be nicer if the field could indicate a change no matter how that change was made.
by kaveh1000
Sun May 05, 2019 11:41 am
Forum: Talking LiveCode
Topic: Bug reported relating to textchanged
Replies: 9
Views: 312

Re: Bug reported relating to textchanged

Thank you Bogs. I have watched the first tutorial and very useful. Is there a part 2?
by kaveh1000
Sat May 04, 2019 10:05 pm
Forum: Talking LiveCode
Topic: Bug reported relating to textchanged
Replies: 9
Views: 312

Re: Bug reported relating to textchanged

Ah, got it. Sorry, my confusion!

OK, but how do I use rawkey to find out if a text has been changed using a handler? I can't use on rawkeydown in place of on textchanged can I?

Pls see my minimal file I submitted in the bug report. I have added a rawkeydown handler.

Kaveh
by kaveh1000
Sat May 04, 2019 6:46 pm
Forum: Talking LiveCode
Topic: Bug reported relating to textchanged
Replies: 9
Views: 312

Re: Bug reported relating to textchanged

But it seems to me this is a bug.

Cut also did not invoke textchanged but was fixed recently:

https://quality.livecode.com/show_bug.cgi?id=21802
by kaveh1000
Sat May 04, 2019 5:56 pm
Forum: Talking LiveCode
Topic: Bug reported relating to textchanged
Replies: 9
Views: 312

Bug reported relating to textchanged

I have reported a bug here:

https://quality.livecode.com/show_bug.cgi?id=22039

Summary:

Adding text to a field via a script does not invoke textchanged
by kaveh1000
Fri May 03, 2019 6:44 pm
Forum: Off-Topic
Topic: Who's going to the conference?
Replies: 4
Views: 204

Re: Who's going to the conference?

OK, I owe you one, John. you got me. :evil:
by kaveh1000
Fri May 03, 2019 6:21 pm
Forum: Off-Topic
Topic: Who's going to the conference?
Replies: 4
Views: 204

Re: Who's going to the annual conference in San Jose?

Hi John

sorry to have been vague. I meant the LiveCode annual conference, 20–22 May in San Jose. I have changed the subject. But good to hear what you are doing. :-)

Regards
Kaveh
by kaveh1000
Fri May 03, 2019 2:03 pm
Forum: Off-Topic
Topic: Who's going to the conference?
Replies: 4
Views: 204

Who's going to the conference?

Hi all

I know there is no official list of attendees but perhaps some of those attending can post here. I will be arriving Friday before the show and would love to meet up with fellow LC folk. I am staying near the venue.

Who else is game?

Kaveh
by kaveh1000
Sat Apr 27, 2019 8:49 pm
Forum: Talking LiveCode
Topic: Allow navigation in field but prevent editing
Replies: 16
Views: 451

Re: Allow navigation in field but prevent editing

Hi folks Thank you for all the ideas. The solution that seems to work is that I save the following parameters of the field: vscroll htmlText selectedChunk When the user cuts or pastes any text, a dialogue box pops up to warn them they cannot change text, and then the parameters of the field are rese...
by kaveh1000
Sat Apr 27, 2019 2:24 pm
Forum: Talking LiveCode
Topic: Allow navigation in field but prevent editing
Replies: 16
Views: 451

Re: Allow navigation in field but prevent editing

OK. I didn't know that even though the cursor is not visible the system knows where the cursor is. Thanks for taking the time to produce the video. :-) But that itself is a major disadvantage. A user will be used to seeing the cursor with pressing arrow keys so they know where they are. I want the b...
by kaveh1000
Sat Apr 27, 2019 1:47 pm
Forum: Talking LiveCode
Topic: Allow navigation in field but prevent editing
Replies: 16
Views: 451

Re: Allow navigation in field but prevent editing

Hi Bogs

I want to be able to use arrowkeys, e.g. with shift key and select text. And to scroll around as normal text. With locked text I can't do that and can't even see text cursor.
by kaveh1000
Sat Apr 27, 2019 12:20 pm
Forum: Talking LiveCode
Topic: Allow navigation in field but prevent editing
Replies: 16
Views: 451

Re: Allow navigation in field but prevent editing

Jean-Marc I thought of something like your solution. Thanks, that is good to know. But problem is there is a lot formatting (saved as htmltext) and in addition I want the user to see minimal interruption, so they need to have same vscroll and selectedtext. So ideally want the cut and paste commands ...

Go to advanced search