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 03 DEC 1998 09:55:06AM Ruben Martinez LIDASA wrote:

I am migrating an application from Adv. Rev. 3.0 to

OI 3.5. In the adv rev. application, after the user

selects a popup option, the cursor moves automatically

to the next prompt with an automatic carriage return.

Has anybody implemented in OI the above

functionality?

P.D.

I tried the 'FOCUS' property but it doesn't function

properly with multipart key forms.


At 03 DEC 1998 10:34AM Oystein Reigem wrote:

Ruben,

I have no experience with multi-part keys. This is just a long shot:

<code>
rv=Set_Property("SYSTEM", "FOCUS", @Window:".EDITLINE")

</code>

is sometimes better than

<code>
rv=Set_Property(@Window:".EDITLINE", "FOCUS", True$)

</code>

- Oystein -


At 03 DEC 1998 12:21PM Nick Stevenson wrote:

This is something you generally have to do in script - there is not a Quick Event option for it. Execute the popup in the options event and if the user selected a row, populate your control, send a lostfocus event to that control, then set the focus to the next control. If the control was the last of the primary key controls, the row will be read and your form populated. If your popup returns the row id of a multi-part key, simply parse that row id into the controls and follow the above or send your read event directly.


At 03 DEC 1998 01:39PM Greg James, ISIS, Inc. wrote:

Oystein,

I have experienced some strange problems when using

Set_Property(@Window:".EditLine","FOCUS",TRUE$)

I have never tried the other method that you suggested of

Set_Property("SYSTEM", "FOCUS", @Window:".EDITLINE")

What is the difference between the two?

[email protected] onmouseover=window.status=email greg james;return(true)"


At 04 DEC 1998 05:40AM Oystein Reigem wrote:

Greg,

It was Don Bakke who once adviced me to use the latter when a GOTFOCUS event of mine wouldn't run. See this posting. But I don't know if there are other differences.

- Oystein -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/3823fe2c2dbc0474852566cf0051f2fe.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1