Certain graphics don't display in Windows standalone

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bd525
Posts: 80
Joined: Sun Aug 31, 2014 12:43 am

Certain graphics don't display in Windows standalone

Post by bd525 » Mon Mar 01, 2021 7:19 pm

I am doing a music app with simple graphics. Everything works fine in the development environment (Mac) and in Mac standalones, but on Windows standalones some images show and others don't (see bottom graphic; above is what should show). The notes on the left and right are generated by separate handlers, but I have no idea why in one environment (Windows standalone) one handler works and the other doesn't. There is a single source file for all the notes (a jpg), set with the [set the fileName of image...] command. I've looked and looked at both handlers, including [set the visible of image...] commands, but can't see what's causing the problem. Must be something simple I'm missing, but need some help! Thanks.

-Bruce
WIndows display problem.jpg

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Certain graphics don't display in Windows standalone

Post by richmond62 » Mon Mar 01, 2021 7:22 pm

Without seeing your code and your source files
I wonder how anyone can help you.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Certain graphics don't display in Windows standalone

Post by FourthWorld » Mon Mar 01, 2021 7:42 pm

I'm guessing it's a path issue, but without seeing any code that's just a semirandom guess.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Certain graphics don't display in Windows standalone

Post by bogs » Mon Mar 01, 2021 8:07 pm

This is just a suggestion, but if Richard is right and it is a path issue, you might consider just assigning the graphic to a button icon, making the button have no border, and just copy/move the buttons to the locations you want if the main graphic is note symbols.
Image

bd525
Posts: 80
Joined: Sun Aug 31, 2014 12:43 am

Re: Certain graphics don't display in Windows standalone

Post by bd525 » Mon Mar 01, 2021 9:23 pm

Thanks for the replies. I was thinking (hoping) there might be some known factor about Windows that would explain the problem, but no luck so far. I'll do more investigating and report back.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Certain graphics don't display in Windows standalone

Post by FourthWorld » Mon Mar 01, 2021 10:25 pm

bd525 wrote:
Mon Mar 01, 2021 9:23 pm
Thanks for the replies. I was thinking (hoping) there might be some known factor about Windows that would explain the problem...
There might be, but without seeing any code we're unable to advise on which of the code you're using may relate to a known issue.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Windows”