please help!!

Mike Bonner bonnmike at gmail.com
Sun Jun 8 06:16:39 CEST 2014


The names and the labels for each button are the same?  Other than the one
with the question mark which is named tile1# in the same pattern as the
others, but has the "?" label?

As mentioned above, it sounds like the name of some of your buttons may be
duplicates.

After triple checking that again, you might grab the stable version of the
6.1.1 (Or jump to 6.6.2?)  Maybe theres something funky going on with the
6.1.1 rc 4 version. Did notice in the rc5 bug fixes that when cloning a
group, revuniqueids are not updated correctly for the groups child
controls. Don't know if you have cloned groups of buttons but thought i'd
throw it out there.


On Sat, Jun 7, 2014 at 9:43 PM, Paul Hibbert <paulhibbert at mac.com> wrote:

> Larry, it seems to work fine here, I tried LC 6.1.3 as I don't keep RC
> versions, but I'm also on a Mac, however, at least it proves the script
> sample is fine.
>
> Just a thought, could the label of button "?" also have a space or return
> char in the name?
>
> Maybe try swapping the "=" for "contains"
>
> e.g. if the label of button thisButton contains "?" then
>
> Paul
>
>
> On 2014-06-07, at 8:39 PM, larry at significantplanet.org wrote:
>
> > Thank you Randy, but that's not the case here.
> > After I got your email, I triple checked.  It's something else going on.
> >
> > ----- Original Message ----- From: "Randy Hengst" <iowahengst at mac.com>
> > To: "How to use LiveCode" <use-livecode at lists.runrev.com>
> > Sent: Saturday, June 07, 2014 9:21 PM
> > Subject: Re: please help!!
> >
> >
> >> When I've had similar problems I had multiple buttons with the same
> name.
> >>
> >>
> >>> On Jun 7, 2014, at 9:41 PM, larry at significantplanet.org wrote:
> >>>
> >>> I am using 6.1.1 (rc 4) on XP
> >>>
> >>> I have spent HOURS trying to do something that seems fairly simple.
> >>>
> >>> I have a column of buttons labeled "tile11", "tile12", etc
> >>>
> >>> After I label the buttons, they are all alpha-numeric characters
> except for one being labeled "?"
> >>>
> >>> Then I call up the following command:
> >>>
> >>> on doOpaque
> >>>
> >>> put 0 into x
> >>>
> >>> repeat rowNum times
> >>>
> >>> put x + 1 into x
> >>>
> >>> put ("tile1" & x) into thisButton
> >>>
> >>> if the label of button thisButton = "?" then
> >>>
> >>> set the opaque of button thisButton to true
> >>>
> >>> else
> >>>
> >>> set the opaque of button thisButton to false
> >>>
> >>> end if
> >>>
> >>> end repeat
> >>>
> >>> end doOpaque
> >>>
> >>>
> >>>
> >>> If I debug and step through it, it always seems to work.  However if I
> just run it, it invariably sets the opaque of the "?" button to false and
> some other button (NOT "?") to true.
> >>>
> >>> I'm really going crazy with this and would appreciate it if anyone
> knows why this is happening.
> >>>
> >>> Thanks in advance, Larry
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list