Search found 1985 matches

by SparkOut
Tue Sep 23, 2008 11:04 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Add and Subtract
Replies: 31
Views: 5255

Now this is really weird: Oddly, on my Windows XP machine, for quick clicks, the messages are: mouseDown mouseUp mouseDoubleDown mouseDoubleDown mouseDoubleUp when I'm clicking the button which has mouseUp and mouseDoubleUp handlers specified. I changed the handlers to mouseDown and mouseDoubleDown ...
by SparkOut
Tue Sep 23, 2008 10:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Add and Subtract
Replies: 31
Views: 5255

Hi Bjb, SparkOut and Bernd, I have tested SparkOut's stack. If I try a double-click, assumingly it executes a mouseDoubleUp and a mouseUp (I'm having an issue with the script editor while writing this, so I can't look at the script in the default button on that stack). Yes, there's a mouseUp which ...
by SparkOut
Tue Sep 23, 2008 8:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Add and Subtract
Replies: 31
Views: 5255

There is a mouse click handler on your computer which interprets single clicks as single clicks and clicks which are very close together as double-clicks. This is what you are no doubt used to in operating your computer applications. Rev is behaving in exactly the way you'd expect as far as deciding...
by SparkOut
Mon Sep 22, 2008 4:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Add and Subtract
Replies: 31
Views: 5255

From the documentation: If the mouse has moved outside the control that was originally clicked before the user releases the mouse button, the mouseRelease message is sent instead of mouseUp . If the click is the second click of a double click, the mouseDoubleUp message is sent instead of mouseUp . T...
by SparkOut
Mon Sep 22, 2008 3:59 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Add and Subtract
Replies: 31
Views: 5255

Well did you try what has been suggested and change mouseDown to mouseUp? Also did you try adding a mouseDoubleUp handler? What happens if you replace the code in the button with the code I put above - including the mouseDoubleUp handler? The reason you are getting problem results seems to be that t...
by SparkOut
Mon Sep 22, 2008 1:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Add and Subtract
Replies: 31
Views: 5255

I can confirm also that using mouseDown and mouseDoubleDown is not working as consistently as mouseUp and mouseDoubleUp. My code snippet here seems quite workable on mouseUp theButton put the label of me into myCounter add (2 - theButton) to myCounter set the label of me to max (0, myCounter) end mo...
by SparkOut
Mon Sep 22, 2008 1:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Add and Subtract
Replies: 31
Views: 5255

On a bit of a tangent, I was wondering whether the efficiency of the handler might be improved without the "if" clause and did the process mathematically like: on mouseDown theButton put the label of me into myCounter add (2 - theButton) to myCounter set the label of me to myCounter end mouseDown (a...
by SparkOut
Fri Sep 05, 2008 10:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Convert PDF to Text
Replies: 9
Views: 1460

There seems to be some good information and resources in some of the links on this page: http://www.autoitscript.com/forum/lofiv ... 21433.html
by SparkOut
Sat Aug 30, 2008 3:21 am
Forum: Talking LiveCode
Topic: Using script to display imported video by ID
Replies: 12
Views: 3802

A workaround (however dismal) is not to import the files as videoclips, but just as binfiles, and store them in a custom properties of the stack or card. This will make them portable with the standalone. Then when you need to play the video clips, you can write them out to specialFolderPath("Tempora...
by SparkOut
Wed Aug 27, 2008 10:52 pm
Forum: Windows
Topic: Vbscript for Microsoft Access
Replies: 27
Views: 10595

With FileMaker you are presumably working with found sets which will change and update the whole recordset on various operations, moving from one record to another, for example, may cause it to interrogate the set again. You could probably mimic the same sort of operation in Access, but I should thi...
by SparkOut
Wed Aug 27, 2008 2:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SMTP libraries to send e-mail?
Replies: 4
Views: 1104

Hi Peter, If you open rev you'll see a Rev Online icon in the toolbar, next to the documentation icon. It's an online resource for Rev users to use for storing/sharing stacks for development/test/educational purposes, sort of. Click the Rev Online icon and it will open a little stack "viewer/browser...
by SparkOut
Wed Aug 27, 2008 9:48 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: SMTP libraries to send e-mail?
Replies: 4
Views: 1104

Hi, in RevOnline you'll find Andre Garcia's SMTP RawHTML stack under User Spaces>Utilities>HTML Email Sender (or under the Username SoapDog ). I can't seem to find Chipp Walters altEmailHarness there any more but it was until fairly recently I believe. It's a wrapper based on Shao Sean's libSMTP (wh...
by SparkOut
Wed Aug 27, 2008 1:30 am
Forum: Windows
Topic: Vbscript for Microsoft Access
Replies: 27
Views: 10595

I tried "MyConn.update" but it returns error. Are there other ways ? I doubt it, MyConn.execute is the correct way to execute the SQL and commit the database changes in a direct connection, as far as I know. The way I see this thing is, that you're doing nothing wrong and you won't be able to solve...
by SparkOut
Tue Aug 26, 2008 3:28 pm
Forum: Windows
Topic: Vbscript for Microsoft Access
Replies: 27
Views: 10595

Can you explain where it is that the data is not being "refreshed" - ie, is it in your rev application that you can not see any of your edits until the Access database is closed and reopened? Or is it more that your users regular view in Access is not being updated to show the new record that you in...
by SparkOut
Sun Aug 24, 2008 10:09 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: transfering text?? please help!!
Replies: 33
Views: 5071

Hi Mark, I took a look at Tanya's stack and adjusted some stuff to make it very simple for her. What she's actually looking at is having a data entry page to add a bridle number, horse name and rider name into the list of entrants in horse riding tests, where there are three "levels" (preliminary, n...

Go to advanced search