AbouPanel Library

Discussion in 'Additional Libraries' started by Cableguy, Aug 4, 2007.

  1. Cableguy

    Cableguy Expert Licensed User

    HI guys!!

    Thanks to this great comunity, and special thanks to dzt and agraham, I've now able to present a decently working dll...
    an "AboutPanel"...to use on the device...Thought it works on the desktop, there are some issues about the control position, If there are enoughht interest, I'll create a desktop version, correcting this issue...
    This is a custom form/control dll wich displays a 200x150 form with 4 labels, 1 picture box and 1 button...
    The labels are:

    CationText : A text to be displayed int the Caption bar
    TitleText : Well...some kind of Title text
    MainTexT : need help with this one?
    CopyrightText : Small print....
    Logo : the image in the picturebox

    Button is not a property, when clicked it disposes of the control

    Hereis a screenshot


    PS: I don't understand why but in landscape the form is added both horizontal and vertical scrollbars...I'll have to look into it...any thoughts?

    Attached Files:

    Last edited: Aug 4, 2007
  2. Erel

    Erel Administrator Staff Member Licensed User

    It's great to see how Basic4ppc improves from the users custom libraries.
  3. dzt

    dzt Active Member Licensed User

    This is a live example of what can make the force of will.
    Beginning from the scratch, in so much little time!

  4. Cableguy

    Cableguy Expert Licensed User

    Only 2 more request for this dll to be "as I want it to be":

    How to get rid of the scrollbars in landscape mode?, do i need to resize the control acording to the screen mode?

    Why/what is the "toString" property There/for and how to remove it...
  5. dzt

    dzt Active Member Licensed User

    I've quickly tested in a "normal" PPC (yours as I remember has a VGA? Try to resize it) and the scrollbars problem does not exist.

    You should live with this. Exists in every library.
  6. Cableguy

    Cableguy Expert Licensed User

    Once again Thank you dzt...

    Yes my device supports vga but it's is not set to work as a vga..
    Since vga screens are still not that popular, maybe I'll concentrate on other jobs (dlls)....

    Erel, you're comment was very appreciated, but I would like to ear from others about their experience, wiahes and critics about my dll...
  7. conf

    conf Member

    This is great library, Cableguy ! Hope I can do it like you :D
  8. taximania

    taximania Well-Known Member Licensed User

    Good stuff Cableguy.
    A much better 'About Screen' than a new Form.

    The compiled .dll works on my device, (that makes a change for me).
    It's also fully configerable, (all the 'a.' 'bla bla' options work)
    It even shows .GIF images.

    Any chance you can post the code to see if i'm able to compile a working .dll
    Laughs lots cos I don't know what I've not got installed that I should have :sign0188:
  9. Cableguy

    Cableguy Expert Licensed User

    @ Taximania:
    Of course my friend, this forum purpose is just that:

    Attached Files:

  10. taximania

    taximania Well-Known Member Licensed User

    I can alter the code and compile to many different options, CF1, CF2, etc, using SharpDevelop2.2, but they only work on the desktop.


    Error on device.

    [​IMG] [​IMG]

    2 side by side screen shots from device. Are these files named correctly ?
    They're in the 'Windows' directory.
    The Windows\.NET CF 2.0\ has no files in it. Why was this directory made ??

    Don't fall over each other with answers to my problem

    I'm going to Spain for a week Tuesday. :cool:

    See my post in 'Chit Chat'
  11. Cableguy

    Cableguy Expert Licensed User

    I got the same error trying a tramsparent non-rectangular form....
    see my post in Q&A...
  12. Softselect

    Softselect Member Licensed User

    Hi cableguy,
    I used you about panel for a splash screen, works great.
    what are the posibilities for changing the size of the panel eg a.new1 (panel,35,5,185,25) and on the desktop displaying it in the form window, on my Pc, the panel is displayed in random positions.
    I attach my code how i use it
    Keep up the good work on DLL's

    Attached Files:

  13. Cableguy

    Cableguy Expert Licensed User

    My first intent was to create a good looking about panel for the device were we could just pass the string we wanted it to contain, plus a logo, and not worry about the graficas aspect...

    I'll see what I can do, but I also suggest you to use the special form lib as it only works on the desktop and support non rectangular forms...
    You can place it wereever you want and add any amount objects to it (they are visible only in inside the form....), thus creating your won custom screen...
  14. Cableguy

    Cableguy Expert Licensed User


    My Dll does not work with v6.3, and I can't figure out why....

    The IDE just "explodes" and I get a message saying that there sorry for the incovinience, and that I should try to save my work and close the IDE...

  15. agraham

    agraham Expert Licensed User

    Which version of the dll? Which IDE, device or desktop?

    The version in the first post of this thread works fine for me on both device and desktop with v6.30 under .NET 2.0.

    The code in post #9 seems different to that which was used to compile the version in post #1. If you post the code you are currently using and the dll I will try both your compiled dll and one that I compile from that code.
  16. Cableguy

    Cableguy Expert Licensed User

    i used the first post, since i had to format my desktop some time ago and "lost" the source code...
    I runned the dll in the desktop with B4PPC 6.3, and I get just that cordial message saying that B4ppc has encoutered a problem and need to close, so i should save my work, bla bla bla...
    If I remove the dll from the project, all works ok....
    I'm puzzled...
  17. agraham

    agraham Expert Licensed User

    Does it happen with your demo app included in that first post?

    If so have you tried an optimised compile? That might give a different error message if it fails.

    If it is a different project then post the failing source and I'll see if it works for me.
  18. Cableguy

    Cableguy Expert Licensed User

    Thanks Andrew, I will post later in the evening....
    In this case it's just a sub, basically a copy-paste from my demo...called upon a menu selection...
  19. agraham

    agraham Expert Licensed User

    Here's the source extracted from your dll in the first post.

    Attached Files:

  20. Cableguy

    Cableguy Expert Licensed User

    As promised here is my project so far...
    This is my second try at this project...first try was at 80% when I struck a wall...
    Hopefully, with the new things learned, this "Alpha" version will arise to 95% working, so that the forum users can test it and comment...

    My own example on post #1 does work, but I have to had the AppPath keyword to the Logo picture path...

    In my app, even a copy past does not work...
    I'm guessing some interaction with another of the two dlls is compromising the app....

    Once again, Andrew, thanks for the time to test this...

    In the INI4PPC project i was naming the AboutPAnel object as "About", wich was the cause of the problem....
    Sticking with th simple "a"as in the sample, dos work OK...
    The question remains...Why?

    Attached Files:

    Last edited: Jun 19, 2008
  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