Re: iOS: strange flash when setting acceleratedRendering to false

2012-02-08 Thread J. Landman Gay

On 2/7/12 4:42 PM, Chris Sheffield wrote:


I have a card that contains a field object with words set up as
links. When a link is clicked, a "pop-up" group is displayed that
includes a blended button that covers the background in order to
disallow interacting with anything else until the "pop-up" is
dismissed. When this pop-up is displayed, I'm setting
acceleratedRendering to false. If I don't then the blended button
does not display properly (maybe this is a bug that needs to be
fixed?). However, setting acceleratedRendering to false is causing
this strange flash on the screen. And it doesn't matter if I do it
while the screen is locked or not. Setting acceleratedRendering back
to true does not cause the flash. The issue occurs both in the
simulator and on the device.


I don't have the answer, but you might try setting the compositorType to 
empty and back, instead of turning off rendering entirely. The docs make 
an oblique reference to that and it's working in my app. The difference 
is, I set it between card changes instead of between object changes, so 
who knows, but it's probably worth a try.


Another thing might depend on how your button is blended. Accelerated 
rendering doesn't allow for very many ink types. The release notes 
mention that "Only 'blendSrcOver' and the image processing blend inks 
will work". If changing the ink works, you wouldn't have to adjust the 
rendering at all.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/mailman/listinfo/use-livecode


iOS: strange flash when setting acceleratedRendering to false

2012-02-07 Thread Chris Sheffield
Okay, I know this came up on the list a couple weeks ago or so, but this is a 
strange problem. All of a sudden, I'm experiencing this issue where I wasn't 
before.

I have a card that contains a field object with words set up as links. When a 
link is clicked, a "pop-up" group is displayed that includes a blended button 
that covers the background in order to disallow interacting with anything else 
until the "pop-up" is dismissed. When this pop-up is displayed, I'm setting 
acceleratedRendering to false. If I don't then the blended button does not 
display properly (maybe this is a bug that needs to be fixed?). However, 
setting acceleratedRendering to false is causing this strange flash on the 
screen. And it doesn't matter if I do it while the screen is locked or not. 
Setting acceleratedRendering back to true does not cause the flash. The issue 
occurs both in the simulator and on the device.

Any ideas why this would happen? Like I said, it didn't use to happen. I don't 
know if I've made some change somewhere that is causing this or not. I am not 
playing with compositorType or any of the other compositor* properties. Is it 
possible that some standalone build setting would cause this? I am noticing 
that certain settings are not "sticking". All the radio buttons for the 
different features reset to "n/a" when I close the standalone application 
settings window, which is probably a separate issue. But is there an easy way 
to clear all the standalone settings and set them up again just to be sure?

Anyway, I'm at a loss here. Anyone else experiencing this who has fixed it?

Thanks,
Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com


___
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/mailman/listinfo/use-livecode


Re: A few strange behaviors accessing DBs

2012-01-26 Thread Pete
Normally yes, but the that function requires you to enclose the whole
variable name in quotes.

On Thu, Jan 26, 2012 at 11:12 AM, Bob Sneidar  wrote:

> Shouldn't you quote the non-numeric keys? myArray[1]["id"]
>
> Bob
>
>
> On Jan 26, 2012, at 10:01 AM, Pete wrote:
>
> > Assuming myArray exists and I specify
> > "myArray[1][id]" as the destination for the returned data, what ends up
> in
> > myArray is a key of "1][id" with the returned value.  Arrays with a
> single
> > level of keys work fine.
>
>
> ___
> 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/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge 
___
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/mailman/listinfo/use-livecode


Re: A few strange behaviors accessing DBs

2012-01-26 Thread Mark Schonewille
Hi Pete,

I believe all those separate database-related functions are just confusing and 
shouldn't exist in the first place. One simple command to execute all MySQL 
commands should me sufficient. There is no reason why there would be any 
distinction between revExecuteSQL and revDatabaseQuery for example.

I do all my SQL in PHP and connect from LiveCode to PHP. Saves me quite a few 
headaches.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za

On 26 jan 2012, at 19:01, Pete wrote:

> Thought I would pass on a few weirdnesses I've come across recently while
> accessing databases from LC.  Some of these are outside the day-to-day db
> access sphere but may be of interest to anyone developing db tools with LC.
> I came across all these while accessing SQLite databases.
> 
> The revDatabaseTableNames function returns a list of all the table names in
> a database.  Unfortunately, it also includes the names of any views defined
> in the database with no indication as to which are tables and which are
> views.  IMHO, this is incorrect, especially since the documentation is
> silent on it.  If I ask for table names, I want table names not view names.
> I've written my own handler to return a list of table names to get round
> this issue.
> 
> Next issue concerns the use of the special column name "rowid".  Calling
> revQueryDatabase with a SELECT statement that includes rowid as a column to
> be returned creates a db cursor, no problem.  However, if I then call
> revDatabaseColumnNames to get a list of the columns in the cursor, rowid is
> not in the list.  Instead, it is replaced by the name of the primary key
> field of the table being queried.  This in turn causes an error to be
> returned if I call revDatabaseColumnNamed, requesting the value of the
> rowid column.  "rowid" is sometimes a synonym for the primary key column of
> a table but not always.  Even when it is a synonym, I don't believe LC
> should return a column name that wasn't in the SELECT statement that
> created the cursor.
> 
> The final problem involves the use of revDatabaseColumnNamed, which returns
> the value of a named column from the current row in a cursor.  The
> dictionary says you can include a variable or an array element  parameter
> in the call to this function and the returned value will be placed into the
> specified variable/array element.  What it doesn't mention is that the
> variable/array must already exist in order for this to work.  If it
> doesn't, the variable/array is not created and no error is reported.  Not a
> big deal as long as you know about it.  Second problem concerns the use of
> multilevel array keys.  Assuming myArray exists and I specify
> "myArray[1][id]" as the destination for the returned data, what ends up in
> myArray is a key of "1][id" with the returned value.  Arrays with a single
> level of keys work fine.
> 
> As mentioned, these are pretty esoteric situations but wanted to pass them
> on in the hope that it might save someone some debugging time.
> 
> 
> -- 
> Pete
> Molly's Revenge 



___
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/mailman/listinfo/use-livecode


Re: A few strange behaviors accessing DBs

2012-01-26 Thread Bob Sneidar
Shouldn't you quote the non-numeric keys? myArray[1]["id"]

Bob


On Jan 26, 2012, at 10:01 AM, Pete wrote:

> Assuming myArray exists and I specify
> "myArray[1][id]" as the destination for the returned data, what ends up in
> myArray is a key of "1][id" with the returned value.  Arrays with a single
> level of keys work fine.


___
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/mailman/listinfo/use-livecode


A few strange behaviors accessing DBs

2012-01-26 Thread Pete
Thought I would pass on a few weirdnesses I've come across recently while
accessing databases from LC.  Some of these are outside the day-to-day db
access sphere but may be of interest to anyone developing db tools with LC.
 I came across all these while accessing SQLite databases.

The revDatabaseTableNames function returns a list of all the table names in
a database.  Unfortunately, it also includes the names of any views defined
in the database with no indication as to which are tables and which are
views.  IMHO, this is incorrect, especially since the documentation is
silent on it.  If I ask for table names, I want table names not view names.
 I've written my own handler to return a list of table names to get round
this issue.

