error in function handler revPaletteObjects

Björnke von Gierke bvg at mac.com
Wed Mar 21 12:24:43 EDT 2007


For table fields to work you need to include the table library. Rev 
should do this automatically for you, but often that feature is missing 
in action.  Often it's enough to open the "standalone application 
settings..." then change some value, save the stack, set the value back 
to what it was, and then save again. Some times you need to do it more 
manually:

To do it manually:
1. Go to the "standalone application settings..." in the file menu.
2. Select the first button at the top: "general"
3. Activate the "Select inclusions for the standalone application" 
option button.
4. Select all the Stuff your app needs, the fields can have several 
entries selected. (In this case, make sure the "table" entry in the 
"Script libraries" field is highlighted.)
5. Save your stack
6. Make a standalone

If that doesn't help, then there's probably a more serious bug.

On an additional note, here (mac os x 10.9.3, rev 2.8) it all works 
fine, even without any of the steps taken above, just by doing this:
1. open rev
2. make a stack with a table field
3. save stack
4. build application
5. the application runs, no errors, table field works as expected.

I hope this helped
Björnke von Gierke

On 21 Mar 2007, at 17:06, Ralf Bitter wrote:

> Hi,
>
> as I didn't find anything related despite extensive search,
> would anybody be so kind to test the following, it is done in seconds:
>
> Save a stack with an editable field as standalone in any 2.8 version 
> IDE.
> Now check what happens when you try to open the standalone.
>
>
> 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?
>
> This subject bothers me since several hours and the deadline for
> a meeting with the client is coming close. I don't dare thinking
> about the case, that this can not be solved. Sure, I could avoid
> using fields in the application file and open external stacks within 
> the
> standalone, but in my special case I have good reasons for not to do 
> so.
>
> Thanks for your attention!
>
> Ralf Bitter
>
>
>
>
> _______________________________________________
> 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
>




More information about the use-livecode mailing list