[Newbies] inspect window not on top
rpboland at gmail.com
Sun Sep 30 16:22:13 UTC 2018
I have morph.
I have implemented for that morph the method:
This brings up an inspector on the morph which as expected.
However, if the location of the inspector overlaps the morph,
the morph covers the inspector so that the inspector is partially
or totally hidden by my morph.
I also tried this with a submorph of my main morph and the same
In trying to figure this out I determined that method
is invoked and returns value 100. Here is the code:
"helpful for insuring some morphs always appear in front of or
smaller numbers are in front"
^(owner isNil or: [owner isWorldMorph]) ifTrue: [
self valueOfProperty: #morphicLayerNumber ifAbsent: 
] ifFalse: [
"leave lots of room for special things"
I assume a value < 100 must be set for the the morphicLayerNumber for
But I don't know who is supposed to do this? or how I tell "who" to do it.
Every place I can find that sends <inspect> just sends the message; no
code for the inspect is applied.
I am lost and could use some enlightenment.
Thanks for your time
More information about the Beginners