free2end Member Licensed User May 21, 2021 #1 In B4A 10.7 build a new Default project named A change in Build Configurations the package as eu.prja then add with Designer a new simple layout .bal named La1 with only one View, a B4XSwitch1 select and copy that B4XSwitch1 view build a new Default project named B change in Build Configurations the package as eu.prjb then add with Designer a new simple layout .bal named Lb1 paste the copied B4XSwitch1 view (from La1 of project A) save & close then with BAL converter v.2.30, convert both .bal files (La1, Lb1) to JSON found in Lb1 that the pasted B4XSwitch1 view from La1 to Lb1 keeps for the customType the value of the source (La1) please help me: is that a potential problem or not? B4X: "javaType": ".CustomViewWrapper", "typeface": "DEFAULT", "customType": "eu.prja.b4xswitch", "customProperties": { "OnColor": { "ValueType": 6, "Value": "0xFF00D254" }, "customType": "eu.prja.b4xswitch", "csType": "Dbasic.Designer.MetaCustomView+CustomDataGrid", "shortType": "B4XSwitch", "Value": false, "HapticFeedback": true, "ThumbColor": { "ValueType": 6, "Value": "0xFFFFFFFF" }, "type": "", "OffColor": { "ValueType": 6, "Value": "0xFFCACACA" } },
In B4A 10.7 build a new Default project named A change in Build Configurations the package as eu.prja then add with Designer a new simple layout .bal named La1 with only one View, a B4XSwitch1 select and copy that B4XSwitch1 view build a new Default project named B change in Build Configurations the package as eu.prjb then add with Designer a new simple layout .bal named Lb1 paste the copied B4XSwitch1 view (from La1 of project A) save & close then with BAL converter v.2.30, convert both .bal files (La1, Lb1) to JSON found in Lb1 that the pasted B4XSwitch1 view from La1 to Lb1 keeps for the customType the value of the source (La1) please help me: is that a potential problem or not? B4X: "javaType": ".CustomViewWrapper", "typeface": "DEFAULT", "customType": "eu.prja.b4xswitch", "customProperties": { "OnColor": { "ValueType": 6, "Value": "0xFF00D254" }, "customType": "eu.prja.b4xswitch", "csType": "Dbasic.Designer.MetaCustomView+CustomDataGrid", "shortType": "B4XSwitch", "Value": false, "HapticFeedback": true, "ThumbColor": { "ValueType": 6, "Value": "0xFFFFFFFF" }, "type": "", "OffColor": { "ValueType": 6, "Value": "0xFFCACACA" } },
Erel B4X founder Staff member Licensed User Longtime User May 23, 2021 #2 Have you added the XUI Views library to the second project?
free2end Member Licensed User May 23, 2021 #3 Erel said: Have you added the XUI Views library to the second project? Click to expand... thank you Erel for your response. Yes, i have added the XUI Views library to the second project.
Erel said: Have you added the XUI Views library to the second project? Click to expand... thank you Erel for your response. Yes, i have added the XUI Views library to the second project.
Erel B4X founder Staff member Licensed User Longtime User May 24, 2021 #4 Do you see any error when running the app? If not then you can ignore it.
free2end Member Licensed User May 25, 2021 #5 Erel said: Do you see any error when running the app? If not then you can ignore it. Click to expand... no errors. but... is a bit of uncertainty
Erel said: Do you see any error when running the app? If not then you can ignore it. Click to expand... no errors. but... is a bit of uncertainty