1

如何执行以下操作: 1. 我有一个表格,其中包含是和否的列。我想要一个单元格的单选按钮(一个代表是,另一个代表否),当我单击是时,否是关闭的,如果单击否, 是的。

  1. 我怎样才能使单选按钮工作,如果我单击单选按钮(比如是按钮)它是打开的(类似于上面的#1)但是如果我再次单击它,它会关闭而不打开另一个单选按钮(没有按钮)。

我真的很感激任何帮助。

问候,

4

1 回答 1

0

In Set up the two (e.g. rbYes & rbNo) buttons. In the click event for the Yes add:

rbNo.rawValue = "";

In the click event for the No add:

rbYes.rawValue = "";

This will turn the buttons on and off as the other one is clicked.

I'll get some code together for the other option of double clicking and update this soon.

Hope it helps.

Steve

于 2013-10-25T14:23:43.193 回答