Update property grid |
Post Reply |
Author | |
igump
Newbie Joined: 15 January 2009 Location: China Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 13 December 2009 at 9:46pm |
Hi,
i want get a value from the dialog form and update the other form which the property grid in, the code as following, i use 'finditem' ok and also get the value from the frmnewdialog, but can't display the value on this item, can you tell why? every thanks!
If frmNewDialog.IsOK = True Then
Dim aItem As XtremePropertyGrid.PropertyGridItem Set aItem = frmPaneProperty.PropertyGrid.FindItem("SampleNumber") aItem.Value =frmNewDialog.SampleNumber End If
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Have work. Are you sure aItem is not "Nothing" on last line ?
btw line frmPaneProperty.PropertyGrid can create additional Form - check if it form that you already have.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |