|
-
Jun 11th, 2003, 04:27 AM
#1
Thread Starter
Junior Member
Form Methods
Hi,
In VB6 you can see all the methods in a combobox like form load, unload, resize. Is this possible in VB.NET because i want to do something on the form resize method.
Like if the user resized the form the datagrid is also the same as the form with.
Another question in vb6 their was also a function like datagrid1.width = me.scalewidth but in vb.net i don't the scalewidth anymore 
Regards
Kris
-
Jun 11th, 2003, 05:55 AM
#2
Thread Starter
Junior Member
Datagrid Editting
Another question is it possible to edit a datagrid in design mode like in vb6 because i want to change my column names.
-
Jun 11th, 2003, 05:59 AM
#3
Sleep mode
Re: Form Methods
Originally posted by wizzard
Hi,
In VB6 you can see all the methods in a combobox like form load, unload, resize. Is this possible in VB.NET because i want to do something on the form resize method.
Do you mean Events of the form ?
-
Jun 11th, 2003, 07:00 AM
#4
Thread Starter
Junior Member
-
Jun 11th, 2003, 07:04 AM
#5
Sleep mode
Originally posted by wizzard
yes i mean event sorry.
OK , to get all form events , select from the upper left combobox which called "Class Name" Form Events (this is in VS.NET 2003) in VS.NET 2002 it's something like base class ) . Then on the right you can find all the events of that form .
Last edited by Pirate; Jun 11th, 2003 at 07:10 AM.
-
Jun 11th, 2003, 07:07 AM
#6
Thread Starter
Junior Member
Thanks,
Can you help me with this:
In VB6 you can see all the methods in a combobox like form load, unload, resize. Is this possible in VB.NET because i want to do something on the form resize method.
Like if the user resized the form the datagrid is also the same as the form with.
Another question in vb6 their was also a function like datagrid1.width = me.scalewidth but in vb.net i don't the scalewidth anymore
----------------------------------------------------------------------------
I have Visual Studio 2002. Is their already a newer version out?
-
Jun 11th, 2003, 07:11 AM
#7
Sleep mode
Originally posted by Pirate
OK , to get all form events , select from the upper left combobox which called "Class Name" Form Events (this is in VS.NET 2003) in VS.NET 2002 it's something like base class ) . Then on the right you can find all the events of that form .
First did this help you with the first problem ? and I guess they are not methods , they are events . lol
-
Jun 11th, 2003, 07:14 AM
#8
Sleep mode
Another question in vb6 their was also a function like datagrid1.width = me.scalewidth but in vb.net i don't the scalewidth anymore
Use instead , Dock property of the DataGrid . Set it to Fill if you want it to be resized as the form resizes (and you have mulitple options there too).
-
Jun 11th, 2003, 07:23 AM
#9
Thread Starter
Junior Member
yes thanks with the base class events i see them all.
But to edit a datagrid or changing the column names in design time is this no longer possible?
-
Jun 11th, 2003, 07:29 AM
#10
Sleep mode
Originally posted by wizzard
yes thanks with the base class events i see them all.
But to edit a datagrid or changing the column names in design time is this no longer possible?
Sure ,
In design time , I don't think it's possible . But you can do it with code anyways .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|