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 23 OCT 2001 02:24:50PM Leon Shaffer wrote:

I realize this should be simple to do, but I have reveiwed the help manual and called RT for help, but still to no avail.

What I am trying to do is when the user gets to a position on the window, lets say it is the field called Debit, which is numeric only, then if the user presses any key to change the data, then I want to "wipe out" the existing data that is currently there, and keep the data the user enters.

Any help is appreciated….


At 23 OCT 2001 02:46PM Jonathan Bird wrote:

Use this code on the GOTFOCUS event of the control:

*

val=set_property(CtrlEntId,'SELECTION',1 :@FM: 65534)

RETURN 0

JB


At 23 OCT 2001 03:34PM leonshaf wrote:

Thanks JB…It works like a champ. When I called RT, and asked them the question, they responded with something close to your code, but

they said it was a selection property, and I said it should be a set_property, anyway..they could not answer, so again Thanks…


At 23 OCT 2001 04:20PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

Slight proviso - this might stop any default from working unless you Return 1.

The Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the forum...

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