B4J Question [ABMaterial] ABMinput_changedarray is not fired when isTextArea = True

yiankos1

Well-Known Member
Licensed User
Longtime User
Hello,

If i add an ABMInput and isTextArea = True :

B4X:
    Dim etWOD As ABMInput
    etWOD.Initialize(page, 0, ABM.INPUT_TEXT, "WOD", True, "searchuser")
    etWOD.RaiseChangedEvent=True
    etWOD.IconName="fitness_center"
    etWOD.WrongMessage = "Mandatory"
    page.Cellr(0,3).AddArrayComponent(etWOD,"etWOD")

then etwod_changedarray event does not get fired, just etwod_changed.

If i change it back to isTextArea = False, then both events fire normally.

p.s. AddArrayComponent is mandatory in order to add these components
 
Solution
This version should solve the problem. Before using it TAKE A BACKUP!

Note that this version also comes with new versions of the css/font/js files so you have to copy those too in your projects.

1. Download https://github.com/RealAlwaysbusy/A...eleases/download/v5.12/ABMaterial5.12-bin.zip
2. Download https://github.com/RealAlwaysbusy/A...r4.00/releases/download/v5.12-www/www5.12.zip
3. Unzip ABMaterial5.12-bin.zip and copy all .xml and .jar files to you B4J Libraries folder
4. Unzip www5.12.zip
5. In the projects you are working on (e.g. a for Dummies project) delete the following folders in \www

  • css
  • font
  • js
6. Copy from the unzipped www5.12.zip the 3 folder (css/font/js) to the \www folder where...

yiankos1

Well-Known Member
Licensed User
Longtime User
This may be a bug. Can you test it out without the etWOD.WrongMessage = "Mandatory" line? I think it may be related to this, because it goes through a different javascript method before raising an event.
Good morning and thank you for your quick answer.

Unfortunately, without wrong message etwod_changedarray event does not get fired too... Just etwod_changed event.
 
Upvote 0

alwaysbusy

Expert
Licensed User
Longtime User
This version should solve the problem. Before using it TAKE A BACKUP!

Note that this version also comes with new versions of the css/font/js files so you have to copy those too in your projects.

1. Download https://github.com/RealAlwaysbusy/A...eleases/download/v5.12/ABMaterial5.12-bin.zip
2. Download https://github.com/RealAlwaysbusy/A...r4.00/releases/download/v5.12-www/www5.12.zip
3. Unzip ABMaterial5.12-bin.zip and copy all .xml and .jar files to you B4J Libraries folder
4. Unzip www5.12.zip
5. In the projects you are working on (e.g. a for Dummies project) delete the following folders in \www

  • css
  • font
  • js
6. Copy from the unzipped www5.12.zip the 3 folder (css/font/js) to the \www folder where you just deleted these 3 folders.
 
Upvote 0
Solution

yiankos1

Well-Known Member
Licensed User
Longtime User
This version should solve the problem. Before using it TAKE A BACKUP!

Note that this version also comes with new versions of the css/font/js files so you have to copy those too in your projects.

1. Download https://github.com/RealAlwaysbusy/A...eleases/download/v5.12/ABMaterial5.12-bin.zip
2. Download https://github.com/RealAlwaysbusy/A...r4.00/releases/download/v5.12-www/www5.12.zip
3. Unzip ABMaterial5.12-bin.zip and copy all .xml and .jar files to you B4J Libraries folder
4. Unzip www5.12.zip
5. In the projects you are working on (e.g. a for Dummies project) delete the following folders in \www

  • css
  • font
  • js
6. Copy from the unzipped www5.12.zip the 3 folder (css/font/js) to the \www folder where you just deleted these 3 folders.
I can't thank you enough for ABMaterial and for your quick support. I have become a patron!
 
Upvote 0
Top