T ToolboxZX Member Licensed User Longtime User May 1, 2017 #1 Did the syntax for setting up an ABMInput field change between version 2.5 and 3.02? In 2.5 the following was acceptable: B4X: Dim inp7 as ABMInput inp7.Initialize(page,"myinput",ABM.INPUT_DATE,"Testing Date",False,"") inp7.PlaceHolderText ="" page.cell(1,1).AddComponent(inp7) You would get the header line "Testing Date" above " / / ". Now the two lines are on top of each other
Did the syntax for setting up an ABMInput field change between version 2.5 and 3.02? In 2.5 the following was acceptable: B4X: Dim inp7 as ABMInput inp7.Initialize(page,"myinput",ABM.INPUT_DATE,"Testing Date",False,"") inp7.PlaceHolderText ="" page.cell(1,1).AddComponent(inp7) You would get the header line "Testing Date" above " / / ". Now the two lines are on top of each other
alwaysbusy Expert Licensed User Longtime User May 2, 2017 #2 Nothing has changed since those versions, but I can't really reproduce the problem you describe. Is this code placed in BuildPage() or ConnectPage() Upvote 0
Nothing has changed since those versions, but I can't really reproduce the problem you describe. Is this code placed in BuildPage() or ConnectPage()
T ToolboxZX Member Licensed User Longtime User May 3, 2017 #3 The code is in the ConnectPage Sub. It is very odd. I have even tried it in Chrome and get the same error. If I go back to my old project and version 2.51 it works without issue. Upvote 0
The code is in the ConnectPage Sub. It is very odd. I have even tried it in Chrome and get the same error. If I go back to my old project and version 2.51 it works without issue.
alwaysbusy Expert Licensed User Longtime User May 3, 2017 #4 I can confirm it is broken. However, no idea yet what is causing it Edit: I also have it in version 2.51... Last edited: May 3, 2017 Upvote 0
I can confirm it is broken. However, no idea yet what is causing it Edit: I also have it in version 2.51...
alwaysbusy Expert Licensed User Longtime User May 3, 2017 #5 I have not found the real cause for the problem, but temporary, can you try: B4X: inp7.PlaceHolderText ="{NBSP}" Upvote 0
I have not found the real cause for the problem, but temporary, can you try: B4X: inp7.PlaceHolderText ="{NBSP}"
T ToolboxZX Member Licensed User Longtime User May 3, 2017 #6 The placeholder trick works, thank you! Upvote 0