Help: SO get's hidden and I don't understand why

Help: SO get's hidden and I don't understand why

Post by Pieter Brouwe » Thu, 05 Oct 2000 04:00:00


I am currently struggling with SO's and I found this strange behaveour. I
try to explain.

I have a SmartWindow (say a.w) that is a container for 1 SDO and 2 SW's. I
run a.w from another SO, which is a SmartDataField (say b.w). The idea is
that a.w should give the user the opportunity to make some kind of selection
and upon termination of a.w, the results should be returned to the
SmartDataField and displayed there.

(I hope sofar I haven't said anything strange SmartObject-wise!)

I run my code from within the AppBuilder (just to test). No all is well,
until I close down a.w. Instead of seeing a.w dissapear and focus being
returned to b.w, everything disappears but the AppBuilder tells me there is
still something running. I consider that strange (at least not what I

Upon closer investigation in de de*, I saw that the procedure
'hideObject' in a.w's smart.p is responsible for this behaveour. Apparently
it searches it's container-handle and hides that one. Something like this:

  {get ContainerHandle hContainer}.

         ASSIGN hContainer:HIDDEN = YES.

I don't understand why this happens. I can understand that an object hides
itself before termination, but I don't understand why the handle of b.w
seems to be used to hide it as well! When I display the values of the
handles of a.w, b.w and even the handle of b.w's frame, they are not the

Can anyone out there shed some light on this and, more importantly, tell me
what to do to prevent this from happening?

(I hope I have stated my problem and my questions clearly enough)


Pieter Brouwer.


1. Getting Error 13, help - don't understand why

When you are using a Dynaset you have to be more descriptive with the SQL.
For a table you might be able to get away with that.

Try this:
Set rstLog = dbsPhoneForm.OpenRecordset("SELECT * FROM Log", dbOpenDynaset)

Richard Cardarelle
Eclipse Applications


- Show quoted text -

2. Data Encryption

3. Don't understand Fullpath() - not getting results I expect

4. Changing global name

5. SP returning duplicate values but I don't understand why

6. Microsoft or Oracle

7. I don't understand why this view is not updatable

8. Automation

9. Don't understand why it is ambiguous

10. I don't understand why this worked in 7.0 and now not in 2000

11. Event ID:17045 don't understand why

12. I don't understand ADO '-(

13. Help, I am a programmer and don't understand SQL/NT admin