Click here to Skip to main content
15,909,953 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: query on createobject Pin
RichardGrimmer5-Feb-03 6:28
RichardGrimmer5-Feb-03 6:28 
GeneralRe: query on createobject Pin
manoj madahavan20-Feb-03 5:22
manoj madahavan20-Feb-03 5:22 
GeneralRe: query on createobject Pin
Paul Farry22-Feb-03 17:23
professionalPaul Farry22-Feb-03 17:23 
Generalproblem updating datagrid Pin
mcm31-Jan-03 1:32
mcm31-Jan-03 1:32 
GeneralRe: problem updating datagrid Pin
Don Benson2-Feb-03 17:00
Don Benson2-Feb-03 17:00 
GeneralRe: problem updating datagrid Pin
Anonymous3-Feb-03 1:20
Anonymous3-Feb-03 1:20 
GeneralRe: problem updating datagrid Pin
Don Benson3-Feb-03 17:03
Don Benson3-Feb-03 17:03 
GeneralCustom Designer... Pin
Julusian30-Jan-03 14:24
Julusian30-Jan-03 14:24 
Hello, I have the following problem: I created an inherited class that inherits DataGrid and I added a property called MyProperty as integer. Then I created another class called CustomDesigner that inherits from System.Windows.Forms.Design.ControlDesigner and I setup the Design Attribute for my grid class to use this custom designer.
All works ok (I can see some messages I inserted in the Initialize() function in the designer)... but... I fail to understand how to make the actual "connection" between the changes in the property and the code behind the form. For example, if I change the property "AllowDrop" from the default value of false to True, if I look in the code, right away the line: Me.TestGrid1.AllowDrop = True appears in the InitializeComponent() routine....

But, when I change the additional property (MyProperty) nothing changes in the code behind the form, therefore rendering my custom designer to a useless item...

So, my question is: how can I "catch" the changes in the properties that extend a base class and reflect them in the InitializeComponent() function from the code behind the form?

Any help is appreciated,

Thank you! Big Grin | :-D
Iulian

PS: If you know any books that talk about custom designers...

Best Regards,
Iulian
GeneralPlanet Source Code Visual Basic 2002 CD Pin
shacks30-Jan-03 8:57
shacks30-Jan-03 8:57 
Generalmoving cursor to last (new) row in datagrid Pin
mcm30-Jan-03 6:23
mcm30-Jan-03 6:23 
Generalstructure Pin
pnpfriend30-Jan-03 5:18
pnpfriend30-Jan-03 5:18 
GeneralRe: structure Pin
Jeremy Falcon30-Jan-03 7:50
professionalJeremy Falcon30-Jan-03 7:50 
GeneralRe: structure Pin
Abbas_Riazi30-Jan-03 8:00
professionalAbbas_Riazi30-Jan-03 8:00 
GeneralThanks Pin
pnpfriend30-Jan-03 8:06
pnpfriend30-Jan-03 8:06 
GeneralRemote execute an application(executable). Pin
Len Naude30-Jan-03 1:55
Len Naude30-Jan-03 1:55 
GeneralRe: Remote execute an application(executable). Pin
Paul Farry22-Feb-03 17:33
professionalPaul Farry22-Feb-03 17:33 
Generalzip a file Pin
shanksprasad29-Jan-03 18:50
shanksprasad29-Jan-03 18:50 
GeneralRe: zip a file Pin
pnpfriend30-Jan-03 3:39
pnpfriend30-Jan-03 3:39 
GeneralRe: zip a file Pin
Abbas_Riazi30-Jan-03 8:06
professionalAbbas_Riazi30-Jan-03 8:06 
GeneralRe: zip a file Pin
Davy Mitchell30-Jan-03 20:44
Davy Mitchell30-Jan-03 20:44 
GeneralRe: zip a file Pin
Carlos Antollini31-Jan-03 4:06
Carlos Antollini31-Jan-03 4:06 
GeneralLogin system for a program Pin
Sean Cull29-Jan-03 10:57
Sean Cull29-Jan-03 10:57 
GeneralRe: Login system for a program Pin
Jerome Conus30-Jan-03 1:33
Jerome Conus30-Jan-03 1:33 
QuestionHow to Cast dynamically? Pin
FruitBatInShades29-Jan-03 2:57
FruitBatInShades29-Jan-03 2:57 
GeneralDES Encryption Pin
Zaid Ansari29-Jan-03 2:05
Zaid Ansari29-Jan-03 2:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.