在不同的时间间隔旋转表格上的图像 [英] Rotate Images on Form at Different Time Intervals

查看:62
本文介绍了在不同的时间间隔旋转表格上的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在fMenu表单上显示3个不同的图像。我创建了三个不同的图像并将它们放在fMenu的相同位置。现在我添加了这段代码,但它没有用。我究竟做错了什么?我如何解决它?任何帮助都感激不尽。

展开 | 选择 < span class =codeDivider> | Wrap | 行号

解决方案

我认为您的问题可能在于图像是绑定。首先,我应该指出,在引用表单上的控件时,您应该始终使用Me或Forms!Formname引用。

展开 | 选择 | 换行 | 行号


更安全的手,你找不到成像问题MH。这是在3。5年前回答我关于Bytes(当时的TheScripts)的第一个非常棘手的问题的成员。


@msquared


感谢您的建议和代码。以下是我的问题:


1.当我尝试执行时出现此错误消息:检测到不明确的名称:DisplayImage在线#5


2.你说我应该有一个图像控件而不是3.所以我将这个图像控件命名为Image1?

3。这些Picture1,2和3是指什么?这3张不同的照片会随时间旋转吗?


4.我会在哪里保存这些图片呢?我更喜欢它在数据库之外。


感谢您抽出时间帮我解决这个问题。 MNNovice

I would like to display 3 different images on my form fMenu. I created three different images and placed them on the same spot of fMenu. Now I added this code but it is not working. What am I doing wrong? How do I fix it? Any help will be much appreciated.

Expand|Select|Wrap|Line Numbers

解决方案

i think your problem may lie in the fact that the images are unbound. Firstly I should point out that you should ALWAYS use the Me or Forms!Formname reference when referring to a control on a form.

Expand|Select|Wrap|Line Numbers


Safer hands you couldn''t find for an imaging question MH. This is the member who answered my first really tricky question on Bytes (TheScripts as it was then) over 3.5 years ago.


@msquared
Thanks for your suggestions and for the codes. Here are my questions:

1. When I tried to execute I got this error message: "Ambiguous Name Detected: DisplayImage" on line #5

2. You said I should have one image control instead of 3. So do I name this image control as Image1?
3. What do these Picture1 , 2 and 3 refer to? Are these 3 different pictures that will be rotated with time?

4. Where will I have these pictures saved then? I prefer it to be outside of the DB.

Thanks for your time to help me out with this. MNNovice


这篇关于在不同的时间间隔旋转表格上的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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