|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Design Mode Property Update HelpIm having trouble tracking down a solution for the following. I have
two properties on a custom textbox control I'm creating. If you change the value in PropertyA it may in code change the value of PropertyB. That works fine, however in design mode PropertyB's value is not shown updated until you click on it to edit it. Is there a way I can force the design mode to be updated immediately after a code change like this? Hi,
"David" <thec***@gmail.com> wrote in message Put a RefreshPropertiesAttribute (System.ComponentModel) before PropertyA, news:1136571196.502468.41010@g44g2000cwa.googlegroups.com... > Im having trouble tracking down a solution for the following. I have > two properties on a custom textbox control I'm creating. If you change > the value in PropertyA it may in code change the value of PropertyB. > That works fine, however in design mode PropertyB's value is not shown > updated until you click on it to edit it. > > Is there a way I can force the design mode to be updated immediately > after a code change like this? > eg.: <RefreshProperties(RefreshProperties.Repaint)> _ Public Property PropertyA() As Integer ... End Property HTH, Greetings
Use of delegate
SetWindowsHookEx and VB.NET 2005 A Framework for Datadriven Forms for VB Dot Net XML Comments File Generated Simple Example of How to Implement SerialPort Class Byte Array, Datagrid Problem with setting focus Help w/ 1st File Access Program ISO Date Functions I was looking for the "Immediate" window like in Classic VB but can't find it |
|||||||||||||||||||||||