Okay I updated the function to return an array to account for properties that
are in array form. It returns a numbered array with two keys, the long ID of
the object, and the property of each object you passed as an argument. I had to
remove the sorting though because I am not about to sort an a
Well an object that appears on multiple cards will of course show up multiple
times when you go from card to card. That is why my function ignores
duplicates. But it is all probably quite moot anyway, at least for ID's because
the vast majority of people don't care about them. So I wrote my func
On 03/21/2012 08:49 PM, J. Landman Gay wrote:
On 3/21/12 12:52 PM, Richmond wrote:
On 03/21/2012 07:45 PM, J. Landman Gay wrote:
On 3/21/12 12:14 PM, Richmond wrote:
I just did this:
put the ID of the last control
and it worked a charm.
I think that will only give the highest ID on that ca
On 3/21/12 12:52 PM, Richmond wrote:
On 03/21/2012 07:45 PM, J. Landman Gay wrote:
On 3/21/12 12:14 PM, Richmond wrote:
I just did this:
put the ID of the last control
and it worked a charm.
I think that will only give the highest ID on that card.
Perhaps if one adds this:
put the ID of
On 03/21/2012 07:45 PM, J. Landman Gay wrote:
On 3/21/12 12:14 PM, Richmond wrote:
I just did this:
put the ID of the last control
and it worked a charm.
I think that will only give the highest ID on that card.
Perhaps if one adds this:
put the ID of the last control in stack "DAFTY"
th
Thanks Richmond and Pete. What I want it for is to set the ID of the image I
just created to theHighestID +1. Obviously, if I just created an image, those
functions will return that image ID.
As promised, I have written a function that I think is fairly bullet proof. It
checks for an invalid o
On 3/21/12 12:14 PM, Richmond wrote:
I just did this:
put the ID of the last control
and it worked a charm.
I think that will only give the highest ID on that card.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.
I just did this:
put the ID of the last control
and it worked a charm.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailm
Yup. And I want to reuse all those wasted ID's that the Datagrid left behind. I
am writing a function using repeat loops and if I lock screen and messages it
is quite fast. I Will post it when I am done for anyone who might find it
useful.
Bob
On Mar 21, 2012, at 9:49 AM, J. Landman Gay wrot
Maybe "get the ID of the last image of stack "xyz"? Not sure if that would
work or not, I seem to remember having problems with using the "last"
keyword in the past but I think that was specifically to do with groups.
Pete
On Wed, Mar 21, 2012 at 9:49 AM, J. Landman Gay wrote:
> On 3/21/12 11:25
On 3/21/12 11:25 AM, Bob Sneidar wrote:
Can anyone think of a quick way (other than a repeat loop) to
determine the highest ID of all the image files in a stack?
The ID of the stack is the either the last-used ID or the next available
one, I forget which. It doesn't discriminate between the ki
Can anyone think of a quick way (other than a repeat loop) to determine the
highest ID of all the image files in a stack? Since I have a datagrid, the
assigned ID is way up there and I want to keep my image files in sequence. It
would be great if there were a command to get ALL the objects of a
12 matches
Mail list logo