Wish Open Designer

Discussion in 'Bugs & wishlist' started by appie21, Aug 11, 2018.

  1. appie21

    appie21 Active Member Licensed User

    (this is for all products)
    I like the IDE of B4A very much

    One thing irritates me a bit.

    When I have work in the designer and I go back with alt + tab I come back in the main program( the code) When I work there do not remember if i had already opened the designer open before so I go to Designer and click Open designer again.

    Then a new Designer will open I have to close that one....

    So maybe add a option that if i click Designer you see a green checked that it is already opened?
    Or when you click Designer again it bring the already opened designer to the front so that i can continue work.

    Short say it is not visibly enough if Designer is already opened ort not.

    Sometimes I have Open B4A, B4I and B4J....
  2. LucaMs

    LucaMs Expert Licensed User

    Having multiple instances of the Designer can be useful, for example, to open two layouts and copy some views (although copying also works using a single Designer).

    Moreover, if in the new instance of the Designer you try to open the same layout already open, the IDE informs you of this and allows you to switch to the first instance.

    Anyway this can be useful:

    Already open 1:

    Already open 2:

    If ???? Then
                OpenDesignerToolStripMenuItem.BackColor = Color.Red
                OpenDesignerToolStripMenuItem.ForeColor = Color.White
                OpenDesignerToolStripMenuItem.Font = New 
    Font("Courier"14, FontStyle.Bold)
    End If
    (Just to play again with VB.Net after years :D)
    Last edited: Aug 11, 2018
  3. JohnCody

    JohnCody Well-Known Member Licensed User

    It was always a little non-standard to only have the single menu selection of "Open Designer" off of the "Designer" toolbar menu, so why don't we clean this up like this...

    If there are currently no opened designer windows, then "Open Designer" will be the only menu item displayed when "Designer" is clicked on the toolbar (as it does now).

    But, if there are already one or more designer windows open, then have the Designer drop-down menu list all the activities of the currently opened designers like this:

    Designer (toolbar)
    Open Designer
    (the current option)​

    This way, we can not only see if the designer is already open, but we can actually jump right to the one we want, and if there isn't already a designer open for a desired activity, then we can click the usual "Open Designer"
    Last edited: Aug 11, 2018
    rboeck likes this.
  4. Erel

    Erel Administrator Staff Member Licensed User

    The best way to open the designer is from the Files tab:


    This way it will reopen the existing designer if the layout file was already opened.
    fredo, appie21, klaus and 1 other person like this.
  5. LucaMs

    LucaMs Expert Licensed User

    It is much worse to have more than one instance of b4a (or b4j or b4i) and modify the same project without realizing it.
  6. appie21

    appie21 Active Member Licensed User

    I will give it a try!

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice