forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


NEW MENU FEATURE IN VDS 5.01!!

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jan 18, 2004 4:36 pm    Post subject: NEW MENU FEATURE IN VDS 5.01!! Reply with quote

I just came across this new "feature" on the menus, which wasn't available
in VDS 5.00 or below!

If you add no items to a menu, VDS will now trigger an event when you
click on the menu label name like it was a menu item.

Here's an example (note you need VDS 5.01 to try it):

Code:
  DIALOG CREATE,New Dialog,-1,0,240,160
  DIALOG ADD,MENU,File,Exit
  DIALOG ADD,MENU,CLICK_HERE
  DIALOG ADD,MENU,Help,Help
  DIALOG SHOW
  :evloop
  wait event
  goto @event()
:ExitMENU
:HelpMENU
  info You clicked Exit menu or Help menu
  goto evloop
:CLICK_HEREMENU
  warn NEW FEATURE!
  goto evloop
:close
  exit


This means excellent new things such as, for example, Prakash can use
his VDSPOPUP in combination with these new possible menu events to
create a truly realistic menu with his DLL. Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Jan 18, 2004 6:17 pm    Post subject: Reply with quote

This is nice, although it was already possible by using the right callback events... Smile
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jan 18, 2004 8:15 pm    Post subject: Reply with quote

Razz Well I'm excited about it. Wink
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Jan 21, 2004 7:24 am    Post subject: Reply with quote

Skit3000 wrote:
This is nice, although it was already possible by using the right callback events...

Are U talking of setting a Option Msgevent for WM_COMMAND ?
It was not working well in VDS 5.00 although it does well in 5.01.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group