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 28 OCT 2002 12:04:56PM Donald Bakke wrote:

I'm not sure when this happened but in 4.1.1 I have just come to realize that Utility("OBJECTLIST") returns control names in alphabetical order. Previously, I believe they were returned in tab order or whatever order they were stored in the template record.

It's not a big deal and perhaps even desirable, but it broke a small routine of ours in an application that we are converting from OI16 that assumed it was getting these controls in a specific order.

[email protected]

SRP Computer Solutions, Inc.


At 28 OCT 2002 12:56PM Pat McNerthney wrote:

Don,

Prior to 4.1, these objects were stored as individual properties of the window using the Windows SetProp, GetProp, and EnumProp apis.  I suspect that during the EnumProp api, Windows is returning the objects in the order of creation.
In 4.1 I changed the code to instead store these object in an internal table, which apparently returns them in a different order.
The main reason for this change was to allow more Forms to run at the same time under Windows 98.  It turns out that using the *Prop Windows APIs to store data eats into the available space for USER and GDI objects and we were storing a [b]LOT[/b] of properties.  This is why you could only run a few forms that had a lot of controls on it in Win98.
So now you should be able to open all the forms you want under Win98!

Pat


At 28 OCT 2002 01:00PM Donald Bakke wrote:

So now you should be able to open all the forms you want under Win98!

Dead serious!? Why wasn't this shouted from the rooftops?

This will be very interesting to experiment with.

[email protected]

SRP Computer Solutions, Inc.

View this thread on the Works forum...

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