Next issue concerns the use of the special column name "rowid".  Calling
revQueryDatabase with a SELECT statement that includes rowid as a column to
be returned creates a db cursor, no problem.  However, if I then call
revDatabaseColumnNames to get a list of the columns in the cursor, rowid is
not in the list.  Instead, it is replaced by the name of the primary key
field of the table being queried.  This in turn causes an error to be
returned if I call revDatabaseColumnNamed, requesting the value of the
rowid column.  "rowid" is sometimes a synonym for the primary key column of
a table but not always.  Even when it is a synonym, I don't believe LC
should return a column name that wasn't in the SELECT statement that
created the cursor.

The final problem involves the use of revDatabaseColumnNamed, which returns
the value of a named column from the current row in a cursor.  The
dictionary says you can include a variable or an array element  parameter
in the call to this function and the returned value will be placed into the
specified variable/array element.  What it doesn't mention is that the
variable/array must already exist in order for this to work.  If it
doesn't, the variable/array is not created and no error is reported.  Not a
big deal as long as you know about it.  Second problem concerns the use of
multilevel array keys.  Assuming myArray exists and I specify
"myArray[1][id]" as the destination for the returned data, what ends up in
myArray is a key of "1][id" with the returned value.  Arrays with a single
level of keys work fine.

As mentioned, these are pretty esoteric situations but wanted to pass them
on in the hope that it might save someone some debugging time.


-- 
Pete
Molly's Revenge 
___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Behavior

2011-12-27 Thread Mark Wieder
Bob-

Tuesday, December 27, 2011, 4:18:10 PM, you wrote:

> Yet another great argument for naming conventions!

Actually I think this a great argument for namespaces.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Behavior

2011-12-27 Thread Bob Sneidar
Yeah I don't think they have a group called "dgAltData" :-) I try to pick 
obscure names for all my objects for this very reason. Still... it might 
explain why every time I try to populate this one datagrid I get a shock 
through the mouse. Hmmm...

Bob


On Dec 27, 2011, at 4:41 PM, Pete wrote:

> Actually, now I see that there are around a dozen or so groups within the
> datagrid structure whose name starts with dg.  Definitely a good idea to
> have naming conventions but dg might not be the best choice for datagrids,
> although it is the obvious one.
> 
> On Tue, Dec 27, 2011 at 4:34 PM, Pete  wrote:
> 
>> Just don;t call them dgColumn!
>> 
>> 
>> On Tue, Dec 27, 2011 at 4:18 PM, Bob Sneidar  wrote:
>> 
>>> Yet another great argument for naming conventions! All my datagrids start
>>> with dg.
>>> 
>>> Bob


___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Behavior

2011-12-27 Thread Pete
Actually, now I see that there are around a dozen or so groups within the
datagrid structure whose name starts with dg.  Definitely a good idea to
have naming conventions but dg might not be the best choice for datagrids,
although it is the obvious one.

On Tue, Dec 27, 2011 at 4:34 PM, Pete  wrote:

> Just don;t call them dgColumn!
>
>
> On Tue, Dec 27, 2011 at 4:18 PM, Bob Sneidar  wrote:
>
>> Yet another great argument for naming conventions! All my datagrids start
>> with dg.
>>
>> Bob
>>
>>
>> On Dec 27, 2011, at 4:06 PM, Pete wrote:
>>
>> > I found the reason for this strange problem.  The second datagrid
>> mentioned
>> > in the original message was named "Columns".  In desperation, I changed
>> its
>> > name to something other than "Columns" and of course changed references
>> to
>> > it and now all works fine.
>> >
>> > It appears that "Columns" is some sort of reserved word in the datagrid
>> > world, not too surprising I suppose.
>> >
>> > Pete
>>
>>
>> ___
>> 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/mailman/listinfo/use-livecode
>>
>>
>
>
> --
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
>
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>
___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Behavior

2011-12-27 Thread Pete
Just don;t call them dgColumn!

On Tue, Dec 27, 2011 at 4:18 PM, Bob Sneidar  wrote:

> Yet another great argument for naming conventions! All my datagrids start
> with dg.
>
> Bob
>
>
> On Dec 27, 2011, at 4:06 PM, Pete wrote:
>
> > I found the reason for this strange problem.  The second datagrid
> mentioned
> > in the original message was named "Columns".  In desperation, I changed
> its
> > name to something other than "Columns" and of course changed references
> to
> > it and now all works fine.
> >
> > It appears that "Columns" is some sort of reserved word in the datagrid
> > world, not too surprising I suppose.
> >
> > Pete
>
>
> ___
> 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/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>
___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Behavior

2011-12-27 Thread Bob Sneidar
Yet another great argument for naming conventions! All my datagrids start with 
dg. 

Bob


On Dec 27, 2011, at 4:06 PM, Pete wrote:

> I found the reason for this strange problem.  The second datagrid mentioned
> in the original message was named "Columns".  In desperation, I changed its
> name to something other than "Columns" and of course changed references to
> it and now all works fine.
> 
> It appears that "Columns" is some sort of reserved word in the datagrid
> world, not too surprising I suppose.
> 
> Pete


___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Behavior

2011-12-27 Thread Pete
I found the reason for this strange problem.  The second datagrid mentioned
in the original message was named "Columns".  In desperation, I changed its
name to something other than "Columns" and of course changed references to
it and now all works fine.

It appears that "Columns" is some sort of reserved word in the datagrid
world, not too surprising I suppose.

Pete

On Tue, Dec 27, 2011 at 9:46 AM, Bob Sneidar  wrote:

> Delete the first datagrid and when it throws an error that is where
> whatever code is referencing the first datagrid literally.
>
> It sounds at first blush like you set the behavior to something other than
> the datagrid library, and then did some custom work with that behavior,
> referring to the first datagrid literally somewhere in the behavior script.
>
> Alternately, you can try edit the script of the behavior of
> mySecondDataGrid and then search for the name of the first datagrid.
>
> Bob
>
>
> On Dec 26, 2011, at 5:28 PM, Pete wrote:
>
> > I have two datagrids on a card.  When the user clicks on an option menu
> on
> > the card, the datagrids are populated with information in two different
> > formats, at least that's what's supposed to happen.
> >
> > I do this by setting the dgText of each datagrid to the value of a
> > variable.  When I set the dgText of the first datagrid (stepping through
> in
> > debug), I see the correct data show up.  When I set the dgText of the
> > second datagrid, it appears in the first datagrid and the second datagrid
> > remains empty!!  The datagrids have different names.
> >
> > I have checked the row template property to make sure it has not somehow
> > been set to the wrong datagrid but they are both correct.  I have checked
> > the value of the dgContorl property of each datagrid and it is correct
> also.
> >
> > I will say that these datagrids have have a somewhat checkered past.
>  They
> > originally existed on a different card than they reside on now, and all
> > worked fine back in those good old days.  For application design
> reasons, I
> > copied them (and a few other controls) from the original card to a
> > different card and put them all into a group.  That's when the problems
> > started.
> >
> > Any ideas on how I might track down this strange behavior?
> >
> > --
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
> > ___
> > 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/mailman/listinfo/use-livecode
>
>
> ___
> 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/mailman/listinfo/use-livecode
>
>


-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>
___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Behavior

2011-12-27 Thread Bob Sneidar
Delete the first datagrid and when it throws an error that is where whatever 
code is referencing the first datagrid literally. 

