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
TuanAnh207
TuanAnh207
How to hide a menu when lost focus Posted: Aug 23, 2010
 

Hi, I'm having a problem that i don't know how to close a menu when i click on a space out of the menu!

Can anyone help me ?


Thanks!

 
 
dan
dan
RE: How to hide a menu when lost focus Posted: Sep 06, 2010
 

Hi,


Okay, so you have added an left mouse click event handler to whatever element is under you menu?  If you've done this you can close the menu by calling the myMenu.Hide(); method.


Thanks!

 
 
jimijani
jimijani
RE: How to hide a menu when lost focus Posted: Sep 14, 2010
 

hello there,


i am sorry , but i cant see this method "Hide" in the main menu.


thanks

Jamal.

 
 
jimijani
jimijani
RE: How to hide a menu when lost focus Posted: Sep 15, 2010
 

ohh i was looking into the main menu . now i see it in the menu. but if there are serveral menus , how will we be able to get referance of the opened menu , when mouse is left clicked anywhere , so that we call the hide method.

 
 
dan
dan
RE: How to hide a menu when lost focus Posted: Sep 16, 2010
 

Hi,


This will work for single menus used for context menus but will not work for a main menu.  We have added a new method to close any open menu to the MainMenu control which will be available in the next version.


Thanks!

 
 
alvin
alvin
RE: How to hide a menu when lost focus Posted: Jan 17, 2011
 

hi,

how can i hide(Collapsed) all sub menu when mouse leave main manu?



thanks!

 
 
dan
dan
RE: How to hide a menu when lost focus Posted: Jan 18, 2011
 

Hi,


Have you tried myMainMeny.CloseChildren()?  This will collapse any open child menus.


Thanks!

 
 
dangson
dangson
RE: How to hide a menu when lost focus Posted: Nov 07, 2011
 

myMainMenu.CloseChildren() is great. Thanks in advance!

 
 

Rate this: 

1 Star 2 Star 3 Star 4 Star 5 Star
1 Rating / 5.0 Average