Share My Creation Pen&Paper

Discussion in 'B4J Share Your Creations' started by Mashiane, Aug 22, 2016.

  1. Mashiane

    Mashiane Well-Known Member Licensed User

    Download MyMaterialShow

    On the custom chart control, added functionality to rotate the labels and color color a single series to different colors. ABMShared was updated to have some color constants...

    Sub ABMColorMapInitialize()
    An example chart with labels rotated 90 degrees with different colors in a single series.
    JakeBullet70 and joulongleu like this.
  2. Mashiane

    Mashiane Well-Known Member Licensed User

    To avoid any confusion with ABMaterial and have its own identity, MyMaterial.Show has now been renamed to Pen&Paper. Pen&Paper is not affiliated nor is supported by ABMaterial (see disclaimer above) and will continue to be a code generator for ABMaterial components and simple basic webapps. I will however continue sharing my experiences using the ABMaterial framework based on what I build around Pen&Paper and the various component plugins I have found useful.

    JakeBullet70, Erel, Cableguy and 3 others like this.
  3. BillMeyer

    BillMeyer Active Member Licensed User

    Indoda yami ubatshele - It's a South African thing !!
    joulongleu likes this.
  4. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    i like it!
    Mashiane and joulongleu like this.
  5. Molchyn

    Molchyn Member Licensed User

    Unfortunately, when I start to creating a new project for a few seconds crash.
    The previous version creates a new project, but if I try to open in new version it's crash too ..
  6. Mashiane

    Mashiane Well-Known Member Licensed User

    I will check and post an updated version after I establish the error.
  7. Mashiane

    Mashiane Well-Known Member Licensed User

    Pen & Paper Update:

    As you might be aware, I have not been on this for a while now, the version here is compatible with 3.50 projects meaning that you need ABMaterial 3.50 after your code generation with Pen&Paper to compile your projects. Download the PenNPaper.jar and run it.

  8. Molchyn

    Molchyn Member Licensed User

    OK,I have 3.50 installed but same result crash..
    c:\work\B4J Samples\2017\ - create abmaterial apps>java -jar
    not found: b4j.Mashy.ETV.editabletv, trying: b4j.Mashy.PenNPaper.editablet
    SQLiteResetCounter: (SQLException) java.sql.SQLException: [SQLITE_ERROR] 
    SQL err
    or or missing database (no such column: id)
    modabmaterial._preparedatabase (java line: 
    41636) c:\Val work\B4J Samples\
    2017\ - cr
    eate abmaterial apps\ThemeDefinitions.json (The system cannot find the 
    file spec
            at Method)
            at Source)
            at<init>(Unknown Source)
            at anywheresoftware.b4a.objects.streams.File.OpenInput(
            at anywheresoftware.b4a.objects.streams.File.ReadString(
            at b4j.Mashy.PenNPaper.modabmaterial._preparedatabase(
            at b4j.Mashy.PenNPaper.main._project_open(
            at b4j.Mashy.PenNPaper.main._getfile(
            at b4j.Mashy.PenNPaper.main._mnufilenew_action(
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at anywheresoftware.b4a.BA.raiseEvent2(
            at anywheresoftware.b4a.BA$
            at com.sun.javafx.application.PlatformImpl.lambda$
            at Method)
            at com.sun.javafx.application.PlatformImpl.lambda$runLater$
            at Method)
            at Source)
    OK I found Solution just unpack from jar file ThemeDefinitions.json file in main directory
    next step add manually in created project sourcefile from
    Code Beautifier/Formatter
    Last edited: Sep 12, 2017
    Mashiane likes this.
  9. Mashiane

    Mashiane Well-Known Member Licensed User

    The bug with the crash has been fixed and a new download is available at the same location. Ta!
    JakeBullet70 likes this.
  10. Molchyn

    Molchyn Member Licensed User

    Very good!
    Just few remarks
    Net library need to change jNet

    MyTheme.DateTimePicker("dp").zdepth = ABM.ZDEPTH_DEFAULT Unknoun member: zdepth
    need change to InputZDepth ?
    Dim clsCM As clsCodeModule Unknoun type clsCodeModule Are you missing library refrence?
    clsCM Undeclared variable 'clsCM' is used befor it was assigned any value

    page.ShowToast("toast" & myToastId, "toastgreen", "Procurement Plan data imported successfully!", 3000) Missing parameter
    page.ShowToast("toast" & myToastId, "toastred", "The Procurement Plan could not be read, please correct this!", 3000) Missing parameter
    page.ShowToast("toast" & myToastId, "toastred", "The Procurement Plan should be selected first!", 3000) Missing parameter
    mstblImportClear Undeclared variable 'mstblImportClear' is used befor it was assigned any value
    ProcessSummaryWorkSheet Undeclared variable 'ProcessSummaryWorkSheet' is used befor it was assigned any value

  11. Mashiane

    Mashiane Well-Known Member Licensed User

    Thanks for this...
    1. I will change to the JNet Library...
    2. Yes that should be inputZDepth, will fix that
    3. clsCodeModule error, this is very odd.

    frmImport - I'm assuming you are using ABMaterial 3.5, try and recompile the whole project for your code to be compatible and also do Project > Upgrade for it. If you are using an example from these threads, I have not recompiled the examples to 3.5.

    This has been valuable input, ta!
  12. Molchyn

    Molchyn Member Licensed User

    I just created a few pages from the Page menu in Pen&Paper
  13. Mashiane

    Mashiane Well-Known Member Licensed User

    I'm currently in a process of updating my projects to use ABMaterial 3.75. This is a good update I have been waiting for patiently especially the DatePicker control "clearing" feature. Thanks a million for that.

    Pen & Paper might come to end of life as soon as the new ABMaterial IDE from its creator comes into fore. I cant wait for that!!! It's going to be an exciting world. I want to learn how to develop IDEs too. I just need to find the right direction though o_O. I just have a lot on my mind.

    I took this path because I wanted to prove to myself I could do this and also meet a deadline and ABMaterial seemed the way to go. It has been worth the ride. Above everything else, its such a nice drive when you see your WebApp stable and being used. I have learned a lot about this framework, remember the Grid!!! It's so funny that after it got explained in an easy fashion it became all so clear. Then the Grid Designer came, that was wonderful. It's such a good thing to have the positive spirit behind ABMaterial's creator. Viva!!!

    During the next couple of days (when I have time) I will be show casing some snippets on how to create basic crud WebApps with Pen & Paper after the introductory, Hello World example. I have had some delays on some of my releases due to some of the issues that I'm so happy to be addressed by now, but then again, in an imperfect world, the time factor plays a big role.

    So far, these are the updates that I decided to look upon and either revamp and or create.

    1. ABMButton - added the additional properties for padding and dropdown.
    2. ABMAnimation - added code generator. (this would be nice on the Modal Sheets / Pages)
    3. ABMAudioPlayer - this has been revamped and also adds songs addition. (Check ABMaterial code to load lyrics)
    4. ABMAudioPlayerSong - added code generator.
    5. ABMBadge - added code generator.
    6. ABMCalendarEvent - this has been revamped.
    7. ABMCanvas - added code generator (I still need to explore this myself around a WebApp)
    8. ABMCanvasObject - added code generator (I still need to explorer this myself around a WebApp)
    9. ABMCard - added missing properties and functionality to add action items.
    10. ABMActionButton - added functionality to add MenuButtons in designer.

    This after all, is just code generation nothing fancy.


    One can copy generated source code to the clipboard for later pasting...


    Revamped ABMCard to include the "Actions" - any number of actions can be added...




    Calendar Event


    Attached Files:

    JakeBullet70 likes this.
  14. Mashiane

    Mashiane Well-Known Member Licensed User




    joulongleu likes this.
  15. Mashiane

    Mashiane Well-Known Member Licensed User

    ABMChart - code generator completed.

    ABMChart.png PieChartSourceCode.png LineChartSourceCode.png ChartSourceCode.png ChartSeries2.png ChartSeries1.png LineAxisOptions.png PieOptions.png BarAxisOptions.png

    Dropbox the latest update with the updated/revamped/created controls as discussed from post #193.
    Last edited: Oct 13, 2017
    joulongleu likes this.
  16. Mashiane

    Mashiane Well-Known Member Licensed User

    What's Coming...

    Ensuring that Pen&Paper runs smoothly with each ABMaterial update, I need to have my ducks in a row and know up to the littlest details what has changed etc, thus I needed a smooth way of doing that...:mad:

    1. Be able to compare previous and current versions of ABMaterial framework and provide each detail. This does a detailed comparison based on the library XML files.


    2. This compared content is drawn as a dashboard.


    3. Later a script to generate a Pocket Reference in PDF is generated for Help n Doc compilation. This is an automated process.


    4. The Pocket Reference generated by the script...


    See this article about the dashboard and link to download your own 225 paged PDF ABMaterial Pocket Reference.

    Attached Files:

    inakigarm, joulongleu and amaxco like this.
  17. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    Where is this mentioned?
    joulongleu likes this.
  18. Mashiane

    Mashiane Well-Known Member Licensed User

    joulongleu and ShaneG30 like this.
  19. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    joulongleu likes this.
  20. alwaysbusy

    alwaysbusy Well-Known Member Licensed User

    Note that there is no release date yet (is not even in the immidiate planning stage: this lib has so much properties to take care of...) and there is so much more important stuff to do on the lib. The gridbuilder is a great start to design your layout. And once one knows ABMaterial, it is actually not that hard to make apps in code (+ you have much more control over it, e.g. conditional building your layout, something a designer will never be able to do).
    joulongleu, ShaneG30 and Mashiane like this.