It sounds at first blush like you set the behavior to something other than the 
datagrid library, and then did some custom work with that behavior, referring 
to the first datagrid literally somewhere in the behavior script. 

Alternately, you can try edit the script of the behavior of mySecondDataGrid 
and then search for the name of the first datagrid. 

Bob


On Dec 26, 2011, at 5:28 PM, Pete wrote:

> I have two datagrids on a card.  When the user clicks on an option menu on
> the card, the datagrids are populated with information in two different
> formats, at least that's what's supposed to happen.
> 
> I do this by setting the dgText of each datagrid to the value of a
> variable.  When I set the dgText of the first datagrid (stepping through in
> debug), I see the correct data show up.  When I set the dgText of the
> second datagrid, it appears in the first datagrid and the second datagrid
> remains empty!!  The datagrids have different names.
> 
> I have checked the row template property to make sure it has not somehow
> been set to the wrong datagrid but they are both correct.  I have checked
> the value of the dgContorl property of each datagrid and it is correct also.
> 
> I will say that these datagrids have have a somewhat checkered past.  They
> originally existed on a different card than they reside on now, and all
> worked fine back in those good old days.  For application design reasons, I
> copied them (and a few other controls) from the original card to a
> different card and put them all into a group.  That's when the problems
> started.
> 
> Any ideas on how I might track down this strange behavior?
> 
> -- 
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


Strange Datagrid Behavior

2011-12-26 Thread Pete
I have two datagrids on a card.  When the user clicks on an option menu on
the card, the datagrids are populated with information in two different
formats, at least that's what's supposed to happen.

I do this by setting the dgText of each datagrid to the value of a
variable.  When I set the dgText of the first datagrid (stepping through in
debug), I see the correct data show up.  When I set the dgText of the
second datagrid, it appears in the first datagrid and the second datagrid
remains empty!!  The datagrids have different names.

I have checked the row template property to make sure it has not somehow
been set to the wrong datagrid but they are both correct.  I have checked
the value of the dgContorl property of each datagrid and it is correct also.

I will say that these datagrids have have a somewhat checkered past.  They
originally existed on a different card than they reside on now, and all
worked fine back in those good old days.  For application design reasons, I
copied them (and a few other controls) from the original card to a
different card and put them all into a group.  That's when the problems
started.

Any ideas on how I might track down this strange behavior?

-- 
Pete
Molly's Revenge <http://www.mollysrevenge.com>
___
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/mailman/listinfo/use-livecode


Re: OT? Strange behaviour with Parallels/Lion/LC

2011-11-10 Thread Bob Sneidar
There used to be an issue with WindowServer going full throttle if you launched 
Parallels and started a VM in a remote desktop session. This was Remote Desktop 
Mac not the windows one. Apparently the interaction with VNC and Parallels was 
giving WindowServer fits. If you quit the remote session and started it up 
again, WindowServer calmed down. That problem has gone away now though, unless 
it is rearing it's ugly head again. 

Bob


On Nov 8, 2011, at 12:44 PM, Graham Samuel wrote:

> This may be a bit OT, but I am running the Windows version of the LiveCode 5 
> IDE on a Mac with Lion, supporting Windows XP via the latest version of 
> Parallels Desktop (7). I can do all the usual development stuff easily 
> enough, but when I run the app I'm developing **from within the IDE**, a 
> process belonging to Parallels named prl_vm_app goes into overdrive, with the 
> Mac's Activity Monitor reporting over 100% CPU usage. This rate of use goes 
> on even when my script appears to be quiescent, waiting for the next click of 
> the mouse, and even when Parallels is in the background. When I quit my app 
> (but not the IDE) this process goes back to around 6% of CPU time.
> 
> I don't think my script does anything unusual, but somehow I am upsetting the 
> Parallels environment. I am pursuing this via Parallels Support, who 
> acknowledge it as a problem but have not yet found a solution - and I don't 
> think I should hold my breath while waiting for one as there are some similar 
> unanswered issues on their database already. 
> 
> My question to this list is, has anyone seen anything like this and is there 
> a known workaround?
> 
> TIA
> 
> Graham
> (in case you're wondering why I'm using the Windows version of the IDE while 
> I have a perfectly good Mac version on the same machine, it's because I am 
> using a Windows-only external, which means my testing has to be in a Windows 
> environment).
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


OT? Strange behaviour with Parallels/Lion/LC

2011-11-08 Thread Graham Samuel
This may be a bit OT, but I am running the Windows version of the LiveCode 5 
IDE on a Mac with Lion, supporting Windows XP via the latest version of 
Parallels Desktop (7). I can do all the usual development stuff easily enough, 
but when I run the app I'm developing **from within the IDE**, a process 
belonging to Parallels named prl_vm_app goes into overdrive, with the Mac's 
Activity Monitor reporting over 100% CPU usage. This rate of use goes on even 
when my script appears to be quiescent, waiting for the next click of the 
mouse, and even when Parallels is in the background. When I quit my app (but 
not the IDE) this process goes back to around 6% of CPU time.

I don't think my script does anything unusual, but somehow I am upsetting the 
Parallels environment. I am pursuing this via Parallels Support, who 
acknowledge it as a problem but have not yet found a solution - and I don't 
think I should hold my breath while waiting for one as there are some similar 
unanswered issues on their database already. 

My question to this list is, has anyone seen anything like this and is there a 
known workaround?

TIA

Graham
(in case you're wondering why I'm using the Windows version of the IDE while I 
have a perfectly good Mac version on the same machine, it's because I am using 
a Windows-only external, which means my testing has to be in a Windows 
environment).

___
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/mailman/listinfo/use-livecode


Re: strange text problem

2011-11-01 Thread J. Landman Gay

On 11/1/11 11:06 AM, Chris Sheffield wrote:

Unfortunately that didn't work. I did try setting the width of the
text field to the formattedWidth, which seems to help, but I've still
got the shifting going on sometimes. It's almost as if by changing
the color of a chunk it's causing the field to wrap its text
differently. Very strange.

Any other suggestions?


It sounds like setting a text color widens the text slightly. That would 
cause a rewrap. If your default color is black, I wonder if you could 
fudge it by changing the default color to something that is a tiny 
increment different. Instead of black, try "1,0,0". The engine would see 
this as a "color" instead of the default and might retain its colorized 
width. The difference to the human eye would be imperceptible.


Just a guess but maybe worth a try.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/mailman/listinfo/use-livecode


RE: strange text problem

2011-11-01 Thread Mark Powell
In addition to explicitly setting the textColor, you might try explicitly 
setting the textHeight.  You might also test with Courier to see if a different 
font set behaves similarly.

-Original Message-
From: use-livecode-boun...@lists.runrev.com 
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Scott Rossi
Sent: Monday, October 31, 2011 2:56 PM
To: LiveCode Mail List
Subject: Re: strange text problem

Have you tried explicitly setting the textColor of all text in the field to
your default before setting the textColor of the next string?  Perhaps
resetting the text to the default (or empty) in between updates will get
around the problem.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


Recently, Chris Sheffield wrote:

> Wondering if anyone has a fix for this one.
>
> I'm working on an iOS app for iPad. I've got a block of text (a story) in a
> text field. I'm changing the color of sentences in time with audio that is
> playing. As the color changes, the text is shifting, almost as if the size of
> the text is changing slightly. All I'm doing is setting the textColor of a
> chunk of text. Something like:
>
> set the textColor of word 1 to 8 of fld "text" to blue
>
> I am not applying a font size or style or anything like that. The problem does
> not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator
> and on the device.
>
> Has anyone done anything similar? Can the problem be fixed? I don't know if
> it's just a matter of finding the right dimensions for my field and/or a
> combination of text size and text height? Right now the field is 600 pixels in
> width. The font is Arial, size 20, and the text height is set to 28.
>
> Any suggestions would be welcome.
>
> Thanks,
> Chris
>
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
>
>


___
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/mailman/listinfo/use-livecode


RE: strange text problem

2011-11-01 Thread Ralph DiMola
Is it possible that multiple white spaces between words are being compressed
to 1? Are different types of white spaces (160 non-breaking space for
example) are being changed to a 32(standard ascii space).

Ralph DiMola
IT Director
Evergreen Information Services

-Original Message-
From: use-livecode-boun...@lists.runrev.com
[mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Chris Sheffield
Sent: Tuesday, November 01, 2011 12:06 PM
To: How to use LiveCode
Subject: Re: strange text problem

Unfortunately that didn't work. I did try setting the width of the text
field to the formattedWidth, which seems to help, but I've still got the
shifting going on sometimes. It's almost as if by changing the color of a
chunk it's causing the field to wrap its text differently. Very strange.

Any other suggestions?

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Oct 31, 2011, at 3:56 PM, Scott Rossi wrote:

> Have you tried explicitly setting the textColor of all text in the field
to
> your default before setting the textColor of the next string?  Perhaps
> resetting the text to the default (or empty) in between updates will get
> around the problem.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> Recently, Chris Sheffield wrote:
> 
>> Wondering if anyone has a fix for this one.
>> 
>> I'm working on an iOS app for iPad. I've got a block of text (a story) in
a
>> text field. I'm changing the color of sentences in time with audio that
is
>> playing. As the color changes, the text is shifting, almost as if the
size of
>> the text is changing slightly. All I'm doing is setting the textColor of
a
>> chunk of text. Something like:
>> 
>> set the textColor of word 1 to 8 of fld "text" to blue
>> 
>> I am not applying a font size or style or anything like that. The problem
does
>> not occur in the LiveCode IDE as far as I can tell. Only in the iOS
simulator
>> and on the device.
>> 
>> Has anyone done anything similar? Can the problem be fixed? I don't know
if
>> it's just a matter of finding the right dimensions for my field and/or a
>> combination of text size and text height? Right now the field is 600
pixels in
>> width. The font is Arial, size 20, and the text height is set to 28.
>> 
>> Any suggestions would be welcome.
>> 
>> Thanks,
>> Chris
>> 
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>> 
>> 
>> ___
>> 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/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


Re: strange text problem

2011-11-01 Thread Chris Sheffield
Unfortunately that didn't work. I did try setting the width of the text field 
to the formattedWidth, which seems to help, but I've still got the shifting 
going on sometimes. It's almost as if by changing the color of a chunk it's 
causing the field to wrap its text differently. Very strange.

Any other suggestions?

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Oct 31, 2011, at 3:56 PM, Scott Rossi wrote:

> Have you tried explicitly setting the textColor of all text in the field to
> your default before setting the textColor of the next string?  Perhaps
> resetting the text to the default (or empty) in between updates will get
> around the problem.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> Recently, Chris Sheffield wrote:
> 
>> Wondering if anyone has a fix for this one.
>> 
>> I'm working on an iOS app for iPad. I've got a block of text (a story) in a
>> text field. I'm changing the color of sentences in time with audio that is
>> playing. As the color changes, the text is shifting, almost as if the size of
>> the text is changing slightly. All I'm doing is setting the textColor of a
>> chunk of text. Something like:
>> 
>> set the textColor of word 1 to 8 of fld "text" to blue
>> 
>> I am not applying a font size or style or anything like that. The problem 
>> does
>> not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator
>> and on the device.
>> 
>> Has anyone done anything similar? Can the problem be fixed? I don't know if
>> it's just a matter of finding the right dimensions for my field and/or a
>> combination of text size and text height? Right now the field is 600 pixels 
>> in
>> width. The font is Arial, size 20, and the text height is set to 28.
>> 
>> Any suggestions would be welcome.
>> 
>> Thanks,
>> Chris
>> 
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>> 
>> 
>> ___
>> 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/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


Re: strange text problem

2011-10-31 Thread Chris Sheffield
Scott,

Good idea. I haven't tried that. Will do so and let you know.

Thanks.

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Oct 31, 2011, at 3:56 PM, Scott Rossi wrote:

> Have you tried explicitly setting the textColor of all text in the field to
> your default before setting the textColor of the next string?  Perhaps
> resetting the text to the default (or empty) in between updates will get
> around the problem.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> Recently, Chris Sheffield wrote:
> 
>> Wondering if anyone has a fix for this one.
>> 
>> I'm working on an iOS app for iPad. I've got a block of text (a story) in a
>> text field. I'm changing the color of sentences in time with audio that is
>> playing. As the color changes, the text is shifting, almost as if the size of
>> the text is changing slightly. All I'm doing is setting the textColor of a
>> chunk of text. Something like:
>> 
>> set the textColor of word 1 to 8 of fld "text" to blue
>> 
>> I am not applying a font size or style or anything like that. The problem 
>> does
>> not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator
>> and on the device.
>> 
>> Has anyone done anything similar? Can the problem be fixed? I don't know if
>> it's just a matter of finding the right dimensions for my field and/or a
>> combination of text size and text height? Right now the field is 600 pixels 
>> in
>> width. The font is Arial, size 20, and the text height is set to 28.
>> 
>> Any suggestions would be welcome.
>> 
>> Thanks,
>> Chris
>> 
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>> 
>> 
>> ___
>> 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/mailman/listinfo/use-livecode
> 
> 
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


Re: strange text problem

2011-10-31 Thread Scott Rossi
Have you tried explicitly setting the textColor of all text in the field to
your default before setting the textColor of the next string?  Perhaps
resetting the text to the default (or empty) in between updates will get
around the problem.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Chris Sheffield wrote:

> Wondering if anyone has a fix for this one.
> 
> I'm working on an iOS app for iPad. I've got a block of text (a story) in a
> text field. I'm changing the color of sentences in time with audio that is
> playing. As the color changes, the text is shifting, almost as if the size of
> the text is changing slightly. All I'm doing is setting the textColor of a
> chunk of text. Something like:
> 
> set the textColor of word 1 to 8 of fld "text" to blue
> 
> I am not applying a font size or style or anything like that. The problem does
> not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator
> and on the device.
> 
> Has anyone done anything similar? Can the problem be fixed? I don't know if
> it's just a matter of finding the right dimensions for my field and/or a
> combination of text size and text height? Right now the field is 600 pixels in
> width. The font is Arial, size 20, and the text height is set to 28.
> 
> Any suggestions would be welcome.
> 
> Thanks,
> Chris
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> ___
> 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/mailman/listinfo/use-livecode



___
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/mailman/listinfo/use-livecode


strange text problem

2011-10-31 Thread Chris Sheffield
Wondering if anyone has a fix for this one.

I'm working on an iOS app for iPad. I've got a block of text (a story) in a 
text field. I'm changing the color of sentences in time with audio that is 
playing. As the color changes, the text is shifting, almost as if the size of 
the text is changing slightly. All I'm doing is setting the textColor of a 
chunk of text. Something like:

set the textColor of word 1 to 8 of fld "text" to blue

I am not applying a font size or style or anything like that. The problem does 
not occur in the LiveCode IDE as far as I can tell. Only in the iOS simulator 
and on the device.

Has anyone done anything similar? Can the problem be fixed? I don't know if 
it's just a matter of finding the right dimensions for my field and/or a 
combination of text size and text height? Right now the field is 600 pixels in 
width. The font is Arial, size 20, and the text height is set to 28.

Any suggestions would be welcome.

Thanks,
Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com


___
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/mailman/listinfo/use-livecode


Strange results from executing a locale command

2011-10-12 Thread Pete
I was given the following code by RR support to execute a locale command in
OS X:

 *put* line 1 of shell("defaults read .GlobalPreferences AppleLocale") into$LANG
*put* uniDecode(uniEncode(shell("locale -k LC_NUMERIC"), "utf8")) intomyFormats

After execution, myFormats contains:

decimal_point="."
thousands_sep=
grouping="0"

If I execute the same locale command in Terminal, the output looks like:

decimal_point="."
thousands_sep=","
grouping="3;3"

The first line in MyFormats is the same as the first line in the Terminal
output but the other lines have garbage after the "=".  What am I doing
wrong?


Thanks,


Pete
Molly's Revenge 
___
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/mailman/listinfo/use-livecode


Re: 5.0: strange graphic artifacts with QT controller

2011-10-11 Thread Klaus on-rev
Hi folks,

Am 11.10.2011 um 16:59 schrieb Klaus on-rev:

> Hi Curt,
>> ...
>> When I quit 5.0 and re-opened the project in 4.6.4, the QT controllers & 
>> sound were fine (phew).
>> Any ideas? Or do I need to stick with 4.6.4 until 5.0 gets some QT issues 
>> ironed out?  I'm using Snow Leopard, 10.6.8.
> just tested here and yes there are SEVERE redraw problems as you described!
> I will bug report this immediately with some screenshots!

Done, bug nr. 9800: 


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


Re: 5.0: strange graphic artifacts with QT controller

2011-10-11 Thread Klaus on-rev
Hi Curt,

Am 11.10.2011 um 16:42 schrieb Curt Ford:

> I just downloaded 5.0, so glad that "the long standing issue of standalones 
> being incorrectly sized should no longer happen." on Mac.
> 
> I opened up my current project, which includes a number of QuickTime control 
> bars linked to mp3 files. They were fine in 4.6.4, both in development and in 
> standalones. In 5.0, both development and standalone, when you navigate to a 
> card with a QT control bar, the control bar is just an outline, as if there 
> were no linked file. When I click the 'blank' controller, a normal controller 
> appears about 10 pixels below the blank one, but it doesn't respond to clicks.
> 
> I started a new mainstack, dragged over a QT controller & linked it to an mp3 
> file. I saw the same odd graphic behavior, though the audio did play on the 
> controller that appeared after clicking the first controller.
> 
> When I quit 5.0 and re-opened the project in 4.6.4, the QT controllers & 
> sound were fine (phew).
> 
> Any ideas? Or do I need to stick with 4.6.4 until 5.0 gets some QT issues 
> ironed out?  I'm using Snow Leopard, 10.6.8.

just tested here and yes there a SEVERE redraw problems as you described!
I will bug report this immediately with some screenshots!

Thanks for the hint!

> Curt

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


5.0: strange graphic artifacts with QT controller

2011-10-11 Thread Curt Ford
I just downloaded 5.0, so glad that "the long standing issue of  
standalones being incorrectly sized should no longer happen." on Mac.


I opened up my current project, which includes a number of QuickTime  
control bars linked to mp3 files. They were fine in 4.6.4, both in  
development and in standalones. In 5.0, both development and  
standalone, when you navigate to a card with a QT control bar, the  
control bar is just an outline, as if there were no linked file. When  
I click the 'blank' controller, a normal controller appears about 10  
pixels below the blank one, but it doesn't respond to clicks.


I started a new mainstack, dragged over a QT controller & linked it to  
an mp3 file. I saw the same odd graphic behavior, though the audio did  
play on the controller that appeared after clicking the first  
controller.


When I quit 5.0 and re-opened the project in 4.6.4, the QT controllers  
& sound were fine (phew).


Any ideas? Or do I need to stick with 4.6.4 until 5.0 gets some QT  
issues ironed out?  I'm using Snow Leopard, 10.6.8.


Curt


___
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/mailman/listinfo/use-livecode


Re: Strange menu TAG problem OS X

2011-08-30 Thread Klaus on-rev
Hi Bob,

Am 30.08.2011 um 17:37 schrieb Bob Sneidar:

> Seems stupid for me to say, but I'd check that the actual name of the about 
> stack really is about and not uber.
> You may have simple made the display name "about", but the actual stack name 
> is "uber". 

Nope! :-)

