error in function handler revPaletteObjects
Ralf Bitter
rabit at dimensionB.de
Wed Mar 21 17:28:47 EDT 2007
Jacqueline,
you are a lifesaver.
It makes sense, after all I have investigated, to bypass
the IDE function, although I didn't dare to do that as I thought
all handlers in the IDE are more or less needed.
Thank you very much, I was about to go crazy, as with my last
tests I couldn't reproduce the error at all. But I kept error stacks
of prior tests,
so that I can confirm now, that your solution works.
Thanks again for your quick answer!
On 21. Mrz 2007, at 20:59, J. Landman Gay wrote:
> Ralf Bitter wrote:
>
>> I get the following error no matter if it is a Win standalone or
>> a Mac standalone:
>> Type: Function: error in function handler
>> Object: button "revTable" of group "revLibraries" of card id 1002
>> of stack ...
>> Line: set the cCurrentObject of the target to revPaletteObjects()
>> Line Num: 50
>> Hint: revPaletteObjects
>> This happens as soon, as the field gets the openField message
>> The same test works with version 2.7.4 but ...
>> If, in version 2.7.4, I place an editable table field onto the stack
>> I get an error as follows in the standalone as soon as I click
>> onto the table:
>> Type: Handler: can't find handler
>> Object: button "revTable" of group "revLibraries" of card id 1002
>> of stack ...
>> Line: send "revUpdateDatabase pObject,txcell,tycell,tNewText" to
>> pObject
>> Line Num: 451
>> Hint: revUpdateDatabase
>> Can anybody confirm this? If yes, is there a known workaround?
>
> I've seen this once before but I can't remember where. There is a
> missing handler in the current implementation of the revCommon
> library, if I remember right. For now, try putting this into your
> stack script:
>
> function revPaletteObjects
> return empty
> end revPaletteObjects
>
> I think this works. It shouldn't affect your stack or table fields,
> because it is just making a call to an IDE handler that your
> standalone shouldn't need.
>
> This fix is for Rev 2.8. I haven't investigated the error you
> mention for 2.7.4.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
Ralf Bitter
More information about the use-livecode
mailing list