J johnaaronrose Active Member Licensed User Longtime User Feb 8, 2022 #1 I want to set the title in the B4XMainPage module. I get a syntax compile error with this code in 'Sub B4XPage_Created': B4X: B4XPages.SetTitle(Me, "Test”) What should this code be? Last edited: Feb 8, 2022
I want to set the title in the B4XMainPage module. I get a syntax compile error with this code in 'Sub B4XPage_Created': B4X: B4XPages.SetTitle(Me, "Test”) What should this code be?
William Lancee Well-Known Member Licensed User Longtime User Feb 8, 2022 #2 You're going to hate this but the last quote is not a B4X " Upvote 1
J johnaaronrose Active Member Licensed User Longtime User Feb 8, 2022 #3 @wil You're right. This code (with a change to the string) came from a pdf document written by someone showing how to convert a B4A project to a B4XPages project which I must have copied and pasted without realising that the last quote was not the standard double quote symbol. I don't know about running B4a under Windows makes it easier to see things like this, but as I'm running B3a under Ubuntu 20.04 it can be difficult to see small differences like this. Upvote 0
@wil You're right. This code (with a change to the string) came from a pdf document written by someone showing how to convert a B4A project to a B4XPages project which I must have copied and pasted without realising that the last quote was not the standard double quote symbol. I don't know about running B4a under Windows makes it easier to see things like this, but as I'm running B3a under Ubuntu 20.04 it can be difficult to see small differences like this.
William Lancee Well-Known Member Licensed User Longtime User Feb 8, 2022 #4 I have poor eyesight, but I have been punished for 55 years for missing differences between various quotes, I vs l, 0 vs o, and - vs _. Therefore I look for these differences over and over again. Upvote 0
I have poor eyesight, but I have been punished for 55 years for missing differences between various quotes, I vs l, 0 vs o, and - vs _. Therefore I look for these differences over and over again.