> Bob
> 
> 
> On Aug 30, 2011, at 5:14 AM, Klaus on-rev wrote:
> 
>> Hi friends,
>> 
>> toady I encounteed a very strange problem with my help menu  on OSX
>> LC 4.6.3, OS X Lion
>> 
>> The content of the menu, the "labels" are correctly generated "on the fly" 
>> according to the current OS language:
>>> Hilfe/H|help
>>> -
>>> Registrieren.../|register
>>> -
>>> Nach Updates suchen.../|search4update
>>> -
>>> Über/|about
>> 
>> 
>> Script as usual:
>>> on menuPick pItemName
>>> switch pItemName
>>>case "search4update"
>>>  ## Stuff...
>>>   break 
>>>case "register"
>>>   ## more stuff here
>>>   break
>>>case "help"
>>>   ## help stuff
>>>   break
>>>case "about"
>>>   go stack "about"
>>>   break
>>> end switch
>>> end menuPick
>> 
>> 
>> The "about" stack was added today by me, but picking the menu
>> "about" did not work!? No stack "about"!?
>> 
>> All other menuitems work as exspected.
>> 
>> Debugging showed me that the "pItemName" was NOT "about" as exspected
>> but "Über"???, so the stack did not show until I added this:
>> ...
>> case "about"
>> case "über"
>> ...
>> 
>> What gives? It should be "about" in any case, right?
>> That's what these new menu "tags" are made for!
>> 
>> Do I need to catch AppleEvents for the "App menu" stuff?
>> 
>> Any hints very appreciated.

Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


Re: Strange menu TAG problem OS X

2011-08-30 Thread Bob Sneidar
Seems stupid for me to say, but I'd check that the actual name of the about 
stack really is about and not uber. You may have simple made the display name 
"about", but the actual stack name is "uber". 

Bob


On Aug 30, 2011, at 5:14 AM, Klaus on-rev wrote:

