Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 06 DEC 1998 05:29:55PM Paxton Scott wrote:

I launch a form using start_window, and pass in the createparam some data to stuff in one of the controls. I also stuff some other controls with things like @username and timedate. Using set_property to set the TEXT of the controls works great. But when I give another edit box focus to enter additional data, poof, the data dissapears. The new form uses a seqkey.

There must be something simple i'm forgetting to do to 'lock' the data in inspite of the new key coming in after the create event. Anybody got a clue for me? Thanks much. arcs@wws.net

ARCS, Inc. [img]http://www.wws.net/arcs/arcslogo.gif[/img] </QUOTE> ---- === At 06 DEC 1998 10:26PM Don Bakke wrote: === <QUOTE>Paxton, After you set the TEXT property of the key ID control send a READ event to the form first and then update the other controls. dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions


At 07 DEC 1998 12:57PM Paxton Scott wrote:

Thanks, Don. But, I'm not setting the TEXT of the key, I'm getting the next SEQKEY. I'm setting some other fields, passed with the start_window parameters. I bet there is a place where I can hold those data without resorting to @user, but I don't know where.

I guess I could hold the data there–wherevere– and then stuff after the seqKEy is displayed and the first field to fill gets focus….

So, question is where to temp hold stuff (form register of some sort)

OR, how to preserve the text properties while the next seq key is picked up and the form is set?

Thanks again, arcs@wws.net

ARCS, Inc. [img]http://www.wws.net/arcs/arcslogo.gif[/img] </QUOTE> ---- === At 07 DEC 1998 07:45PM Don Bakke wrote: === <QUOTE>Hi Paxton, OH, now I see... Well we like to use user defined properties as a way of replacing the need for @USERx as universal variables. Makes it easier to create meaningful descriptions as well. For instance, we store the security profile of the user in a user defined property of the main window called @SECURITY_PROFILE. Just use the READ event to grap any information that needs to be auto-assigned to your controls and apply accordingly. If you want the [i]appearance[/i] that these controls are updated immediately (i.e. before the end user hits ) then you can still update them during the CREATE event and repeat the process during the READ event. dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/8da7bd60448f5839852566d2007b96f0.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1