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 JUN 2003 03:05:40PM John S Edgar wrote:

We are delving back into the world of promoted events. I have a test form with 2 editfields and 2 buttons - none are attached to anything and none really do anything. I am just tabbing around the form to see how the promoted events work. Our "promoted_events" procedure (the actual event handler) displays the "instruction" coming from the sysreposeventexes promoted event.

When I tab from a button to an editfield, a "gotfocus" is displayed for the editfield. When I tab out of the editfield to one of the buttons, I get a "lostfocus" displayed for the editfield. So far, so good. However, if I tab from one editfield to another editfield, I get "lostfocus" from the first displayed, but no "gotfocus" for the second.

My question is: Is this correct? I expected a "lostfocus" from the first editfield and a "gotfocus" displayed for the second editfield.

Thanks for your help.

John.


At 03 JUN 2003 07:13PM Richard Hunt wrote:

John,

I have promoted events (gotfocus, lostfocus and others) too. I have many editfield items. when I tab from editfield to editfield, I get a "lostfocus" from the first editfield and a "gotfocus" for the second editfield.' I am not sure why you do not. Maybe it is because you are returning a "0" in the lostfocus rather than a "1"?


At 03 JUN 2003 10:23PM Donald Bakke wrote:

John,

It's a bit difficult to figure out what is going on with your configuration but suffice to say Richard's results are what you should be getting as well.

What are you using to "display" the event that is getting launched? If you are using something like a message box then I suggest you use a method that is less intrusive to the event flow of your application like write the information to a record or an OS file. By displaying a message box (or similar UI) then you can inadvertantly alter the event flow from its normal operation.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 05 JUN 2003 05:42PM John S Edgar wrote:

Thank you Don and Richard. I will check for both situations ( I do use msg windows ).

John.

View this thread on the forum...

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