> Hi friends,
> 
> toady I encounteed a very strange problem with my help menu  on OSX
> LC 4.6.3, OS X Lion
> 
> The content of the menu, the "labels" are correctly generated "on the fly" 
> according to the current OS language:
>> Hilfe/H|help
>> -
>> Registrieren.../|register
>> -
>> Nach Updates suchen.../|search4update
>> -
>> Über/|about
> 
> 
> Script as usual:
>> on menuPick pItemName
>>  switch pItemName
>> case "search4update"
>>   ## Stuff...
>>break 
>> case "register"
>>## more stuff here
>>break
>> case "help"
>>## help stuff
>>break
>> case "about"
>>go stack "about"
>>break
>>  end switch
>> end menuPick
> 
> 
> The "about" stack was added today by me, but picking the menu
> "about" did not work!? No stack "about"!?
> 
> All other menuitems work as exspected.
> 
> Debugging showed me that the "pItemName" was NOT "about" as exspected
> but "Über"???, so the stack did not show until I added this:
> ...
> case "about"
> case "über"
> ...
> 
> What gives? It should be "about" in any case, right?
> That's what these new menu "tags" are made for!
> 
> Do I need to catch AppleEvents for the "App menu" stuff?
> 
> Any hints very appreciated.
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.com
> 
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


Strange menu TAG problem OS X

2011-08-30 Thread Klaus on-rev
Hi friends,

toady I encounteed a very strange problem with my help menu  on OSX
LC 4.6.3, OS X Lion

The content of the menu, the "labels" are correctly generated "on the fly" 
according to the current OS language:
> Hilfe/H|help
> -
> Registrieren.../|register
> -
> Nach Updates suchen.../|search4update
> -
> Über/|about


Script as usual:
> on menuPick pItemName
>   switch pItemName
>  case "search4update"
>## Stuff...
> break 
>  case "register"
> ## more stuff here
> break
>  case "help"
> ## help stuff
> break
>  case "about"
> go stack "about"
> break
>   end switch
> end menuPick


The "about" stack was added today by me, but picking the menu
"about" did not work!? No stack "about"!?

All other menuitems work as exspected.

Debugging showed me that the "pItemName" was NOT "about" as exspected
but "Über"???, so the stack did not show until I added this:
...
case "about"
case "über"
...

What gives? It should be "about" in any case, right?
That's what these new menu "tags" are made for!

Do I need to catch AppleEvents for the "App menu" stuff?

Any hints very appreciated.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


Re: Strange Loss Of Focus

2011-06-27 Thread Scott Rossi
Thanks  -- you might be right Terry.  In my case, the copy event is being
initiated by the palette, but the actual copying is taking place between two
other stacks, which might have something to do with the problem.  But given
that the starting stack is a palette, I would think mouseMove would always
be active there.

Thanks to John C for the frontScript suggestion.  Might wind up trying that.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Terry Judd wrote:

> There must be something about your particular situation because copying a
> group from a palette to a toplevel stack didn't interfere with a simple
> mouseMove handler in the palette stack for me, irrespective of whether it
> was initiated from the palette stack or the toplevel stack.
> 
> I guess it's no better than using the click command, but does focusing on a
> particular control on the palette stack after the copy also bring the
> palette back into play?
> 
> Terry...
> 
> 
> On 28/06/2011 08:31 AM, "Scott Rossi"  wrote:
> 
>> The message title would normally refer to me, but in this case, the problem
>> is with a stack...
>> 
>> I have a palette stack that initiates copying of groups from one stack to
>> another.  Once the copy is done, the palette stack apparently loses focus,
>> and a mouseMove handler in the palette refuses to trigger unless the mouse
>> moves in and out of the stack's rect 2 times.
>> 
>> I've started using a workaround (?) that sends a physical "click" command to
>> the palette after the copy operation finishes, to try to physically activate
>> the palette again.  It seems to be working, but this is kind of goofy and
>> I'm wondering if there's a better way to make the palette's mouseMove
>> detection responsive again.
>> 
>> Thanks for any suggestions.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX Design
>> 
>> 
>> 
>> ___
>> 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/mailman/listinfo/use-livecode
>> 
> 
> --
> Dr Terry Judd | Senior Lecturer in Medical Education
> Medical Education Unit
> Melbourne Medical School
> The University of Melbourne
> 
> 
> 
> 
> ___
> 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/mailman/listinfo/use-livecode



___
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/mailman/listinfo/use-livecode


Re: Strange Loss Of Focus

2011-06-27 Thread Terry Judd
There must be something about your particular situation because copying a
group from a palette to a toplevel stack didn't interfere with a simple
mouseMove handler in the palette stack for me, irrespective of whether it
was initiated from the palette stack or the toplevel stack.

I guess it's no better than using the click command, but does focusing on a
particular control on the palette stack after the copy also bring the
palette back into play?

Terry...


On 28/06/2011 08:31 AM, "Scott Rossi"  wrote:

> The message title would normally refer to me, but in this case, the problem
> is with a stack...
> 
> I have a palette stack that initiates copying of groups from one stack to
> another.  Once the copy is done, the palette stack apparently loses focus,
> and a mouseMove handler in the palette refuses to trigger unless the mouse
> moves in and out of the stack's rect 2 times.
> 
> I've started using a workaround (?) that sends a physical "click" command to
> the palette after the copy operation finishes, to try to physically activate
> the palette again.  It seems to be working, but this is kind of goofy and
> I'm wondering if there's a better way to make the palette's mouseMove
> detection responsive again.
> 
> Thanks for any suggestions.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> 
> ___
> 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/mailman/listinfo/use-livecode
> 

--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne




___
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/mailman/listinfo/use-livecode


Re: Strange Loss Of Focus

2011-06-27 Thread John Craig
Possibility : Have a frontscript intercept mouseMoves and check if the 
screenMouseLoc is within the rect of stack "yourStack".  You can then 
act accordingly or just pass the mouseMove.



HTH  :)


On 27/06/2011 23:31, Scott Rossi wrote:

The message title would normally refer to me, but in this case, the problem
is with a stack...

I have a palette stack that initiates copying of groups from one stack to
another.  Once the copy is done, the palette stack apparently loses focus,
and a mouseMove handler in the palette refuses to trigger unless the mouse
moves in and out of the stack's rect 2 times.

I've started using a workaround (?) that sends a physical "click" command to
the palette after the copy operation finishes, to try to physically activate
the palette again.  It seems to be working, but this is kind of goofy and
I'm wondering if there's a better way to make the palette's mouseMove
detection responsive again.

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___
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/mailman/listinfo/use-livecode



___
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/mailman/listinfo/use-livecode


Strange Loss Of Focus

2011-06-27 Thread Scott Rossi
The message title would normally refer to me, but in this case, the problem
is with a stack...

I have a palette stack that initiates copying of groups from one stack to
another.  Once the copy is done, the palette stack apparently loses focus,
and a mouseMove handler in the palette refuses to trigger unless the mouse
moves in and out of the stack's rect 2 times.

I've started using a workaround (?) that sends a physical "click" command to
the palette after the copy operation finishes, to try to physically activate
the palette again.  It seems to be working, but this is kind of goofy and
I'm wondering if there's a better way to make the palette's mouseMove
detection responsive again.

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___
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/mailman/listinfo/use-livecode


Re: custom control group - strange behavior

2011-06-13 Thread Shao Sean
I believe it is an error in the Application Browser.. (was mentioned  
either on this list or in the forums)


___
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/mailman/listinfo/use-livecode


custom control group - strange behavior

2011-06-13 Thread John Craig
I have grouped objects together and set 'selectGroupedControls' to false 
to create a custom control.
Usually this works no problem, but in this one case I have the following 
scenario;


(The names are fictitious, but hopefully easier to follow)

