Question about checkAction

StatusIDPriorityType
Closed33914BlockerQuestion
ProfileReply
nickcoleClient

I set checkAction is checked on viewController_OnActived, and hope the checkAction status is checked and have 'backcolor' when I run it.see picture01.png.
CheckAction is checked but have not 'backcolor' when I run the application. pls see attached vedio and my solution.rar

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello nickcole!

To fix the problem, you need:
1. In the ActionControlsSiteController_CustomAddActionControlToContainer method of the ControllerCharacterWarSafariChessAstionWith the Controller add a row

buttonItem.Down = ((CheckAction)e.Action).Checked;

2. Set checkAction is checked in controller constructor.

public ViewController()
{
InitializeComponent();
checkAction1.Caption = "Checked";
checkAction1.Checked = true;
_CheckedMark = false;
}

Regards,
Mariya
On behalf of Xafari Client Services Team

nickcole

work fine.
Thanks.

× This ticket is closed.

Write US