Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closable
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00673937
Message ID:
00710348
Views:
18
I find the best place to go is in the VS.NET help. If you look for "Form class" in the Help Index, and then click on "all members", you will see all the properties, methods, and events associated with the class.

In the code behind, you can also look at the top of the coding window and find two dropdown comboboxes. The one on the left displays the objects associated with your current form and the one on the right shows the properties, methods, and events. To get to the Closing event, choose "(Base Class Events)" from the combobox on the left, then scroll down inside the combobox on the right till you find "Closing". When you choose this event, it will right out the method call for you to place code in.

Another piece of information you might find useful is to click on Tools/Options from the menu. Click on "Text Editor" on the left hand side. Then click on "Basic", then "General". On the right-hand side, you should see a series of checkboxes. The top checkbox says "Auto list members". I would make sure that is checked BUT UNcheck the next checkbox that says "Hide advanced members". The default for VB .NET is to hide certain properties, methods, and events that the VB .NET teams feels is more advanced in nature. I personally like to see everything to make sure I know what is available.


>Cathi,
>
>Nice example on capturing the close event.
>
>I have an easy one for you - where is there a listing of all of the events I can tie in to? Where would I go to know that there is a (formname)_Closing event?
>
>TIA,
>Doug
>>In order to hide the X, you have to hide the control box. If you hide the control box, you lose all the icons (minimize, maximize, and close). To hide the control box, set ControlBox property to False. You can hide the minimize and maximize buttons independently but not the X.
>>
>>>hello everyone, does anyone know the equivalent to the closable property on a foxpro form for VB.NET. Thanks.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform