Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do bitmap files have to stay in the same place as during development?

bitmap Development files stay
0
10 Posted

Why do bitmap files have to stay in the same place as during development?

0
10

Bitmap files can be located anywhere they can be opened. Perhaps you are referring to the fact that images selected for grids with the GuiDesigner AppearanceWindow generate full path file names when design windows are converted into grid functions by Window ToFunction . If you do not change these names, the locations of the bitmap image files are in fact fixed, just as you say. To change to a relative path name, edit the grid function as in this example: XuiSendMessage (g, #SetImage, 0, 0, 0, 0, 0, @”\\xb\\xxx\\xstart.bmp”) XuiSendMessage (g, #SetImage, 0, 0, 0, 0, 0, @”xxx\\xstart.bmp”) The second example skips the leading ” \\xb\\ ” part of the filename, which loads xstart.bmp from the xxx subdirectory of any current directory.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123