禁用导航按钮 [英] Disable navigation button

查看:84
本文介绍了禁用导航按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用向导创建了一个表单并添加了导航按钮。

当焦点在第一个记录上时,我想要上一个记录按钮。禁用。

所以在Click事件的代码中我想写的东西如下:

I have made a form and added navigation buttons using the wizard.
When the focus is on the first Record, I want the "Previous Record Button" to disable.
So in the code in Click event I want to write something like:

展开 | 选择 | Wrap | 行号

推荐答案

你好 -


如果这是一个绑定表单,你可以尝试将它放在表格的On Current事件中:

Hi -

If this is a bound form, you could try putting this in the On Current event for the form:

展开 | 选择 | Wrap | 行号


之前我遇到过这种逻辑问题,我必须承认我从来没有得到了核心。我忘记了在哪种情况下我找到了.BOF& .EOF不可靠,但它们是我先试过的。
I have had problems with this logic before, which I must admit I never really got to the heart of. I forget under which circumstances I found .BOF & .EOF to be unreliable, but they were what I tried first.
展开 | 选择 | Wrap | 行号


我已成功使用.BOF和.EOF在各种情况下;然而,在查看我昨天写的内容时,我不认为放置代码

I have successfully used .BOF and .EOF in various contexts before; however in looking at what I wrote yesterday I don''t think putting the code

展开 | 选择 | Wrap | 行号


这篇关于禁用导航按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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