Oh, I see.
Got it.
Thanks, Mark.
Search found 14 matches
- Sat Jul 31, 2010 11:49 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to keep track of grouped objects?
- Replies: 8
- Views: 6727
- Fri Jul 30, 2010 4:38 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to keep track of grouped objects?
- Replies: 8
- Views: 6727
Re: How to keep track of grouped objects?
Thanks, guys.
All great solutions.
I think " the owner of " was the most ideal for my purposes.
That said, it didn't work perfectly with my nested groups. Strangely, the top group was acknowledged by just one of its two subgroups, and ignored by the other (which instead identified the current card ...
All great solutions.
I think " the owner of " was the most ideal for my purposes.
That said, it didn't work perfectly with my nested groups. Strangely, the top group was acknowledged by just one of its two subgroups, and ignored by the other (which instead identified the current card ...
- Thu Jul 29, 2010 4:07 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to keep track of grouped objects?
- Replies: 8
- Views: 6727
How to keep track of grouped objects?
Is there any way I can tell what - if any - named group(s) a particular object/control is a member of?
Or, to use an alternative approach, is there any way I can list the member objects of a particular group?
Or, to use an alternative approach, is there any way I can list the member objects of a particular group?
- Thu Jul 29, 2010 3:44 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Draw a curved arrow
- Replies: 2
- Views: 2946
Re: Draw a curved arrow
Thanks, Mark.
That works well.
That works well.
- Thu Jul 29, 2010 3:36 pm
- Forum: Talking LiveCode
- Topic: Implementing an Undo routine
- Replies: 8
- Views: 8225
Re: Implementing an Undo routine
Good idea.
But, however the routine were implemented, I would still prefer for it to be called when the user selects Edit:Undo from the menus.
Surely selecting any menu item ought to trigger a system message that one could intercept?
Alternatively, does anyone know how I could modify the Edit ...
But, however the routine were implemented, I would still prefer for it to be called when the user selects Edit:Undo from the menus.
Surely selecting any menu item ought to trigger a system message that one could intercept?
Alternatively, does anyone know how I could modify the Edit ...
- Tue Jul 27, 2010 11:07 pm
- Forum: Talking LiveCode
- Topic: Implementing an Undo routine
- Replies: 8
- Views: 8225
Re: Implementing an Undo routine
Well, I peek at the clipboard data - but I don't "mess around" with it beyond that. By convention, when you paste from the clipboard, the clipboard data remains unchanged so you might even paste again (a second, third or fourth copy - even if the original instruction had only been to "cut").
But ...
But ...
- Tue Jul 27, 2010 2:33 pm
- Forum: Talking LiveCode
- Topic: Implementing an Undo routine
- Replies: 8
- Views: 8225
Re: Implementing an Undo routine
Thanks, Mark.
That's a bit remiss, don't you think?
It seems I CAN intercept the undoKey * - which, surely, is always Cmd-Z (or Ctrl+Z on Windows);
and it seems I can even intercept a message ( undoChanged ) when the action to be undone updates to some new action.
So why wouldn't Rev developers ...
That's a bit remiss, don't you think?
It seems I CAN intercept the undoKey * - which, surely, is always Cmd-Z (or Ctrl+Z on Windows);
and it seems I can even intercept a message ( undoChanged ) when the action to be undone updates to some new action.
So why wouldn't Rev developers ...
- Sun Jul 25, 2010 6:51 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Draw a curved arrow
- Replies: 2
- Views: 2946
Draw a curved arrow
I want to enable my user to drag from point A to point B and for this to draw a curved line with an arrowhead at the end.
But I can't figure out a quick way to do this.
It's simple to get Rev to draw an oval between points A and B.
Surely, if Rev can calculate an oval, then it should be able to ...
But I can't figure out a quick way to do this.
It's simple to get Rev to draw an oval between points A and B.
Surely, if Rev can calculate an oval, then it should be able to ...
- Fri Jul 23, 2010 4:06 pm
- Forum: Talking LiveCode
- Topic: Implementing an Undo routine
- Replies: 8
- Views: 8225
Implementing an Undo routine
I have a facility that enables users to delete fields from my main stack, using the list in a palette:
on deleteKey
` get the value of the selectedLine
` cut field it of card 1 of stack "organiser 4"
` send mouseup to button "List Fields" of card 1 of stack "organiser 4" -- updates the field list ...
on deleteKey
` get the value of the selectedLine
` cut field it of card 1 of stack "organiser 4"
` send mouseup to button "List Fields" of card 1 of stack "organiser 4" -- updates the field list ...
- Sat Dec 05, 2009 6:46 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using stacks as Dialogs
- Replies: 6
- Views: 7067
Re: Using stacks as Dialogs
Thank you all. I will look up dialogData.
- Fri Dec 04, 2009 9:52 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using stacks as Dialogs
- Replies: 6
- Views: 7067
Re: Using stacks as Dialogs
Thank you so much. I think that was exactly what I was after.
I had to set up OK and Cancel buttons along the following lines:
on mouseUp
global Clicked
put "OK" into Clicked
close this stack
end mouseUp
Once closed, the calling script resumes, and can glean information from the altered card ...
I had to set up OK and Cancel buttons along the following lines:
on mouseUp
global Clicked
put "OK" into Clicked
close this stack
end mouseUp
Once closed, the calling script resumes, and can glean information from the altered card ...
- Thu Dec 03, 2009 11:53 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using stacks as Dialogs
- Replies: 6
- Views: 7067
Using stacks as Dialogs
I'd like to use a stack as a sort of input dialog box.
There would be various fields and radio buttons in the "dialog" stack.
I'd like my script to pause for input, show the "dialog" window and allow the user to input data.
When the user hits an "OK" button, or the return key, I would like the ...
There would be various fields and radio buttons in the "dialog" stack.
I'd like my script to pause for input, show the "dialog" window and allow the user to input data.
When the user hits an "OK" button, or the return key, I would like the ...
- Fri Oct 02, 2009 2:11 am
- Forum: Talking LiveCode
- Topic: Confused; struggling to renumber (relayer?) my tab order.
- Replies: 1
- Views: 2519
- Fri Oct 02, 2009 1:59 am
- Forum: Talking LiveCode
- Topic: Confused; struggling to renumber (relayer?) my tab order.
- Replies: 1
- Views: 2519
Confused; struggling to renumber (relayer?) my tab order.
I have a background group in a stack which contains - I hope - all the fields and buttons on the card (some twenty odd).
For some reason, I am no longer able to rearrange the tabbing order as I would wish. Any field, no matter what its number, will only allow me to "Send Forward" or "Send to Front ...
For some reason, I am no longer able to rearrange the tabbing order as I would wish. Any field, no matter what its number, will only allow me to "Send Forward" or "Send to Front ...