Title problems

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
larryh
Posts: 32
Joined: Sat Mar 22, 2008 6:02 pm

Title problems

Post by larryh » Sat Nov 22, 2008 9:14 pm

Hi,

For some reason the Title in my Revolution stack keeps getting truncated or displaying gibberish. It often starts out fine but then eventually gets clobbered. I've looked through all the scripts for Title and so far found nothing that would cause this.

Any ideas as to how to pursue this? An app looks really silly with a strange title : ) I am wondering if its an encoding issue ... if I have somehow set it to Unicode. How would I set it back to Normal?

If I do this:

set the label of this stack to "NewTitle" then in the stack property inspector I do see NewTitle but in the title bar I see "N".

Larry

larryh
Posts: 32
Joined: Sat Mar 22, 2008 6:02 pm

Post by larryh » Sat Nov 22, 2008 9:54 pm

I think I have located the source of the problem ... some bad code having to do with filenames which in turn were used for the stackname which in turn were used for the stack title.

Larry

larryh
Posts: 32
Joined: Sat Mar 22, 2008 6:02 pm

Post by larryh » Sat Nov 22, 2008 11:00 pm

Well, I take it back. I got rid of the bad code and still the stack does not retain the title. I can't seem to isolate when the title goes from good to bad. If you have some ideas to trap it, let me know. If I do this in the message "the title of this stack", the correct title shows up even though the one in the title bar is ugly.

larryh
Posts: 32
Joined: Sat Mar 22, 2008 6:02 pm

Post by larryh » Sun Nov 23, 2008 5:35 am

Still have problems with this. Driving me crazy as I am almost done except for the gobbledy gook that keeps showing up in the Title bar.

Using the message box, I have set it to null both the title and the unicodeTitle. Still when I set either title to a string, most of the time the entire string is not showing up.

Larry

trevordevore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1005
Joined: Sat Apr 08, 2006 3:06 pm
Contact:

Post by trevordevore » Sun Nov 23, 2008 1:23 pm

Trevor DeVore
ScreenSteps - https://www.screensteps.com

LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder

larryh
Posts: 32
Joined: Sat Mar 22, 2008 6:02 pm

Post by larryh » Sun Nov 23, 2008 11:06 pm

Thanks for pointing me to this. This is exactly what I am experiencing. Thought it was something I was doing.

Larry

Post Reply