1. Mashiane

    B4J Library [ABMaterial] ABM.Util.CreateThumbnail based SliceBox Image Slider

    Ola This is a wrap of a caroulse called SliceBox. The nice thing is that it adjusts itself to fit your image. If the image is small it will shrink and if large it will enlarge itself. There is a problem with that though, consisency. Whilst i did a gallery before, posted here, something like...
  2. Mashiane

    B4J Library [ABMaterial] An image slider that can actually crop your image NOT

    Ola I'm looking for an image slider. Animated - check. Do not crop an image - check. Pause - check. Open a URL on image click - check. Navigation buttons - check, Pause on hover - check. Show progress of bar when viewing each image - check. Random animation per slide - check. Play local video...
  3. Mashiane

    B4J Question [ABMaterial] Custom Component Print Functionality

    Hi there I havent tried this yet but just want to be sure. For a custom component to be printable? is there something special that you need to define when creating it or it will just work? #NewBie2ABMPrinting Thanks
  4. Mashiane

    B4J Library [ABMaterial]: MashKeyPress (Capture Keyboard Input e.g. Shift+a)

    Hi there This is in response to CableGuy's PM for this functionality here. So far the preliminary results are indicating that its working...at page level. The original js is here. Download the js files and add the necessary link to this js in BuildPage. I must admit this is some nifty piece...
  5. P

    B4J Question [ABMaterial] java.lang.RuntimeException: JSON Object expected

    Good Day, I get this error very often. is there a way to fix this error? java.lang.RuntimeException: JSON Object expected. at anywheresoftware.b4j.objects.collections.JSONParser.NextObject(JSONParser.java:50) at...
  6. Mashiane

    B4J Question [ABMaterial] [SOLVED] How to wrap ABMChips on single cell e.g. R1C1?

    Ola I have a container that im displaying in an ABMTable that has ABMChips from loaded from a table as depicted below. The container has 1 row 1 column and these are added there. How can I wrap these chips so that one is after another? Isnt there a property within the chip to perhaps do so...
  7. Mashiane

    B4J Question [ABMaterial]: How to set Text from AutoComplete id value?

    Ola ABM 4 came up with an option to add autocomplete as if one uses ABMCombo.. Dim inp1 As ABMInput inp1.Initialize(page, "inp1", ABM.INPUT_TEXT, "First Name", False, "inputauto") inp1.AutoCompleteType = ABM.AUTOCOMPLETE_STARTS inp1.AutoCompleteOpenOnFocus = True ' NEW inp1.ReadOnly = True '...
  8. Mashiane

    B4J Library [ABMaterial]: Why do I think Billboard.js is awesome?

    Ola I had had some challenges with my charts for a while, though the other potent charts I found. Morris Charts don't have legends: here is my post :( Frappe Charts can have legends but if you have many items these get cut off and you cant rotate the x axis, here is my findings and my client...
  9. Mashiane

    B4J Library [ABMaterial]: MultiPicker

    Ola This is some nice multipicker i found, it could be useful one day. mmp.Initialize(page,"days",True) mmp.AddListItem("sun","Su") mmp.AddListItem("mon","Mo") mmp.AddListItem("tue","Tu") mmp.AddListItem("wed","We") mmp.AddListItem("thu","Th")...
  10. Mashiane

    B4J Code Snippet [ABMaterial] Making an ABMCombo MultiSelect with ABMCheckboxes

    Ola So i am sitting and thinking... I need some multi-check box functionality in my combo box. I need to return the selected items and be able to set each item to be checked. Then it dawns on me. One of the nice things about the ABMCombo is the functionality to add ABMContainers to it. So it...
  11. Mashiane

    B4J Library [ABMaterial]: Creating a Multi Select with Tagging functionality

    Ola I'm currently trying to build up a select component that will enable multi select that works with tags. Rather tricky bugger.. Im using the Select2 javascript. I am able to detect which element was selected / unselected. Sub mselect_select(value As Map) Dim files As String =...
  12. Mashiane

    B4J Question [ABMaterial]: How to create dynamic data entry screens?

    Ola I have a thought of creating dynamic data entry screens, which must also have a listing of the records. What is the best approach to do this.. 1. One can create a new entity with its attributes 2. The attributes are linked to the various entry types e.g. text, checkbox, radio etc. 3. CRUD...
  13. Mashiane

    B4J Question [ABMaterial]: [SOLVED] How to get ABMUploadHandler to work with a custom file uploading component?

    Hi there I'm creating a custom component and just need to be advised in terms of how I can get it to work with ABMUploadHandler and thus trap the Page_FileUploaded sub. Working Examples (update) File Chooser-...
  14. Mashiane

    B4J Library [ABMaterial]: Attempting a profile picture file chooser

    Ola This version of a file chooser is intended for one to change a profile picture or any picture for that matter. Assumptions, you can use this to show a current profile picture / any picture anyway. When one wants to change the picture, one can click on the image which will activate a...
  15. Mashiane

    B4J Question [ABMaterial] How to make a table header an icon/png?

    Hi there I'd like to use the built in icons for my header(s) or either a png. How can I achieve this in an ABMTable? Thanks..
  16. Mashiane

    B4J Tutorial [ABMaterial] Package your WebApp with InnoSetup

    Ola Well, this is not related to ABM per se, but due to the fact that I wanted to package an ABM app for distribution for users to use in in their computers without the need of an internet connection or java installation, I stumbled upon a working solution. Why? There is an app I need to...
  17. Lahksman

    B4J Question [ABMaterial] No uppercase allowed in Cell Theme?

    Could it be that upercase characters aren't allowed in the Cell theme? See following example: MyTheme.Table("tbl1theme").AddCellTheme("ABCcenter") MyTheme.Table("tbl1theme").Cell("ABCcenter").BackColor = ABM.COLOR_YELLOW MyTheme.Table("tbl1theme").Cell("ABCcenter").BackColorIntensity =...
  18. Mashiane

    B4J Question [ABMaterial] How to clear list of uploaded files using ABMUpload?

    Hi there When one is using the ABMUpload to upload files, after the files are uploaded a list of the files is kept showing in the component. How does one clear this list to start afresh. I had thought the component .Refresh method would clear the list of files, nada. Any advice please? Thanks
  19. Mashiane

    B4J Question [ABMaterial] How do I make the ABMUpload take the full width of the cell?

    Hi there I'd like my ABMUpload to take the complete width of the cell, is this possible? Thanks.
  20. Mashiane

    B4J Question [ABMaterial] When is it absolutely necessary to call .Refresh of a component?

    Hi there For those components that have a .Refresh method. When is this method call absolutely necessary? As an example, I have controls in a modal sheet / container that change and the contents are updated during Read from a database and then displayed. Is it compulsory for each of the...