Posted 19 years ago
by Rick
-
Developer,
Visual Software Systems LLC
Hi,
I'm having an issue with the positioning of a dockable toolbar at runtime. Here's the situation: I defined a menubar and three toolbars as design time. The menu bar is in row 0, two of the toolbars are in row 1 and the third is in row 2, col 0. The toolbar in row 2 has a mode defined to automatically show/hide it and the application is set so that it is initially hidden. The problem is that when the application switches into the mode that the hidden toolbar is a member of, the toolbar does not display in the position that I placed it in at design time (row 2, col 0). It is positioned on row 1 between the first and second toolbars. Why doesn't it show on row 2 where I had placed it? Incidentally, at runtime if I manually move the toolbar to row 2 and then switch the application into a mode that hides the toolbar and then back into the mode that displays it, it shows in the position where I last moved it (int his case, row 2).
You can also replicate the initial "bad" behavior by simply right-clicking the toolbar area and activating the hidden toolbar, so I don't think it's related to the "mode" capabilities.
This applies to UIStudio v2.0, .Net 2.0, Win XP
Thanks...
Rick
I'm having an issue with the positioning of a dockable toolbar at runtime. Here's the situation: I defined a menubar and three toolbars as design time. The menu bar is in row 0, two of the toolbars are in row 1 and the third is in row 2, col 0. The toolbar in row 2 has a mode defined to automatically show/hide it and the application is set so that it is initially hidden. The problem is that when the application switches into the mode that the hidden toolbar is a member of, the toolbar does not display in the position that I placed it in at design time (row 2, col 0). It is positioned on row 1 between the first and second toolbars. Why doesn't it show on row 2 where I had placed it? Incidentally, at runtime if I manually move the toolbar to row 2 and then switch the application into a mode that hides the toolbar and then back into the mode that displays it, it shows in the position where I last moved it (int his case, row 2).
You can also replicate the initial "bad" behavior by simply right-clicking the toolbar area and activating the hidden toolbar, so I don't think it's related to the "mode" capabilities.
This applies to UIStudio v2.0, .Net 2.0, Win XP
Thanks...
Rick