I've just noticed that the innermost line can be simplified toRobert wrote:The version of StdApi.ThisMask below fixes both issues.
Code: Select all
w.ThisController ().SetOpts(c.opts)
I've just noticed that the innermost line can be simplified toRobert wrote:The version of StdApi.ThisMask below fixes both issues.
Code: Select all
w.ThisController ().SetOpts(c.opts)
No, I guess it is not really necessary, and the error message to the Log is a very minor problem.Ivan Denisov wrote:However during analysis of the first issue about log message there are some questions appeared.
Why we make this exception for Tabs only? The buttons will still produce such message to log.
Why are you using tabs without container? Does it really necessary?
So we can vote about this feature already. And I moving it from bugs to features subforum.Robert wrote:Regarding the second issue (automatically converting Tabs to Mask mode) I think this is a very useful feature missing from the current Oms implementation.
Wow! Some subtle thinking here!Josef Templ wrote:Therefore I have introduced StdApi.modeHook with the following advantages over the previous approach:
- Avoids import of StdTabViews in StdApi.
- Avoids any change of Build-Tool.odc.
- No special treatment of StdTabViews but allows ANY embedded form to register
for switching to mask mode when opening a dialog.
- Supports any nesting level not only one.
- Could also be used for switching modes e.g. in Dev->XXX Mode - Josef