Page 1 of 1

Icon disappearing in compiled app?

Posted: Tue Jun 09, 2026 12:53 pm
by cmhjon
Hi everyone,

Although a button and its icon are present in the native project file, the icon disappears (but the button is still present) in the compiled app. It’s the minus sign icon in the lower right corner of the text field:

Native Project File:
Native.jpg
Compiled App:
App.jpg
I’m also including the code of the button in case it’s some kind of code issue:

Code: Select all

on mouseUp
   lock screen
   if the height of field "Quantity" is 42 then
      set the height of field "Quantity" to 200
      set the top of field "Quantity" to 224
      set the icon of me to 200087
      set top of me to 413
   else
      set the height of field "Quantity" to 42
      set the top of field "Quantity" to 224
      set the icon of me to 200086
      set top of me to 255
   end if
   unlock screen
end mouseUp
Although this not a huge deal, I’d prefer to have it working right. Anyone have any ideas on how to fix this?

Thanks,
Jon :-)

Re: Icon disappearing in compiled app?

Posted: Tue Jun 09, 2026 2:16 pm
by dunbarx
I cannot believe it is a code issue. When you make a standalone from a stack, the thinking is that everything comes over intact. I would send your stack to LC.

Craig

Re: Icon disappearing in compiled app?

Posted: Tue Jun 09, 2026 2:36 pm
by cmhjon
Hi Craig,

I was about to do that but then I had an idea:

I duplicated the button while in its minus sign state, removed the code from it, and just left it sitting loose on the UI, re-compiled, and now the icon in the corner of the field shows correctly.

Weird,
Jon :-)

Re: Icon disappearing in compiled app?

Posted: Tue Jun 09, 2026 6:39 pm
by dunbarx
OK.

I assume NOT removing the code will also work.

It could just be a glitch. Yesterday a stack I have used forever all of a sudden would only print the bottom 80% of a card. I tried everything, setting the print area, whatever.

So then I closed LC and reopened. Fixed.

Craig

Re: Icon disappearing in compiled app?

Posted: Tue Jun 09, 2026 8:07 pm
by richmond62
Deus ex machina

Re: Icon disappearing in compiled app?

Posted: Tue Jun 09, 2026 9:31 pm
by cmhjon
richmond62 wrote: Tue Jun 09, 2026 8:07 pm Deus ex machina
Indeed! :)