Hello,
I would like to do something like that:
put replace("titiTotoHello", "(A-Z)", "_\1") into tmp
to get tmp="titi_Toto_Hello"
But livecode does not understand \1 like other languages like python, perl, (or notepad++ :-)).
It returns: titi_\1oto_\1ello
Is there simple way to do that? Does ...
Search found 3 matches
- Thu Nov 19, 2015 12:04 am
- Forum: Announcements
- Topic: Use replaceText to replace groups
- Replies: 0
- Views: 4370
- Mon Aug 24, 2015 11:55 pm
- Forum: Talking LiveCode
- Topic: Using right-click to select an element in a "list" field
- Replies: 2
- Views: 2882
Re: Using right-click to select an element in a "list" field
Hello,
I found it:
on mouseUp
set the hilitedLines of me to word 2 of the clickLine
end mouseUp
Generally, formulate a problem leads to its solution, thanks to the great function clickLine
I found it:
on mouseUp
set the hilitedLines of me to word 2 of the clickLine
end mouseUp
Generally, formulate a problem leads to its solution, thanks to the great function clickLine
- Mon Aug 24, 2015 11:34 pm
- Forum: Talking LiveCode
- Topic: Using right-click to select an element in a "list" field
- Replies: 2
- Views: 2882
Using right-click to select an element in a "list" field
Hello,
I would like to know how to select an element of a list field using the right click.
Is it possible?
I didn't see any option for that.
May be i could use the messages "mouseUp" or "mouseDown" with button index 3 but in that case, how can i find the item under the mouse location?
Is there a ...
I would like to know how to select an element of a list field using the right click.
Is it possible?
I didn't see any option for that.
May be i could use the messages "mouseUp" or "mouseDown" with button index 3 but in that case, how can i find the item under the mouse location?
Is there a ...