Search found 20 matches

by homer
Sat Aug 11, 2007 4:38 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer/counter handlers at stack level
Replies: 2
Views: 3673

timer/counter handlers at stack level

ok, I have made progress. can I put all my custom handlers in the stack script? i thought i had to include custom handlers in the object i was using it in? like "button777" on mouseUp myHandler007 end mouse on myHandler007 put "9" into fld "888" end myHandler007 (end of button script) so, if I put t...
by homer
Sat Aug 11, 2007 4:30 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer working/next question
Replies: 6
Views: 6328

mark,

thanks for you suggestion... that was my next question... see my 'new post'

homer
by homer
Fri Aug 10, 2007 4:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer working/next question
Replies: 6
Views: 6328

Klaus that wont work. I have a "next" and "previous" button on my cards. the Button03B is on card two to do what you suggest would mean that every time I go from card 2 to card 1, I would have to put that script into the openCard script. what if I don't want the card 2 button03b to be clicked 'every...
by homer
Thu Aug 09, 2007 5:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: ooops! sorry I posted a reply under the wrong subject
Replies: 1
Views: 2660

ooops! sorry I posted a reply under the wrong subject

sorry folks,

i posted my reply to "timer/counter question" under my "Is this a bug" thread.

please, no wet noodle beating! I have to get to work.. a regular job... tomorrow.

homer
by homer
Thu Aug 09, 2007 5:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer working/next question
Replies: 6
Views: 6328

executing at 11:12:57 PM Type Chunk: no such object Object Button3B Line add myRate02/10 to fld "counter03" Hint counter03 the button "Button3B" is the button on card 2 that starts my timer/counter the field "counter03" is the field on card 2 that recieves the result of my button script (see below)....
by homer
Thu Aug 09, 2007 5:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: is this a "BUG" in Rev?
Replies: 3
Views: 4094

executing at 11:12:57 PM Type Chunk: no such object Object Button3B Line add myRate02/10 to fld "counter03" Hint counter03 the button "Button3B" is the button on card 2 that starts my timer/counter the field "counter03" is the field on card 2 that recieves the result of my button script (see below)....
by homer
Wed Aug 08, 2007 6:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer working/next question
Replies: 6
Views: 6328

timer working/next question

Thanks for all the comments and suggestions on my previous posts. I have my timer/counter working pretty much the way I want it to. The timer/counter involves a number of fields, buttons and scripts in the buttons. all the fields and buttons are on one card in one stack. I did it this way to get it ...
by homer
Wed Aug 08, 2007 6:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: is this a "BUG" in Rev?
Replies: 3
Views: 4094

is this a "BUG" in Rev?

Is this a "bug" or just my computer? I know I'm new and learning, so maybe I missed something. from the keyboard: cntrl + 2 = next card cntrl + 3 = previous card however, on my computer, if I have cap-lock ON, this doesn't work. I have to take cap-lock OFF to use keyboard to go to next/previous card...
by homer
Mon Aug 06, 2007 6:46 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer/counter - new question
Replies: 9
Views: 8407

Mark,

Thanks for the suggestion. I will try that tonite. I had actually thought along those line -- a separate handler to "toggle" the state, but I wasn't quite sure where in the "mouseUp" it should go.

I'll let you know how it works out.

Thanks.

Homer
by homer
Sun Aug 05, 2007 6:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: setting "numberFormat" for a field?
Replies: 1
Views: 3038

setting "numberFormat" for a field?

I know this sounds like a stupid question. I looked thru the documentation and I couldn't figure out or find a good example. I have a field where I am putting a value. I want to set the numberFormat for that value to ^^^^.^^, that is four place holders, a decimal point, and two placeholders after th...
by homer
Sat Aug 04, 2007 7:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer/counter - new question
Replies: 9
Views: 8407

ok, I'm making progress... and learning Thanks Mark for the help. next thing is this. I created a button with a label "start1" local sRunning = false on mouseUp if not sRunning then put true into sRunning incFld else put false into sRunning end if set the backgroundcolor of me to "0,255,0" set the l...
by homer
Sat Aug 04, 2007 4:46 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer/counter - new question
Replies: 9
Views: 8407

thanks, but that didn't work.

I copied the script into a button. I created a field named "result"

when i clicked on the button, nothing happened.

more assistance would be appreciated.

thanks

homer
by homer
Fri Aug 03, 2007 6:20 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer/counter - new question
Replies: 9
Views: 8407

timer/counter - new question

ok, I know I'm not there yet. Kind of feel dump, but I'll try again. let's say I have a button for "start"/"stop" I have a field I'll call "result" when I click "start" I want to add 1 to the field "result" 1 wait 1 second 2 wait 1 second 3 and so forth. I want this to go on forever, until I click "...
by homer
Wed Jul 25, 2007 6:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer/counter question
Replies: 2
Views: 3578

thanks much

I'll give this a try. Just seeing some code gives me a hint of what I need to do.

regards,

homer
by homer
Wed Jul 25, 2007 1:59 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: timer/counter question
Replies: 2
Views: 3578

timer/counter question

hello I will try to explain: field 1 = units field 2 = duration field 3 = increments field 4 = results button1 and something like: on mouseUp get field 1 get field 2 put (field1/field2)*field3 into field 3 repeat until someother mouseUp thing end mouseUp ok, i know it's not correct, here's the conce...