The group 'customControl' contains groups, labels and graphics.
CustomControl's first sub group 'subGroup1' also contains further sub 
groups.
SubGroup1's sub groups 'subSubGroup1' and 'subSubGroup2' are NOT hidden 
in the application browser, but their parent group is!


I can see customControl then subGroup1 is hidden, but subSubGroup1 and 
subSubGroup2 show in the app. browser indented 2 units.


Has anyone seen this before?  If so, is there a fix without having to 
recreate the whole control from scratch.  I've compared the group 
properties of the various controls and there doesn't appear to be a 
difference.


Thanks in advance for any tips,

JC

___
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/mailman/listinfo/use-livecode


Re: Strange phenomena

2011-01-05 Thread Bob Sneidar
Ohhh. Nice!

Bob


On Dec 18, 2010, at 9:44 PM, J. Landman Gay wrote:

> Another way to handle it is not to set the stack's menubar during 
> development, just leave it at the top of the window. Then in a preopenstack 
> handler, check "the environment" and if it is "standalone" then set the 
> menubar of the stack to the group. That will automatically force a resize on 
> Macs only and leave the Windows stack alone. That's what I've been doing with 
> the last few standalones I've made. The down side of doing this is that 
> keyboard command keys aren't available in the IDE, since the menubar isn't in 
> the system menu while the IDE is running.


___
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/mailman/listinfo/use-livecode


Re: Strange phenomena

2010-12-18 Thread J. Landman Gay

On 12/18/10 11:27 PM, Joe Lewis Wilkins wrote:

Just built a windows version of my latest app with unusual results. I
set the size of my cards in an openCard handler in the stacks'
scripts. The Window's version makes the answer dialogs the same
height as the windows. Huge! No problems with the Mac Version. Any
one else encounter this anomaly? And what might have caused this?
Earlier builds, when I was not routinely setting card size do not do
this that I recall. Would this not be termed a bug?


Probably something in your scripts. Try referencing the stack by name 
when you set its size. If you're using "this stack" then depending on 
how your scripts are written, it could be resizing the wrong one. That's 
what it sounds like.


But on Windows you shouldn't need to resize the stack. Windows stacks 
should be the same size as they are in the IDE. Check "the platform" and 
only resize if you're on MacOS.


There was a long-standing bug in the engine that caused a bad stack 
resize on Macs but I thought it was fixed recently. The workaround was 
to just turn off destroystack and destroywindow and stacks would resize 
as expected without doing anything else. That's the preferred solution 
and I've used it.


Another way to handle it is not to set the stack's menubar during 
development, just leave it at the top of the window. Then in a 
preopenstack handler, check "the environment" and if it is "standalone" 
then set the menubar of the stack to the group. That will automatically 
force a resize on Macs only and leave the Windows stack alone. That's 
what I've been doing with the last few standalones I've made. The down 
side of doing this is that keyboard command keys aren't available in the 
IDE, since the menubar isn't in the system menu while the IDE is running.


The last solution goes something like this:

on preOpenStack
 if the environment is "standalone"
 then set the menubar of this stack to "myMenuGroup"
end preOpenStack

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/mailman/listinfo/use-livecode


Strange phenomena

2010-12-18 Thread Joe Lewis Wilkins
Just built a windows version of my latest app with unusual results. I set the 
size of my cards in an openCard handler in the stacks' scripts. The Window's 
version makes the answer dialogs the same height as the windows. Huge! No 
problems with the Mac Version. Any one else encounter this anomaly? And what 
might have caused this? Earlier builds, when I was not routinely setting card 
size do not do this that I recall. Would this not be termed a bug?

TIA,
 
Joe Lewis Wilkins
Architect & Director of Product Development for GSI







___
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/mailman/listinfo/use-livecode


Strange edit anomaly

2010-12-12 Thread Joe Lewis Wilkins
 Anyone...

>From my edit menu - in the app - if I select some text in my stack and choose 
>Cut or Copy and then Paste, everything works fine; but, if I use the Command 
>Key equivalents, 2 of the strings copied or cut are pasted; though the 
>clipBoardData only shows a single string. I thought it might be because of my 
>heavy hands, but I turned the Keyboard repeat in the System Preferences and 
>nothing was changed. Really strange. I've tried some work-arounds; like 
>clearing the clipBoardData before doing the copy/cut, but with no effect. Any 
>ideas?

Joe Wilkins


___
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/mailman/listinfo/use-livecode


Re: Something strange with On-Rev

2010-12-12 Thread Medard
Alex Tweedly  wrote:

> That's just the way "ls -l" works .
> 
> if the modification date is a while ago, words 6 - 8 contain the date,
> month and year
> if the modification date is recent enough, words 6 - 8 contain the date,
> month and time

Okay! You solved the mystery :-)

___
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/mailman/listinfo/use-livecode


Re: Something strange with On-Rev

2010-12-11 Thread Alex Tweedly

That's just the way "ls -l" works .

if the modification date is a while ago, words 6 - 8 contain the date, 
month and year
if the modification date is recent enough, words 6 - 8 contain the date, 
month and time


e.g.

drwx--+  26 alextweedly  staff 884  7 Dec 22:52 Desktop
drwx--+   3 alextweedly  staff 102  4 May  2010 Movies
drwx--+   4 alextweedly  staff 136  5 May  2010 Music
drwx--+   7 alextweedly  staff 238 15 Sep 20:46 Pictures



I'd use "the detailed files" rather than messing with "ls -l"

-- Alex.

On 11/12/2010 17:09, Medard wrote:

I encounter a strange thing: at the footer in my web pages, I put a
notice stating the last modification date.

This date is calculated on the server, with a dedicated procedure
(Thanks to Sarah :-))

===script===

 -- get the path to the page just loaded
 put $_SERVER["PATH_TRANSLATED"] into tPath

 -- use the ls shell command to get the details for this file
 put shell("ls -l "&  quote&  tPath&  quote) into tListing

 put line 1 of tListing into tFileData

 -- remove the excess data
 delete word 1 to 5 of tFileData
 replace tPath with empty in tFileData

 put word 2 of tFileData into tjour
 put word 1 of tFileData into tmois
 put word 3 of tFileData into tannee

 put "Modif. Medard"&&  tjour&&  tmois&&  tannee

=

this procedure is called in the footer as an include:



On the "interior" web pages, the date is OK:

Modif. Medard 30 Nov 2009

But i get this on the home page:

Modif. Medard 11 Dec 10:30

?

Any idea?
That said, it is only a cosmetic big ;-)
I wonder myself the very same procedure gives two different results,
depending on the position in the directory hierarchy...

___
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/mailman/listinfo/use-livecode




___
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/mailman/listinfo/use-livecode


Something strange with On-Rev

2010-12-11 Thread Medard
I encounter a strange thing: at the footer in my web pages, I put a
notice stating the last modification date.

This date is calculated on the server, with a dedicated procedure
(Thanks to Sarah :-))

===script===

-- get the path to the page just loaded
put $_SERVER["PATH_TRANSLATED"] into tPath

-- use the ls shell command to get the details for this file
put shell("ls -l " & quote & tPath & quote) into tListing

put line 1 of tListing into tFileData

-- remove the excess data
delete word 1 to 5 of tFileData
replace tPath with empty in tFileData

put word 2 of tFileData into tjour
put word 1 of tFileData into tmois
put word 3 of tFileData into tannee

put "Modif. Medard" && tjour && tmois && tannee

= 

this procedure is called in the footer as an include:



