Vectorlight News

  • Chat App Converted to HTML and JQuery
    Sep 08, 2011

    Converted from Silverlight to HTML and Javascript/JQuery is the Vectorlight Chat App. Login using your Vectorlight password to chat using your username and avatar.

  • HTML5 iPhone,Android Big Guns Tower Defense
    Jul 02, 2011

    Big Guns has made the leap from Windows Phone 7 (XNA) to HTML5 so you can now play it on your iPhone, Android and other HTML5 compatible devices.

  • HTML5 Games - Word Poppers and Batty
    Jun 04, 2011

    As the take-up of HTML5 quickens (74% of users currently have a browser capable of HTML5 Canvas) we present two more games for both your browser and mobile.

  • Big Guns Tower Defense on Windows Phone 7
    May 06, 2011

    Coming soon to Windows Phone 7 is an XNA port of the popular Vectorlight tower defense game Super Tower Defense. Whilst retaining many of the graphical and gameplay features of the original Silverlight game.

  • Wakacube WP7 Update
    Apr 26, 2011

    Released to the Windows Phone 7 marketplace today is Version 1.1 of Wakacube the 3D physics game of skill. Included in the update are more levels (30 in total) and new mode Wakatime which generates random crate structures to keep players entertained long after the levels have been completed.

  • Home Page News
andydevuss
andydevuss
Menu Items not Selectable Posted: May 17, 2010
 

Hi,


I am having a problem with your main menu control where the dropdown menu items can not be selected if they overlap another control please see xaml below.


<Canvas Grid.Row="1" Grid.RowSpan="1" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  >


                        <liquidMenu:MainMenu x:Name="MyMenu" Visibility="Visible">


                            <liquidMenu:MainMenu.Items>


                                <liquidMenu:MainMenuItem Text="Menu 1">


                                    <liquidMenu:Menu>


                                        <liquidMenu:MenuItem ID="item11" Text="Item 1" />


                                        <liquidMenu:MenuDivider />


                                        <liquidMenu:MenuItem ID="item12" Shortcut="Ctrl+S" Text="Item 2" />


                                        <liquidMenu:MenuDivider />


                                        <liquidMenu:MenuItem ID="item13" Text="Item 3" />


                                    </liquidMenu:Menu>


                                </liquidMenu:MainMenuItem>


                            </liquidMenu:MainMenu.Items>


                        </liquidMenu:MainMenu>

                    </Canvas>


                    <sdk:Frame Grid.Row="1" Grid.RowSpan="1"   Name="frContent" Margin="0,40,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />

 
 
dan
dan
RE: Menu Items not Selectable Posted: May 17, 2010
 

Hi,


So basically the contents of <sdk:Frame> is overlapping the drop down menus?  In this scenario you just need to switch the <Canvas> and <sdk:Frame> tags around.  Its important to remember with the Menu control has to be placed in the correct position to ensure the rendering order is right.


Thanks!

 
 
danparker276
danparker276
RE: Menu Items not Selectable Posted: Jul 25, 2010
 

I'm having the same problem.  I put the frame on top. I'm using the VS starting template that uses the navigation frame:


    <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}">

            <navigation:Frame Grid.Row="1" x:Name="ContentFrame" Style="{StaticResource ContentFrameStyle}"

                              Source="/Home" Navigated="ContentFrame_Navigated" NavigationFailed="ContentFrame_NavigationFailed" Height="411">

                <navigation:Frame.UriMapper>

                    <uriMapper:UriMapper>

                        <uriMapper:UriMapping Uri="" MappedUri="/Views/Home.xaml"/>

                        <uriMapper:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml"/>

                    </uriMapper:UriMapper>

                </navigation:Frame.UriMapper>

            </navigation:Frame>

    <Grid x:Name="NavigationGrid" Grid.Row="0" Style="{StaticResource NavigationGridStyle}" Height="57">

            <Grid.RowDefinitions>

            <RowDefinition Height="20" />

            <RowDefinition Height="40" />

            <RowDefinition />

        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>


            <ColumnDefinition></ColumnDefinition>

        </Grid.ColumnDefinitions>

    

                <liquidMenu:MainMenu x:Name="testMenu2" ItemSelected="testMenu_ItemSelected" Margin="0,0,-39,0">

                    <liquidMenu:MainMenu.Items>

                        <liquidMenu:MainMenuItem    Text="File">

.....


 
 
danparker276
danparker276
RE: Menu Items not Selectable Posted: Jul 25, 2010
 

Actually it only happens when it's in a nested gridview.

    <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}">




 
 
danparker276
danparker276
RE: Menu Items not Selectable Posted: Jul 25, 2010
 

Sorry, I could end this post:

Actually it only happens when it's in a nested gridview.  To simpilfy things:


    <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}">

     <nav:frame grid.row=1>

     </nav:frame>

     <Grid grid.row=0>

       <Liqud.Menu>

     </Grid>

      </Grid>


If I take the 2nd grid away it will work

 
 
danparker276
danparker276
RE: Menu Items not Selectable Posted: Jul 25, 2010
 

Sorry for posting again, but I figured where it goes wrong:

when I set the height in the second grid, it fails.  When I remove the 'Height=50'  below it works.  This was set in my styles from the default VS2010 project.


            <Grid Height="50"  x:Name="NavigationGrid">

                <Grid.RowDefinitions>


                    <RowDefinition Height="20" />


                    <RowDefinition Height="30" />


                    <RowDefinition />


                </Grid.RowDefinitions>

 
 
dan
dan
RE: Menu Items not Selectable Posted: Aug 14, 2010
 

Cool, thanks for sharing this!