Search found 316 matches
- Sat Oct 27, 2012 4:30 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problem moving objects
- Replies: 4
- Views: 2622
Problem moving objects
I am working on a seating chart and am having trouble allowing the user to move the seats. Right now the seats are placed in a set arrangement and locked into position. You can move the students from seat to seat. I am trying to make the seats moveable so that the user can change the arrangement of ...
- Sat Oct 20, 2012 5:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems with CSV files
- Replies: 9
- Views: 5418
Re: Problems with CSV files
how about this opening step (or variations with/without leading or trailing qoute): replace (quote & <delimiter> & quote ) with <delimiter> in x as for line deletion, try smth like: delete line 1 to 1 of x look up "delete chunk" in the dictionary Thank you for the suggestion, I will try it. As to t...
- Sat Oct 20, 2012 5:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems with CSV files
- Replies: 9
- Views: 5418
Re: Problems with CSV files
Thank you for the suggestions but I am sorry, I do not understand.Simon wrote:Did you try filter without space
and
filter without empty
and
filter without quote?
Simon
Is filter a command? Do you mean I should not be using "'s?
- Sat Oct 20, 2012 2:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems with CSV files
- Replies: 9
- Views: 5418
Problems with CSV files
I am reading data in from CSV files and having minor problems with quotes, spaces and names. Some fields had extra quotes around them (e.g. "10/18/2012") or extra spaces before and after the field (e.g. " Yes") that I want to remove. I wrote a function (see below) function removeSpaces x replace quo...
- Mon Oct 01, 2012 12:34 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Is it possible to lock the size of an object?
- Replies: 7
- Views: 4912
Re: Is it possible to lock the size of an object?
Thank you all. Those are all good answers and conceptually, they make sense. The problem is, I do not know how to do what you are suggesting and can't find any examples or documentation on it. I looked in the Dictionary, Resources, Lessons and found not much to help on those topics. I read a number ...
- Sun Sep 30, 2012 3:52 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Is it possible to lock the size of an object?
- Replies: 7
- Views: 4912
Re: Is it possible to lock the size of an object?
Thank you for the reply
That is the problem, lockLoc locks everything.
I do want to let them move it around. I just do not want them to accidentally change the sizes.
I want to lock the size but not prevent the users from positioning it
That is the problem, lockLoc locks everything.
I do want to let them move it around. I just do not want them to accidentally change the sizes.
I want to lock the size but not prevent the users from positioning it
- Sun Sep 30, 2012 1:59 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Is it possible to lock the size of an object?
- Replies: 7
- Views: 4912
Is it possible to lock the size of an object?
I am creating graphics problematically for the user to move around but I do not want the user to be able to change the size of them. Is there a way to do this? There is a lockLoc but no lockSize, lockWidth or lockHeight
- Thu Sep 20, 2012 9:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: problem with fields/math
- Replies: 5
- Views: 3191
Re: problem with fields/math
Thanks to both of you. The answer did the trick. There were numbers, each followed by a "return" which is what killed the calculation (l*w) Force of habit, pressing the "enter" key after entering something in a field. Checking the "Tab on Return" and the "Don't Wrap" will solve this problem in the f...
- Thu Sep 20, 2012 9:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: problem with fields/math
- Replies: 5
- Views: 3191
problem with fields/math
I am trying to calculate the area of a rectangle after the user types in the length and width. I have 3 text input fields: "length", "width" and "area". The user puts in the length and width, then presses the "calculate" button which has the following code: global l global w on mouseUp put field "wi...
- Tue Sep 18, 2012 4:03 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleted graphics still in Application Browser
- Replies: 3
- Views: 2416
Re: Deleted graphics still in Application Browser
Thanks!!! I would never have noticed that or have known what it was for.
Once I deploy my app and people are creating/deleting objects, will that cause any problems? It would not seem so, but I will ask anyway.
Thanks for the quick reply.
Once I deploy my app and people are creating/deleting objects, will that cause any problems? It would not seem so, but I will ask anyway.
Thanks for the quick reply.
- Tue Sep 18, 2012 2:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Deleted graphics still in Application Browser
- Replies: 3
- Views: 2416
Deleted graphics still in Application Browser
I programmatically create a number (x) of graphic objects in a repeat loop with create graphic ("obj_" & x) Later I delete them with delete graphic ("obj_" & x) They go do get deleted but when I look in the Application Browser - They are all still there (each in it's own layer). I do not understand....
- Wed Aug 08, 2012 11:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: formatting a text field
- Replies: 4
- Views: 2942
Re: formatting a text field
That was exactly what I was looking for. It works great.
I also discovered vGrid to help in choosing values for the tabStops, (hard since it is in pixels, not chars)
and hGrid which makes its also more readable.
Thanks
I also discovered vGrid to help in choosing values for the tabStops, (hard since it is in pixels, not chars)
and hGrid which makes its also more readable.
Thanks
- Wed Aug 08, 2012 4:32 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: formatting a text field
- Replies: 4
- Views: 2942
Re: formatting a text field
I am sorry that I did not explain it very well. Maybe a example will help. For instance, I want to print my address book which has a name, address, phone number, etc stored in an array. I would like to print a report with just the name and phone number and have it nicely lined up in columns. Right n...
- Wed Aug 08, 2012 1:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: formatting a text field
- Replies: 4
- Views: 2942
formatting a text field
Is there a way to format lines in a text field? I want to line up some columns in a text field as I put separate fields in them.
I tried doing it with setting tabs but that results in widely spaced columns. Is there any way to line up the columns or set column stops?
Thank you
I tried doing it with setting tabs but that results in widely spaced columns. Is there any way to line up the columns or set column stops?
Thank you
- Fri Aug 03, 2012 3:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Standalone does not work with data grids
- Replies: 1
- Views: 1713
Re: Standalone does not work with data grids
I verified that the array is being built and populated properly so it is the data grid that is not being populated on the screen under the standalone Here is the code that allows me to select a class to show in the datagrid. on menuPick pItemName global pClassNo uiViewClass pItemName put the dgNumbe...