New to Luna, Background Question.

I'm learning Luna by poking around and trying all different things. I've run into something i can't figure out.  I'm currently learning  to change backgrounds for different windows on different screens, i'm working on the items screen right now. I'm running the game in 640x480. I've put a 640x480 test background picture of some wood grain into the Help window of the items screen. Since the Help window is set to y0/x0 on the menu screen and the image by default sets to y0x0 of the Help window, i thought the 640x480 picture would replace all the background on the screen, it does not. It only replaces the Help window, and the Items window, the blue background for the category window stays, but the blue background for the help and items windows converts to the woodgrain. Help window back_type is set to 2, the other two windows (item and category) are set to 0. The "Z" for all three windows is the same, 300. 

   Another thing i don't understand is when the Help window and the Item window change backgrounds to the wood grain the text and images in the items window showing my characters inventory dissapear. I can still use enter/arrow keys to move into the items window and move around to select the different items but there is no visual of it, only the sounds. The info for those items shows up visable in the help window.

  I've attached a screenshot of the menu window after i have added the wood grain image to Help window. You can't see it but 

the cursor is down in the Items window and is on an item my character has called "test item", the help info attached to it shows up in the Help window correctly.

 I've attached a .txt of the parts of the Configuration Item Menu section of the Script Editor that pertain to the screenshot. 

*Update, i now realize adding a background picture to a window that is larger than said window and expands out to overlap other windows does not change the background of those other windows. But what i don't understand is why the Categrory window is above the picture, and the items window is below the picture if all three windows have a Z of 300. 

*Update, i tried changing the Z of the Help window to 299, one less than the 300 of the items window to see if that would lower the background that is attached to the Help window one layer below the items window and bring the items window above the Help window background. It did not. Using different z's on different windows isn't something i've messed around with yet, i though that was how it worked but apparently it is not. Basically my question now is, why is the Items window, below the background for the Help window. I lowered the resolution of the Help window background to make it slightly smaller to make sure that the Items windows was indeed still there with its default blue background but just below the wood grain, it is there and still has the proper background, i just don't know how to put it above the wood grain, or why i would even need to do that. Shouldn't it be above the wood grain by default? Perhaps i changed something by accident but i can't find anything wrong in the script editor. 

ItemsScreen.png

Items_Menu.txt.txt
Im still not 100% sure what you want. I assume you want the Category commands to match the background and the items box up front to be viewable. Try this, Change the Z value of the help window to 100. Go to your Window_Category and set the opacity to 0.  Double check your Item_Window and see where the Z value is, make sure it higher than 100. You may need to adjust status window as well. I attatched the txt you provided(editted already) see if that makes a diffrence.

EDIT: I went over your question again, and re adjusted the .txt. This still may not be the problem. but we will see.

Items_Menu.txt.txt
Thank you LT all i had to do is lower the Z of the Help window to 100. What i'm working on right now is just trying to understand how things work, this brings up two questions for me maybe you can answer. 

1: Why did the background for the Help window run below the Category window, but above the Items window if all three are set to z300?

2: Why when i set the Help window to z299,  did it's background not layer lower than the z300 of the items window like it did when i used your 100, both are lower than the items window 300, should they both not do the same thing? Thanks for the quick reply.
I see you set the Help to z100, and the Items to z500, i just kept the Items at z300 and it did the trick. Is there a minimum amount of different needed in the Z before things on the screen will layer apart from each other? Again i'm not working on anything specific i'm just messing around trying to learn how things work together and editing different things in the script affects them. I would really like to know why lowering the Z by 1 did nothing while lowering the Z by 200 changed the layers. Guess i'll just do a little testing and see what the minimum difference had to be between the two layers before the Help windows background was lower than the 300 of the Items window.
Thank you LT all i had to do is lower the Z of the Help window to 100. What i'm working on right now is just trying to understand how things work, this brings up two questions for me maybe you can answer. 

1: Why did the background for the Help window run below the Category window, but above the Items window if all three are set to z300?

2: Why when i set the Help window to z299,  did it's background not layer lower than the z300 of the items window like it did when i used your 100, both are lower than the items window 300, should they both not do the same thing? Thanks for the quick reply.
Im not 100% sure how the main luna code works, but I believe the z values should be increments of 100, I believe the Z value too close in range to each other is bound to cause problems.   That's my guess, I noticed all Z values are increments of 100, so I figured I better keep the same style as luna defualt.
So i tested around and here's what i found. The Help window in the image was at it's default of (z300). Its background was layering over the Items window that was at defult (z300). I still don't know why this is. To get the Help background layer below the Items window layer i had to lower the Help windows default z300 to be lower than the Item windows z300 by at least an unspecified minimum. By adjusting the Help windows Z up and down i found that any z of 101 or less would layer the help window lower than the Item window that is still set at its default of z300. A minimum difference between the two windows of z199 (Help Window z = 101, and Items Window z = 300) was needed before the Help window background would layer itself lower than the item window thus unobscuring the item window and making it visible again.  z199 seems to be a strange number but if the Help window is set to any z of 102 or more it covers the items window z of 300. If the Help window is set to a z of 101 or less, it layers itself below the item window. 

  I still don't understand why if all three windows in my screenshot (Help, Category, and Items) are all set to default z300, than why did i have to lower the Help window by z199 or more to get its background behind the Items window but not not the Category window. Anyways, for the future when i need to layer two windows separately i'll just use a difference of 200.

Here you can see the Items menu is now again visible with the z of the Help menu changed to 101, any number higher and it again covers over the Items menu that is still set at the default z of 300.

z101.png

Original thread: https://forums.rpgmakerweb.com/threads/new-to-luna-background-question.44674/