Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 29 MAY 2001 08:58:56PM Ilde Giron wrote:

Hi all.

I designed an edit table with colors, events, etc. But when I copy the structure of this table into another, the copy process strips all events off the new table. I may be doing something wrong but cannot find out.

The code I'm using is something like:

NewStruct=Get_Property(@window:".TABLE1", "ORIG_STRUCT")

NewStruct=TABLE2'

Newtable=Utility("CREATE" , NewStruct)

What else do I need to do?

Thanks.


At 30 MAY 2001 09:17AM Donald Bakke wrote:

Ilde,

Which events are being stripped out, QuickEvents or Script?

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 31 MAY 2001 05:40PM Ilde Giron wrote:

Don,

"Which events are being stripped out, QuickEvents or Script?"

Scripts.

Ilde.


At 31 MAY 2001 06:00PM Donald Bakke wrote:

Ilde,

Script events are separate components and are named specifically to the control. Copying the control/edittable structure won't transfer the script events. You would have to copy the relevant SYSREPOSEVENTEXES records and rename them to be associated to the new edittable.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 01 JUN 2001 04:44AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

If it's a completely new control (ie not one that's just been destroyed,modded and re-created) then you may find that you'd need to alter the Window Common variables (see the OIWIN_COMM_INIT and OIWIN_EQUATES insert record)to get the events to work, especially if you're using quick events or trying to use data bound controls.

And that is a looooooong story for another time … :)

The Sprezzatura Group

World leaders in all things RevSoft

www.sprezzatura.com_zz.jpg

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/6e3ab1a26e5d5b1885256a5c0005659e.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1