Search found 453 matches
- Sun Feb 21, 2021 10:49 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Dropdown/Option menu embedded in text in field
- Replies: 10
- Views: 630
Re: Dropdown/Option menu embedded in text in field
I had no idea of merge() either! Thanks Klaus. My first problem to get the interface sorted, and I am slowly working on that. But good to know easy to merge after and I don't have to use regex. Unfortunately this has to be reimplemented using PHP and other web tools. I have no idea if that can be do...
- Sun Feb 21, 2021 5:42 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Dropdown/Option menu embedded in text in field
- Replies: 10
- Views: 630
Re: Dropdown/Option menu embedded in text in field
Thanks to all. @Richmond – I did not know about linkClicked . Thanks for that @Bogs - That seems to be the closest approach I need to take. Please note: I need the text to be editable too, so thinking that when the mouse is over the target text, or when cursor in in target text I lock text. Else I u...
- Sun Feb 21, 2021 3:05 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Dropdown/Option menu embedded in text in field
- Replies: 10
- Views: 630
Dropdown/Option menu embedded in text in field
Hi all Sorry for over a year of absence! I have a requirement for some "variable" text within a field. It is to replace the usual "mail merge" function where a variable is put in between special characters, e.g. %FIRST_NAME% I am trying to make that more user friendly, so a user can select a choice ...
- Mon Dec 14, 2020 5:32 pm
- Forum: Talking LiveCode
- Topic: Standalone not working with script only stack
- Replies: 17
- Views: 4856
Re: Standalone not working with script only stack
Thanks Bernard. I had given up and not used this for a while. will try your suggestion as soon as I get back to the stack. Could well be.
- Mon Dec 14, 2020 5:30 pm
- Forum: Talking LiveCode
- Topic: Standalone not working with script only stack
- Replies: 17
- Views: 4856
Re: Standalone not working with script only stack
Sorry for delay, Richard. Did not see this follow-up. Also not used system for a while. But yes we were using GitHub for version control.
- Sun Nov 01, 2020 1:51 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: textChanged and rawKeyUp not working in table field
- Replies: 10
- Views: 1703
Re: textChanged and rawKeyUp not working in table field
Amazing. Thanks for the explanation, Klaus. I understand now.
- Sun Nov 01, 2020 1:09 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: textChanged and rawKeyUp not working in table field
- Replies: 10
- Views: 1703
Re: textChanged and rawKeyUp not working in table field
Hi Klaus
I don't understand how LiveCode is creating a new Field on the fly. I have one field with one name in the attached stack. It just seems to be a field but with a special characteristic that it has a tabbed structure. I can't see new fields created. Any hints?
I don't understand how LiveCode is creating a new Field on the fly. I have one field with one name in the attached stack. It just seems to be a field but with a special characteristic that it has a tabbed structure. I can't see new fields created. Any hints?
- Sun Nov 01, 2020 12:08 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: textChanged and rawKeyUp not working in table field
- Replies: 10
- Views: 1703
Re: textChanged and rawKeyUp not working in table field
Apologies, Richmond. I only read the first part of your reply. :-( Thank you for your detailed reply. I just want something to happen in the background as soon as the user has entered some text. For instance the hscroll might change in the table field. Or suppose I want LiveCode to beep as soon as t...
- Sun Nov 01, 2020 10:50 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: textChanged and rawKeyUp not working in table field
- Replies: 10
- Views: 1703
Re: textChanged and rawKeyUp not working in table field
Hi
There is no point as such, but just a test to see if rawKeyUp is seen by the field. When I type into the field I do not get the dialogue box that you get in your screenshot. I can just type freely.
I looked at Message Watcher and I can see that rawKeyUp is indeed sent.
There is no point as such, but just a test to see if rawKeyUp is seen by the field. When I type into the field I do not get the dialogue box that you get in your screenshot. I can just type freely.
I looked at Message Watcher and I can see that rawKeyUp is indeed sent.
- Sun Nov 01, 2020 12:39 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: textChanged and rawKeyUp not working in table field
- Replies: 10
- Views: 1703
textChanged and rawKeyUp not working in table field
Hi all
Please see attached minimal stack with a table field which has the following script:
Why is there no response when I edit the text?
Please see attached minimal stack with a table field which has the following script:
Code: Select all
on rawkeyup
answer "rawkeyup"
end rawkeyup
on textchanged
answer "text changed"
end textchanged
- Sat Oct 31, 2020 8:42 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return and "return"
- Replies: 7
- Views: 1370
Re: return and "return"
Hi Craig I appreciate your questions on this and they are very good ones! I can tell you what I am doing. Please see this thread: https://forums.livecode.com/viewtopic.php?f=8&t=34799 I am using the revXML library to analyse and hopefully modify complex XML files. As an example pls search for put re...
- Sat Oct 31, 2020 6:53 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return and "return"
- Replies: 7
- Views: 1370
Re: return and "return"
Hi Craig I take your point about naming of fields. I always use "t", "s" and "g" for variables, but never thought of "f" for field. Regarding the "do" workaround, the problem is a big stack that I will not post here as it has a lot of irrelevant material. So I created the minimal stack to illustrate...
- Sat Oct 31, 2020 1:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return and "return"
- Replies: 7
- Views: 1370
Re: return and "return"
Hi Klaus You have solved my problem! I never used value( ) . I have now introduced a loop similar to this in my script: repeat with i = 1 to the number of items of sOptions if value(item i of sOptions) is "return" then put "return" into item i of sOptions end if if value(item i of sOptions) is "tab"...
- Sat Oct 31, 2020 12:30 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: return and "return"
- Replies: 7
- Views: 1370
return and "return"
I have a stack where I have to construct a command, then execute it. A parameter in the command can be a tab or a return. But whatever I do these are treated as verbatim "return" or "tab". To illustrate it I attach a minimal stack. There is just one script, in the "Do it" button: on mouseup put fld ...
- Tue Oct 27, 2020 4:56 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Interacting with a complex XML file
- Replies: 3
- Views: 1051
Re: Interacting with a complex XML file
As usual, a one liner from Richard pointed me in the right direction at least to start. I can now examine XML files for structure, content, tree etc. I know that I can write to the XML file too using revXML. Here's a bit more detail about what I want to do. I am certain it can be done with LiveCode ...