Search found 26 matches
- Sat Oct 17, 2015 5:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Pull Down Menu - Default Text
- Replies: 1
- Views: 1785
Pull Down Menu - Default Text
Hey there, I've got a couple of pull down menus - I would like to set a default text that is not one of the menu items. If the user selects a menu item, I would like to display that menu item in the label. If the user clicks on the pull down menu, but doesnt end up selecting one of the menu items, I...
- Sun Oct 11, 2015 7:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Text Field - Empty Contents on Click
- Replies: 4
- Views: 4826
Re: Text Field - Empty Contents on Click
Thanks all for the reply! I'd really like to also keep the text the user input - so if they click on a field, input text, that text is stored.. So if for whatever reason they click on the field again by accident, it uses their previously input text as the default text. Does that make sense? I just d...
- Sun Oct 11, 2015 7:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ComboBox Text Issues
- Replies: 8
- Views: 5149
Re: ComboBox Text Issues
I just created a new livecode project to see if the issue was isolated to the project I was working on, however I was able to duplicate the issue again. In this picture - the top ComboBox is the default I get when I drag the control onto the card. The second image is when I stretch out the width. Th...
- Sun Oct 11, 2015 7:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ComboBox Text Issues
- Replies: 8
- Views: 5149
Re: ComboBox Text Issues
Klaus, My apologies - I was interchangeably using the two names. My issue is with a ComboBox. I've edited my posts above to hopefully make more sense. I'm just trying to resize the ComboBox to fit properly with the rest of my UI in this application, and I cannot seem to get it to work as expected. I...
- Sun Oct 11, 2015 6:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ComboBox Text Issues
- Replies: 8
- Views: 5149
Re: ComboBox Text Issues
It started going south when I tried manipulating the height of the ComboBox. I adjusted the width, no problems. I grabbed the resize handle to pull the area down (in hopes to increase the height of the ComboBox), and the height actually remains the same, and the text stays locked in place. So, when ...
- Sun Oct 11, 2015 5:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Text Field - Empty Contents on Click
- Replies: 4
- Views: 4826
Text Field - Empty Contents on Click
Hey, I've got a bunch of text fields that I populate with default text when the card opens. When the user clicks on the text field to input their own data, I'd like that text field to clear out the default text, and be automatically focused so the user can start typing. The only way I've been able t...
- Sun Oct 11, 2015 5:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ComboBox Text Issues
- Replies: 8
- Views: 5149
ComboBox Text Issues
Hey all, I've got a ComboBox that I'm trying to use - I've resized the ComboBox to what I want, changed the size of the text, but for some reason the text sits above the ComboBox and is partially cut off. I've tried messing with all of the size/formatting options, and I cannot seem to get the text t...
- Sun Oct 11, 2015 3:07 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Scripting in the Stack vs the Card
- Replies: 2
- Views: 2649
Scripting in the Stack vs the Card
Hey there, I've done a few small applications - all of which have used only one card - so I had all of my code in one place. I didn't even use the script editor for the individual objects - everything was in the card script. So my question is this - What are the pros and cons to having all of your c...
- Sat Oct 10, 2015 11:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SOLVED - Go to the next line of a text field?
- Replies: 3
- Views: 3110
Re: SOLVED - Go to the next line of a text field?
Just fooling around with this, I realized that I could use a code similar to: put "blah" into line 1 of field "fldOutput" put "blahblah" into line 2 of field "fldOutput" I didn't read any documentation, just tried what felt natural. Tip of the hat to the livecode "english like" syntax - always surpr...
- Sat Oct 10, 2015 11:14 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: SOLVED - Go to the next line of a text field?
- Replies: 3
- Views: 3110
SOLVED - Go to the next line of a text field?
I have some text that I would like to display in a multiline field, however I cannot get it to work properly on mouseUp put varName1 & " is very fast!" into field "fldOutput" put varName2 & " is not nearly as fast as " & varName1 & "!" into field "fldOutput" put varName3 & " is the slowest of all!!!...
- Sat Oct 10, 2015 8:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can LiveCode Do This for Mobile Devices...?
- Replies: 2
- Views: 2278
Re: Can LiveCode Do This for Mobile Devices...?
I'm dabbling a bit with mobile development, so I'll pitch in a small piece to this puzzle for you. There is a built-in function that will allow you to send a predefined message to a specific number. Check out the dictionary for more information. // Format - mobileComposeTextMessage "phone number", "...
- Sat Oct 10, 2015 7:45 pm
- Forum: Android Deployment
- Topic: Android Phone GPS Question
- Replies: 1
- Views: 2229
Android Phone GPS Question
Hi there,
Would it be possible to find out the speed the device is traveling through space?
Like, if your device is in your car with you, is there a way to see how fast you (and your device) are traveling?
Would it be possible to find out the speed the device is traveling through space?
Like, if your device is in your car with you, is there a way to see how fast you (and your device) are traveling?
- Sat Oct 10, 2015 7:43 pm
- Forum: iOS Deployment
- Topic: iPhone GPS Question
- Replies: 2
- Views: 3871
iPhone GPS Question
Hi there,
I'm fairly new to LiveCode, and very new to iOS Dev.
I'd like to see if it would be possible to check the current speed the phone is traveling?
Like, if your phone is in your car with you, would it be possible to see the current speed you are traveling?
I'm fairly new to LiveCode, and very new to iOS Dev.
I'd like to see if it would be possible to check the current speed the phone is traveling?
Like, if your phone is in your car with you, would it be possible to see the current speed you are traveling?
- Sat Oct 10, 2015 4:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Concatenating Arrays
- Replies: 3
- Views: 2946
Re: Concatenating Arrays
Hi Craig, I appreciate the reply and apologize for my inquiry being unclear. I come from more conventional programming languages, so how LiveCode works with arrays is a bit hard for me to wrap my head around. a ROUGH example of what I'm trying to do from a more standard programming point of view - /...
- Sat Oct 10, 2015 1:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Concatenating Arrays
- Replies: 3
- Views: 2946
Concatenating Arrays
Hey guys, I'd like to inquire about how I could concatenate arrays within livecode. Here is what I'm trying to do specifically - I have several arrays - aryName - is a string aryNum1 - is an integer aryNum2 - is an integer arySum - is an integer that is the sum of aryNum1 and aryNum2 aryTotal - is a...