On the "interior" web pages, the date is OK:

Modif. Medard 30 Nov 2009

But i get this on the home page:

Modif. Medard 11 Dec 10:30

?

Any idea?
That said, it is only a cosmetic big ;-)
I wonder myself the very same procedure gives two different results,
depending on the position in the directory hierarchy...

___
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/mailman/listinfo/use-livecode


Re: strange imagedata

2010-11-27 Thread Klaus on-rev
Hi Scott,

> Recently, Klaus on-rev wrote:
> 
>> OK, the point/my problem is:
>> How can we tell if an image is really empty (neither referenced nor 
>> imported)?
> 
> Perhaps a combination of the text and filename properties?
> 
> function emptyImage pImage
>  return fileName of pImage is empty and text of pImage is empty
> end emptyImage

Yep, I also came to this conclusion finally, works fine.
Thanks!

> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design

Best

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


Re: strange imagedata

2010-11-27 Thread Scott Rossi
Recently, Klaus on-rev wrote:

> OK, the point/my problem is:
> How can we tell if an image is really empty (neither referenced nor imported)?

Perhaps a combination of the text and filename properties?

function emptyImage pImage
  return fileName of pImage is empty and text of pImage is empty
end emptyImage

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



___
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/mailman/listinfo/use-livecode


Re: strange imagedata

2010-11-27 Thread Klaus on-rev
Hi all,

Am 27.11.2010 um 17:54 schrieb Klaus on-rev:

> Hi Björnke,
> 
>> You are setting the imagedata to null, which is equivalent to 0 which is 
>> equivalent (at least for the imagedata) to  which is equivalent to 
>> black. At least i'd assume something like that is happening. I suggest you 
>> file a bug report.
> 
> Hm, If you create an empty image object and do a
> put the imagedata of img 1
> You get a LOT of binary stuff in the messages box!
> That is no what I exspect of NULL or 0 :-)
> 
>> Try the following to set an image to a state where it shows nothing:
>> put "" into image 1
> 
> I know this, but that is not the point! ;-)


OK, the point/my problem is:
How can we tell if an image is really empty (neither referenced nor imported)?

I really exspected the imagedata to be EMPTY in that case, but apparently I was 
wrong.


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


Re: strange imagedata

2010-11-27 Thread Klaus on-rev
Hi Björnke,

> You are setting the imagedata to null, which is equivalent to 0 which is 
> equivalent (at least for the imagedata) to  which is equivalent to black. 
> At least i'd assume something like that is happening. I suggest you file a 
> bug report.

Hm, If you create an empty image object and do a
put the imagedata of img 1
You get a LOT of binary stuff in the messages box!
That is no what I exspect of NULL or 0 :-)

> Try the following to set an image to a state where it shows nothing:
> put "" into image 1

I know this, but that is not the point! ;-)


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


Re: strange imagedata

2010-11-27 Thread Björnke von Gierke
You are setting the imagedata to null, which is equivalent to 0 which is 
equivalent (at least for the imagedata) to  which is equivalent to black. 
At least i'd assume something like that is happening. I suggest you file a bug 
report.


Try the following to set an image to a state where it shows nothing:

put "" into image 1

On 27 Nov 2010, at 17:35, Klaus on-rev wrote:

> Hi all,
> 
> I found that the imagedata of EMPTY images are NOT really empty???
> 
> I did this:
> 1. Created to identical EMPTY image object, so both appear (transparent) 
> white on the card
> 2. Created a button with this script:
> ...
> set the imagedata of img 2 to the imagedata of img 1
> ...
> 3. I exspected to see nothing, but image 2 turned BLACK after that?
> 
> What am I missing???
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.com
> 
> 
> ___
> 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/mailman/listinfo/use-livecode


___
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/mailman/listinfo/use-livecode


Re: strange imagedata

2010-11-27 Thread Klaus on-rev

Am 27.11.2010 um 17:35 schrieb Klaus on-rev:

> Hi all,
> 
> I found that the imagedata of EMPTY images are NOT really empty???
> 
> I did this:

Should read of course:
> 1. Created TWO identical EMPTY image objects, so both appear (transparent) 
> white on the card
> 2. Created a button with this script:
> ...
> set the imagedata of img 2 to the imagedata of img 1
> ...
> 3. I exspected to see nothing, but image 2 turned BLACK after that?
> 
> What am I missing???

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


strange imagedata

2010-11-27 Thread Klaus on-rev
Hi all,

I found that the imagedata of EMPTY images are NOT really empty???

I did this:
1. Created to identical EMPTY image object, so both appear (transparent) white 
on the card
2. Created a button with this script:
...
set the imagedata of img 2 to the imagedata of img 1
...
3. I exspected to see nothing, but image 2 turned BLACK after that?

What am I missing???


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com


___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Column Problem

2010-11-24 Thread David Bovill
Pete - I am not sure, as I have not had time to track this down myself, but
I think the issue may come up when the object does not exist - ie instead of
reporting an error it returns another control (ie in your case a field - my
guess is that this is something to do with the way the engine works out
references for behaviors - it is using "control id 1234 of ...", and there
is a wriggly little bug in there somewhere?

On 22 November 2010 18:03, Peter Haworth  wrote:

> Now the list is back, I can continue this discussion.
>
> I am using the syntax "of the long ID of me" in many places within datagrid
> column behavior scripts and this is the only place it has failed.  Even in
> the same script that the failure occurred in, there are other references
> to"the long ID of me" that work correctly (although not in connection withe
> button code that fails)
>
> And in other column behavior scripts I use "the long ID of me" when
> referrring to buttons in a column and all works fine.
>
> So maybe there is something different about the datagrid template card for
> this datagrid.  I will see if I can find aything.
>
___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Column Problem

2010-11-22 Thread Peter Haworth

Now the list is back, I can continue this discussion.

I am using the syntax "of the long ID of me" in many places within  
datagrid column behavior scripts and this is the only place it has  
failed.  Even in the same script that the failure occurred in, there  
are other references to"the long ID of me" that work correctly  
(although not in connection withe button code that fails)


And in other column behavior scripts I use "the long ID of me" when  
referrring to buttons in a column and all works fine.


So maybe there is something different about the datagrid template card  
for this datagrid.  I will see if I can find aything.


Pete Haworth

On Nov 19, 2010, at 3:47 AM, zryip theSlug wrote:

On Fri, Nov 19, 2010 at 9:54 AM, David Bovill > wrote:

Can you file this as a bug, and add the stack? I think it is related
to a reference resolution bug with behaviours that causes a few
problems when using send. I'm interested to track this bug down.


For columns, "me" should refer to a group named with the name of the
column + the number of the lines (or the index, not remember exactly)

"btn 1 of me"
or
"btn 1 of the long id of me"

should refer to a button in a group name or in group id, not to a  
field.


Maybe interesting to study that closer.


Regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolut...@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
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/mailman/listinfo/use-livecode


Re: Strange Datagrid Column Problem

2010-11-19 Thread David Bovill
On 19 November 2010 19:24, Bob Sneidar  wrote:

> My favorite personal syntax is "put 'goodFood' into the large mouth of me"
>
> Another favorite: "get SomeOneElseToCleanUp(afterwards)"
>

I think there is a bug in the first example - at least I could not run it on
OSX. What platform are you running?
___
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/mailman/listinfo/use-livecode


<    1   2   3   4   5