Answer bug?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kpeters
Posts: 112
Joined: Wed Mar 21, 2007 9:32 pm

Answer bug?

Post by kpeters » Thu May 03, 2007 8:03 pm

Am I missing something or does answer really not handle strings with more than about 45 characters without chopping?

Am trying to display a path to a file and thus don't want to "artificially" break it down so that a dialog can display it - after all, it should resize itself to accomodate such strings!

What do you do in cases like this?

TIA,
Kai

xApple
Posts: 113
Joined: Wed Nov 29, 2006 10:21 pm

Post by xApple » Thu May 03, 2007 8:28 pm

I've had lots of answer dialogs lately randomly clipping text here and there. The strangest is that several answer calls with the same string will produce different text warping each time...

marielle
Livecode Opensource Backer
Livecode Opensource Backer

Post by marielle » Thu May 03, 2007 10:35 pm

That has been much documented in the quality center 4766, 4837, 4607. This goes from version 2.8 till beta 6.

This was marked as fixed for the current beta (beta 6, released yesterday) but it looks like it needs some more tuning.

Note that these reports do not have showing long lines of text as a priority, consider logging in to the quality center to add your comment (this forum is not closely monitored by runrev support, the quality center is).

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu May 03, 2007 11:21 pm

Hi,

I posted a simple patch to solve this and a few more problems to RevOnline. User name Mark. The patch should work with Rev 2.7.5 up to and including 2.8.1, but please make a backup copy of your Rev folder before applying the patch.

Best,

MarK
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

marielle
Livecode Opensource Backer
Livecode Opensource Backer

Post by marielle » Thu May 03, 2007 11:37 pm

Thanks Mark :-)

kpeters
Posts: 112
Joined: Wed Mar 21, 2007 9:32 pm

Post by kpeters » Fri May 04, 2007 1:00 am

Awesome - works like a charm!

Thanks for sharing!
Kai

Post Reply