Build in Answer Dialog

panagiotis m merakosp at gmail.com
Tue Dec 6 12:24:53 EST 2022


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
---

On Tue, 6 Dec 2022 at 19:08, Paul Dupuis via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Does anyone know how to make a change to the built in Answer Dialog
> stack permanent (for a given instance of LC)?
>
> I can show IDE stack in the Project Browser and see the Answer Dialog
> stack and make the change I want (unchecking the Fixed line height for
> the field to fix regression:
> https://quality.livecode.com/show_bug.cgi?id=24038). However, I can't
> seem to save the change. Save presents a Save As dialog and I have no
> idea where the stack is located. As it has no filename property, I
> figure it is created on the fly by script, but I have no idea where that
> IDE script would reside.
>
> I've asked Livecode Ltd, but it is after hours in Scotland, so I am
> hoping someone on this list may have an answer before they have a chance
> to reply tomorrow.
>
> Thanks in advance,
>
>
> _______________________________________________
> use-livecode mailing list
> 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