Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 14 OCT 2004 12:05:09AM Blair Massey wrote:

I'm spent many hours trying to figure out behavior of oi32 vs oi16. I had a piece of code which is centers and makes visible a form called from the launching form. With OI32, the program seems completely lost as to focus. With OI16, the focus was on the first edit field in tab order. With OI32, it seems clueless unless I press the F8 key to execute a Clear Form.

Any ideas why this would be the case and how it might best be solved would be MOST welcomed. I use the same code to open every sub form. What is really weird, after you press F8 on one form, all the rest run as they do in OI16…..


At 18 OCT 2004 12:10PM Colin Rule wrote:

I have not experienced this, but that is not much use to you.

Suggestions perhaps, seeing no-one else has responded:

- Have you any promoted events

- Is there an activated event which may be doing this.

- You could always force focus in the create event to the control you want to start from.

Colin


At 20 OCT 2004 03:55PM Blair Massey wrote:

Thanks Colin!

I ended up doing a work-around at Don's suggestion. He got same behavior. A new feature of 32 bit. For the most part, I am amazed at how smooth move from 16 bit to OI 4.1.3 has been.


At 20 OCT 2004 04:43PM Donald Bakke wrote:

I ended up doing a work-around at Don's suggestion. He got same behavior. A new feature of 32 bit.

Just for the record, I don't think this is a new *feature* in OI 32-bit. I believe there is something unique in your setup that is causing this behavior but I wasn't able to pinpoint it. I suppose it could also be a problem with the internal structure of your windows that reacts weird in OI32. I have seen this before.

My point being is that I would be very surprised if a new application written from scratch would give you the same problem. What you are doing is just way too common to not have been noticed and documented already.

dbakke@srpcs.com

SRP Computer Solutions, Inc.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/3f3de7a67e1f322685256f2d001671e7.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1