richmond62 wrote: ↑Fri Jul 29, 2022 4:25 pm
Is there any documentation where there is some sort of equivalence table where each
style is matched against a specific
mode?
Possibly.
The mode property is rarely needed unless one is making window management tools for an IDE.
More common in practice is to control window layering and other behavior with the style property and the various commands for window behavior.
The descriptions of the modes in the Dictionary appear, IIRC, to make it reasonably clear what actions a scripter would take to see each mode.
For example, whatever numeric constant is used for the modeless behavior is achieved by either setting the style of a stack to modeless, or temporarily setting it by using the modeless command.
I don't know for certain whether such a complete listing mapping actions to mode constants exists, because even though I make IDE tools and used to maintain a complete IDE for this engine I've very rarely needed to think about the mode property.
If you'd like to have one it shouldn't take but a few minutes for you to assemble it. Feel free to post what you can easily derive and note any that aren't clear and I'd be happy to fill in the blanks.
And I'm curious, to help me understand user workflows: what are you working on that requires using the mode property?