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 08 JUN 2000 05:57:51AM Peter Kassinski wrote:

Hello,

One question about migration Arev to OI.

Edit table in my new OI Form contains associated multivalued fields.

I used pre-promt processes for some of these fields in Arev Application.

So, in OI Application I need use Gotfocus Event. But my fields are not controls in OI, control is Edit table.

What way to recognize gotfocus event for fields inside Edit table for starting my own "pre" - script.

Thanks,

Peter.


At 08 JUN 2000 08:54AM Don Bakke wrote:

Peter,

In addition to the GOTFOCUS event you will also want to use the POSCHANGED event to simulate your pre-prompt processing from AREV.

dbakke@srpcs.com

SRP Computer Solutions


At 08 JUN 2000 08:55AM Kimberly Ruane wrote:

Peter,

Use the POSCHANGED event; it kicks in whenever your position in an edit table changes.

Inside the POSCHANGED event:

1)

Get the SELPOS property of the control

        declare function get_property
        winname=ctrlentid1,'.'
        variable=get_property(winname:'.CONTROL_NAME','SELPOS')

That will give you your position in the edit table, laid out as column,row

2)

Then do a series of if…then statements (or a case statement) based on your position in the table. For instance:

        col=variable
        if col=2' then
           call COLUMN_TWO_PROGRAM
        end

Hope this helps!

Kimberly Ruane

WinWin Solutions Inc.

www.winwinsol.com


At 08 JUN 2000 11:59AM Mark Glicksman wrote:

Re using the POSCHANGED event, I have found the this event doesn't trigger the first time you click on the edittable. So, in the GOTFOCUS event I issue a Send_Event "POSCHANGED".

glicks@compuserve.com

BG-Map Botanical Garden Mapping System [img]http://www.bg-map.com/bgmap.gif[/img]

View this thread on the forum...

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