Android Tutorial B4A, B4i, B4J and B4r API documentation - B4X Object Browser

Discussion in 'Tutorials & Examples' started by Vader, Jan 26, 2013.

  1. Vinians2006

    Vinians2006 Active Member Licensed User

    Perfect application, help a lot! But can you increase the font size or give us a setup where we can configure ?
     
  2. Vader

    Vader Well-Known Member Licensed User

    I will look into it. It will probably need you to update your version of the .Net Framework to 4.7
     
  3. Jorge M A

    Jorge M A Active Member Licensed User

    A new happy user here for B4A!. I like it very much!.

    Object Browser is the most usefull tool for people like me with strong experience in VB6 and nothing in BA4 :(
    I'm trying to learn as i can from people with lot of experience like all of you.
    Thanks for sharing.

    I have an incidence with B4A Object Browser because an icon with red cross appears in the OkHttpUtils2 class. I don't know what it means, although I suppose that is any kind of inconsistency. Could you advise me on what it means and how to solve it?
     

    Attached Files:

  4. Vader

    Vader Well-Known Member Licensed User

    This means that there is a duplicate class name. To fix it, you have to remove one of the two libraries, or change the class name in one of them.
     
  5. Jorge M A

    Jorge M A Active Member Licensed User

    I appreciate your response, however, there are no duplicates in the B4A library folder.
     
  6. Claudio Oliveira

    Claudio Oliveira Active Member Licensed User

    In B4X Object Browser, Select Tools -> Options and check Library Paths setting.
    There you'll see where B4X Object Browser is searching for libs.
    Maybe you have more than one Additional Libraries folder, or maybe libraries are present in both B4A libraries folder AND Additional Libraries folder.
    In short: B4X Object Browser is finding two libraries with the same name in different folders.
    Check this out.

    Regards
     
  7. Vader

    Vader Well-Known Member Licensed User

  8. Jorge M A

    Jorge M A Active Member Licensed User

  9. zetaperu

    zetaperu New Member

    @Jorge M A Could you solve the problem? I still do not resolve according to the "supposed" duplicity that does not exist
     
  10. Jorge M A

    Jorge M A Active Member Licensed User

    @zetaperu

    In fact it is not a problem. According to what I understand, it is that the OkHttpUtils2 library is that you must use for its advantages over HttpUtils2. Only would conflict if you try to use two libraries at the same time.

    En realidad no es problema. Según lo que entiendo, es que la librería OkHttpUtils2 es la que se debe de utilizar por sus ventajas sobre HttpUtils2. Solo habría conflicto si intentas utilizar las dos librerías simultáneamente.

    read this
     
  11. Jorge M A

    Jorge M A Active Member Licensed User

    @Vader, the only issue I have, is that ToolTips does not appear for me. any ideas, please?
     
  12. zetaperu

    zetaperu New Member

    @Jorge M A

    it is understood by many of us that the discussion is NOT the library OkHttpUtils2 with respect to its operation but how it is marked with X the object browser.
    The solution I found is that the program that @Vader provides makes a character string comparison in its reading when updating the libraries and by default compares HttpUtils2 with the OkHttp so they share similar characters and if we add to this the library OkHttpUtils2 is there where he puts the red blade.
    If you remove OkHttp and HttpUtils2, you go back to update libraries, the solution appears.

    upload_2017-11-7_12-24-23.png
     
    Last edited: Nov 7, 2017
  13. Jorge M A

    Jorge M A Active Member Licensed User

    The comparison is on class ShortName.
    See @Vader response above
     
  14. hatzisn

    hatzisn Active Member Licensed User

    Hi Vader,

    A big big thank you for your software. It is a game winning option for the developer.
    I am writting this message to ask you if it is possible to add another feature in your software.
    That is a textbox in the interface when viewing a library where the user can add a description or some notes relevant to the library. I believe that this would be very useful to every B4X developer. If that description/notes addition is even more searchable (f.e. text or tags that the user adds) it would be a dream come true.

    Thank you for spending time to read this message.

    Have a nice day.
     
    Last edited: Jun 30, 2018
    Vader likes this.
  15. Vader

    Vader Well-Known Member Licensed User

    Sorry, no. I don't know why this would happen.
     
  16. Vader

    Vader Well-Known Member Licensed User

    This was a feature that I wanted to add, that allowed you to keep additional information. The GUI was added, but I never completed it. I'm thinking about a rewrite...
     
    hatzisn likes this.
  17. agraham

    agraham Expert Licensed User

    Here's a tip for anyone running B4X Object Browser on a Windows 10 High Dpi system with a display scaling other than 100%.

    B4X Object Browser is a Windows Forms application that does not seem to notify Windows that it is High Dpi aware and so Windows will scale it with the result that text looks fuzzy. However, as a Windows Forms application it is in fact reasonably High DPI capable so if you right click on the desktop shortcut or Browser.exe itself, select Properties -> Compatibility -> Change high DPI settings, check Override high DPI scaling behaviour and select either 'Application' or 'System (Enhanced)' from the drop down list the text in the browser will magically improve in appearance :) Choose whichever looks best to you.

    The difference in the two settings is that 'Application' scaling leaves scaling entirely up to the application but 'System (Enhanced)' tells Windows to scale everything apart from any text drawn through GDI+ (which Windows Forms mainly does) which it draws at the display resolution instead of just scaling it.
     
    Last edited: Dec 9, 2018
    Vader and Erel like this.
  18. agraham

    agraham Expert Licensed User

    I'm just setting myself up to return to using B4A and installed both B4A Browser and B4X Browser as well as Klaus' version of my original B4A browser. B4A Browser also benefits from changing the High DPI scaling options as I described above.

    As commented in post #431 above, ToolTips do not appear to work in either of the Browsers.

    I also see that while B4A Browser shows the class comment in the 'Standard' pane at the lower right these very useful comments are not visible at all in B4X Browser :(

    I've also installed Klaus' version of my original B4A browser which also shows the class comments and being a Windows Form application also significantly benefits from 'System(Enhanced)' scaling.
     
  19. moster67

    moster67 Expert Licensed User

    Look forward to that :)
     
    agraham likes this.
  20. Jorge M A

    Jorge M A Active Member Licensed User

    Hello @Vader! Happy New Year!

    Do you have any plan to extend B4X Object Browser to read the brand new .b4xlibs? :rolleyes:
    Another wish, it would be possible to display, anywhere, the library's location?

    Thanks in advanced for your time.
     
    hatzisn and Vader like this.
Loading...
  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