我选择了在我的选项组中切换按钮,现在我的选项组在按下其中一个时没有更新 [英] I chose toggle buttons in my option group and now my option group isn't being updated when one of them is pressed

查看:79
本文介绍了我选择了在我的选项组中切换按钮,现在我的选项组在按下其中一个时没有更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么会这样?


如果我选择难以用鼠标点击
的小复选框,它可以正常工作。但选择权限,

shich的大小足够大,对于视力和视觉灵敏度有限的人来说 - 他们根本不工作。


这是真的。我使用内置向导创建了''em,并使用Access 97提供了
但是它们不起作用。我在组中放了12个''em

,标记了一年中的几个月并给出了

他们的选项值1到12.没有更新后的代码

点击12个切换按钮中的任意一个点击。


为什么?

Why is that?

If I choose the tiny check boxes which are hard to
hit with a mouse, it works fine. But option buttions,
shich can be sized big enough for people with limited
sight and dexterity to hit - they don''t work at all.

Its true. I created ''em with the built-in wizard furnished
with Access 97 but they do not work. I put 12 of ''em
in the group, labeled the months of the year and giving
them option values 1 through 12. No afterupdate code
fires on click of ANY of the 12 toggle buttons.

Why?

推荐答案

MLH写道:
为什么会这样?

如果我选择难以用鼠标击中的小复选框,它可以正常工作。但选择权限,
shich可以大到足以让视力和灵巧度有限的人击中 - 他们根本不工作。

这是真的。我使用内置向导创建了''他们使用Access 97,但它们不起作用。我把12个''em
放在小组中,标记了一年中的几个月并给出了它们的选项值1到12.没有更新后的代码
点击12个切换中的任意一个按钮。

为什么?
Why is that?

If I choose the tiny check boxes which are hard to
hit with a mouse, it works fine. But option buttions,
shich can be sized big enough for people with limited
sight and dexterity to hit - they don''t work at all.

Its true. I created ''em with the built-in wizard furnished
with Access 97 but they do not work. I put 12 of ''em
in the group, labeled the months of the year and giving
them option values 1 through 12. No afterupdate code
fires on click of ANY of the 12 toggle buttons.

Why?




您使用的是ToggleButton或OptionGroup的AfterUpdate吗?你需要使用后者。


你是肯定的,你在* OptionGroup内有*。如果您将

组移动到ToggleButtons移动?


-

我没有查看附加的电子邮件帐户

来自此消息。发送给... ...

在Hunter dot com的RBrandt



Are you using AfterUpdate of the ToggleButton or of the OptionGroup? You
need to use the latter.

Are you positive you have them *inside* the OptionGroup. If you move the
group to the ToggleButtons move?

--
I don''t check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com



你在使用AfterUpdate吗? ToggleButton或OptionGroup?你需要使用后者。
这就是问题所在。我不能用后者。我可以在那里写代码,

但它没有用。事件没有发生。它会为你解雇吗?

我让向导构建我的选项组。也许它留下了一些东西。

Dunno。但我不这么认为。我记得在Access 2.0中有相同的行为。
你是否肯定你在* OptionGroup内有*。如果你将
组移动到ToggleButtons移动?

Are you using AfterUpdate of the ToggleButton or of the OptionGroup? You
need to use the latter. That''s the problem. I can''t use the latter. I can write code there,
but it does no good. The event doesn''t fire. Does it fire for you?
I let the wizard build my option group. Maybe it left something out.
Dunno. But I don''t think so. I remember same behavior in Access 2.0.
Are you positive you have them *inside* the OptionGroup. If you move the
group to the ToggleButtons move?



是的,如果我拖动组,TB'会同时使用它。


Yes, if I drag the group, the TB''s go with it in unison.



您使用的是ToggleButton或OptionGroup的AfterUpdate吗?你需要使用后者。

Are you using AfterUpdate of the ToggleButton or of the OptionGroup? You
need to use the latter.



选项组中的切换按钮在更新后没有
事件。我不认为它们是可更新的对象。


The toggle buttons in the option group do not have after update
events. I don''t think they are updateable objects anyway.


这篇关于我选择了在我的选项组中切换按钮,现在我的选项组在按下其中一个时没有更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