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 18 JAN 1999 06:08:04AM Barry Stevens wrote:

Well…

What is the best way to get the following information from an edittable…

What cell have I clicked in

What cell have I tabbed to

What was the last cell I was in

When am I leaving a cell and what is it's value

What is the value of the cell I am now in.

TIA

[email protected]

[email protected]


At 18 JAN 1999 09:14AM Don Bakke wrote:

Barry,

I won't make the claim that this is the best way to do what you want, but it works for me :

What cell have I clicked in

Use the SELPOS property

What cell have I tabbed to

Use the SELPOS property

What was the last cell I was in

Use the PREVSELPOS property

When am I leaving a cell and what is it's value

If moving from one cell to another, use the PREVSELPOS property in the POSCHANGED event then use the DEFPROP (or INVALUE) property and pass it the Column:@FM:Row as the third parameter.

If moving from the edittable to another control, use the SELPOS property in the LOSTFOCUS event then use the DEFPROP (or INVALUE) property and pass it the Column:@FM:Row as the third parameter.

What is the value of the cell I am now in.

Use the SELPOS property then use the DEFPROP (or INVALUE) property and pass it the Column:@FM:Row as the third parameter. You would probably do this in the GOTFOCUS/POSCHANGED events.

[email protected]

SRP Computer Solutions


At 18 JAN 1999 04:44PM Barry Stevens wrote:

Don

As usual you have been a great help, this has verified a few things for me, thanks.

[email protected]


At 19 JAN 1999 09:24AM Oystein Reigem wrote:

Barry,

What cell have I clicked in

What cell have I tabbed to

In addition to what Don said - for those two above there's also NOTIFYPOS, in cases where SELPOS isn't good enough.

(But did you also mean to ask how you know if the user clicked or if he tabbed? That I don't know.)

- Oystein -


At 19 JAN 1999 08:03PM Barry Stevens wrote:

Seems to me that a reference paper on all edit table property access and events what events you have to cater for to get the best control for each logic function you require would be in order.

Is there one already…or in the pipeline anywhere.

[email protected]


At 20 JAN 1999 07:01AM Oystein Reigem wrote:

Barry,

Here is document listing just which events and properties the various controls have (Ctrls.pdf). Not much detail I'm afraid. The Knowledge Base contains just a couple of articles on the edit table. The discussions do contain a lot of useful stuff. It would be really nice if somebody would collect and edit that into an article (or perhaps a book; what about an Edit Table Bible? :-)). But life is short. :-)

- Oystein -


At 20 JAN 1999 10:10AM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url] wrote:

At 20 JAN 1999 11:50AM [email protected] wrote:

Barry,

About the only way to learn anything beyond the nor is to read all the messages and filter out the info. It would be nice if we could download the messages (you know .. like cis) and then put them in the form we want ..

[email protected] onmouseover=window.status=you have seen the rest .. now try the best!;return(true)"

David Tod Sigafoos ~ SigSolutions

voice: 503-639-8080


At 24 JAN 1999 10:53PM Barry Stevens wrote:

Hint?

Yes…you may take it as that ;-]

[email protected]

(Sorry about the late response)

View this thread on the forum...

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