Build in Answer Dialog

Bob Sneidar bobsneidar at iotecdigital.com
Tue Dec 6 14:47:40 EST 2022


I am sure you can, after you open it once on a Mac. I was replacing the datagrid behavior for every download this way. I would brick the bundle though if I replaced anything before opening it first.

Bob S


On Dec 6, 2022, at 09:34 , Klaus major-k via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

Hi Panos,

Am 06.12.2022 um 18:24 schrieb panagiotis m via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>>:
Hello Paul,
You can tweak this file with a text editor:
/Applications/LiveCode 9.6.9 (rc
2).app/Contents/Tools/Toolset/palettes/answer-dialog/revanswerdialog.livecodescript:
/* Creates the prompt field if there is not one already created */
if the number of fields of me is 0 then
 create field in this card of me
 set sharedText of it to true
 set dontWrap of it to false
 set lockText of it to true
 set opaque of it to false
 set traversalOn of it to false
 set showBorder of it to false
 set vScrollbar of it to true
 set width of it to 293
 set height of it to 342
 set the fixedLineHeight of it to "false"   /// <---- ADD THIS LINE
end if
Note you have to quit LC first, then make this change, then save it.

Kind regards,
Panos

are you sure that we are allowed save a file inside of an application bundle
inside of the APPLICATION folder on macOS?


Best

Klaus

--
Klaus Major
https://www.major-k.de<https://www.major-k.de/>
https://www.major-k.de/bass
klaus at major-k.de<mailto:klaus at major-k.de>


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list