Setting checked status of checkbox menu item |
Post Reply |
Author | |
stefanadelbert
Groupie Joined: 29 October 2008 Location: Australia Status: Offline Points: 31 |
Post Options
Thanks(0)
Posted: 31 October 2008 at 1:11am |
In VB6, I've created an Xtreme menu and added a checkbox menu item to one of the items
AddControl .Controls, xtpControlCheckBox, ID_VIEW_STATUSBAR, "" Where ID_VIEW_STATUSBAR is a global constant. In code I want to set the checkbox status/value/checked property. I've tried a number of different approaches (see below), but with no luck (Object variable of with block variable not set).
Thanks Stefan |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Set last "Recurse" parameter to True.
.. but I don't recomment use FindControl. Use update handlers like all our samples.
|
|
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 |