PDA

Click to See Complete Forum and Search --> : Menu Not Visible/Offscreen


highflight1985
Apr 15th, 2007, 01:13 PM
When you create a new form, it automatically creates a new menu to go with it. That's nice and all, but lets say I want to copy a menu I already created from another form over to this one so that I don't have to recreate the menu for each form. So, I copy and paste it over. However, it's off the screen, and I can't seem to figure out how to move it into position. There doesn't seem to be any properties I can edit, and it doesn't seem like I can click and drag it into position.

Any ideas?

petevick
Apr 16th, 2007, 01:16 AM
Hi,
you don't need to move it into position - it is automatically in position.
When you click on it, you should see 'Type Here' appear in the bottom left of the screen.

highflight1985
Apr 16th, 2007, 04:46 AM
Right, so you'd think. But it doesn't. It's below and to the right of the menu created by VS2005, which I deleted. It doesn't automatically reposition itself.

petevick
Apr 16th, 2007, 06:13 AM
Hi,
you can drag it to where you want - its position there has no bearing on its screen position - is that what you mean?

Clicking on it exposes its properties, and shows you the 'type here' in the bottom left, as it is an 'invisible' control

Pete

highflight1985
Apr 16th, 2007, 03:29 PM
I don't think you understand. I'm not able to click and drag the control on the GUI/form. I can drag its icon in VS's horizontal toolbar that represents controls that can't be seen (such as timers and the inputpanel), but on the actual form itself--I can't move it into position so it can be seen. It's below and to the right a little bit of where it should be, and when I run the application, I can't see or use it. My forms don't have a white background, so where the menu should be is a white blank spot.

petevick
Apr 17th, 2007, 12:37 AM
Hi,
yes - but you can't put the menu on the form as it is an invisible control.
when you click on it, you should see what happens herehttp://www.gui-innovations.com/images/props.jpg and then you can add menu items just by typing in

highflight1985
Apr 17th, 2007, 04:00 PM
Yes, you're right. That's what I SHOULD see; and I only sort of seeing that. Imagine the arrow head in your picture pointing to the the little silver Windows icon and the words Pocket PC. That's where my menu is being displayed on the form; it's not centered at the bottom like you see. I think at this point, a picture like yours is worth the thousand words....

The first picture is in the development environment, the second is in the debug mode on the emulator.

petevick
Apr 17th, 2007, 05:15 PM
Hmm,
that looks as though the emulator image is screwed for some reason.

Do you get the same on PPC2003 and WM5 emulators?

What about on a real device?

Pete

highflight1985
Apr 17th, 2007, 06:11 PM
I must wonder how's it the emulator that's the problem when it's not correctly placed in VS2005's design environment. I think the emulator is just putting it where VS2005 is telling it to, and it's VS2005 that's messed up.

I haven't tested this particular instance of the problem on anything but the emulator, but I've experienced this problem before and the issue was replicated on an actual device. That is, on my PDA, I wasn't able to see the menu. The only fix was to delete the form, and start over, to include defining the menu. I get this problem every time I try to copy and paste a menu from one form to another.