User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 403,519 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,807 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 99 | Replies: 0
Reply
Join Date: Jun 2008
Posts: 3
Reputation: jivangoyal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jivangoyal's Avatar
jivangoyal jivangoyal is offline Offline
Newbie Poster

Help in Coding

  #1  
Jul 9th, 2008
I want to make functions easy to use. So for summarizing about the function I'm using
Code

''' -----------------------------------------------------------------------------
''' <summary>
'''
''' </summary>
''' <param name=""> </param>
'''-----------------------------------------------------------------------------


I want to enable a feature for the function that if a variable say 'Var1' can take values from a list (val1,val2,val3,val4) than if user writes the function name it must display the list to choose the value from the list.


Like if we declare a variable bFlag of type Boolean and later when we write 'bFlag=' it automatically displays two options 'True and Flase' user just has to select one and no need to write whole string. Similarly in 'msgbox' after writing string when user presses ',' then a list is displayed to select one of the MsgBoxStyle from the list.
So I need to enable the user for similar cases when I've predefined set of values for some argument of the variable.
can anybody help me to enable this feature in the function call writing.

Last edited by jivangoyal : Jul 9th, 2008 at 2:45 am.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 1:08 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC