Search found 37 matches
- Thu Apr 02, 2009 4:45 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Scrollable Forms
- Replies: 4
- Views: 4276
Scrollable Forms
Hello! :shock: I'm about to begin a project where I'll have to construct forms (e.g., of text fields, buttons, drop-down menus, etc.), but haven't done this very seriously in the past. To jump-start my research and perhaps gain some direction or insight, I thought I'd ask around to see what others ...
- Wed Aug 20, 2008 1:52 am
- Forum: Talking LiveCode
- Topic: Unusual slowness when changing cards
- Replies: 10
- Views: 8804
...I was not aware that "create group myGroup" set the group with the backgroundBehavior property enabled. Anyway, everything runs like a charm now. After a bit of testing, I found this to be incorrect. I created the group with create group myGroup then added various graphics, fields, etc. and remo...
- Wed Aug 20, 2008 1:38 am
- Forum: Talking LiveCode
- Topic: Unusual slowness when changing cards
- Replies: 10
- Views: 8804
Hello. I found the problem. I was not properly deleting groups that I'm creating dynamically for temporary use, and a huge number of these was created with the "backgroundBehavior" property enabled. I deleted these and am in the process of reworking my code. I should have noticed this, but I was not...
- Tue Aug 19, 2008 10:16 pm
- Forum: Talking LiveCode
- Topic: Unusual slowness when changing cards
- Replies: 10
- Views: 8804
- Thu Aug 14, 2008 8:05 pm
- Forum: Talking LiveCode
- Topic: Unusual slowness when changing cards
- Replies: 10
- Views: 8804
- Thu Aug 14, 2008 7:31 pm
- Forum: Talking LiveCode
- Topic: Unusual slowness when changing cards
- Replies: 10
- Views: 8804
As a test, I removed all front scripts and then added only my custom front script. Things operated a speed that seemed normal when I did this. I created a completely new project and without adding anything, I opened up the Message Box and typed "put the frontScripts" and I was returned the following...
- Thu Aug 14, 2008 7:20 pm
- Forum: Talking LiveCode
- Topic: Unusual slowness when changing cards
- Replies: 10
- Views: 8804
Hi mokogobo, any "preopencard/opencard/closecard" handler that might cause this? I do use all of these messages, but not on all cards, and most of the work I do in them is very small (e.g., changing a variable value, clearing a form field). I watched the messages as I switched between two of my "re...
- Thu Aug 14, 2008 7:06 pm
- Forum: Talking LiveCode
- Topic: Unusual slowness when changing cards
- Replies: 10
- Views: 8804
Unusual slowness when changing cards
Hello. I've got a single stack with about 20 cards in it, and when I switch from any card to any other card, there is an unusually long delay before the destination card is shown. The wait is approximately 2-4 seconds (always, it is this long). I do not have any terribly large images in any card, an...
- Wed Jul 30, 2008 7:57 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Unique Random Numbers
- Replies: 9
- Views: 7615
Re: Unique Random Numbers
I've put this in the repeat loop so that any repeating number is discarded and the loop counter set back by one. Works. I'm not certain of the internal workings, but I'd imagine the method you describe (looping until something is found) would be generally less efficient than creating a list of the ...
- Wed Jul 30, 2008 7:49 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Unique Random Numbers
- Replies: 9
- Views: 7615
He's some code that works. Throw it in a button and try it out. on mouseUp -- List of integers to randomize local integerList repeat with i = 1 to 30 put i into integerList[i] end repeat -- Combine elements as comma separated list of integers. -- Note that combine doesn't necessarily combine element...
- Wed Jul 30, 2008 7:14 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Rotating an Image with Specified "Forward" Directi
- Replies: 5
- Views: 5221
- Tue Jul 29, 2008 5:37 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Passing strings with commas as arguments/parameters
- Replies: 5
- Views: 4913
- Tue Jul 29, 2008 2:50 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Rotating an Image with Specified "Forward" Directi
- Replies: 5
- Views: 5221
- Mon Jul 28, 2008 7:42 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Passing strings with commas as arguments/parameters
- Replies: 5
- Views: 4913
Please post the part of your script... Here you go: on dbQueryToArray a_queryString, a_connectionId -- BEGIN: STRING PROBLEM WORKAROUND if ((the paramCount > 1) and (param(the paramCount) is not an integer)) then put param(1) into newQueryString repeat with index = 2 to (the paramCount) put (newQue...
- Mon Jul 28, 2008 1:50 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Passing strings with commas as arguments/parameters
- Replies: 5
- Views: 4913
Passing strings with commas as arguments/parameters
Hello there. I'm unable to figure out a way to pass a string containing a comma as an argument to a custom handler. I wrapped up some database code and pass the query as a parameter, and sometimes the query contains a comma. When I pass this, it splits the argument at the comma and treats it as mult...