佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1144|回复: 6

(更新~!!!)MS ACCESS after updated, IMANGE.LEFT还是不能放在所要的位置???

[复制链接]
发表于 21-3-2007 09:10 AM | 显示全部楼层 |阅读模式
也就是说当我的选好TEXTBOX 的 AFTER UPDATED,我的FORM旁边可以出现方块连接合成图吗?

  有那位大大做过,可以可以分享一下..

[ 本帖最后由 程家伟 于 27-3-2007 09:27 AM 编辑 ]
回复

使用道具 举报


ADVERTISEMENT

发表于 21-3-2007 09:40 AM | 显示全部楼层
不明白你的问题... 什么是方块连接合成图?
回复

使用道具 举报

 楼主| 发表于 21-3-2007 10:36 AM | 显示全部楼层
原帖由 goatstudio 于 21-3-2007 09:40 AM 发表
不明白你的问题... 什么是方块连接合成图?

对不起 ...

是这样,当我的SUBFORM选完制定的形状后. 我的MAIN FORM就会自动的跑出所选的形状出来

我是想到先在MAIN FORM放固定的位置(LABEL/PICTURE POSITION),然后在SUBFORM选的时候给CUSTOMER自己放要放的位置..... 不知道可以的吗?
回复

使用道具 举报

 楼主| 发表于 21-3-2007 11:57 AM | 显示全部楼层
能不能用COORDINATE来代替放固定的位置???
回复

使用道具 举报

 楼主| 发表于 22-3-2007 11:07 AM | 显示全部楼层
再顶一下....

有没有FORM COORDINATE是用CODING放的呢?

ganed jeonged
回复

使用道具 举报

 楼主| 发表于 22-3-2007 11:49 AM | 显示全部楼层
这个是讲什么的呢?

英文不大了解

Several VB6 objects, specifically the Form, PictureBox, and Printer, have a coordinate system that is used for positioning other objects within them. For example, a Command Button's Top and Left properties determine its position within the form's coordinate system. By default, the coordinate system employs units of twips, equal to 1/1440 of an inch, with the origin (the 0,0 point) in the top left corner. The X coordinate increases to the right, and the Y coordinate increases down.

However, there may be times when you may want to modify the screen coordinates. Changing the scale of a form or other object is useful in graphical applications where you want the positioning units to be a match to the actual data the program is working with.

To change the unit of measurement without affecting the origin, set the ScaleMode property. Your choices are defined by these VB constants, most of which are self-explanatory:

vbUser (custom, more on this soon)vbTwipsvbPoints (a printer's unit, one point = 1/72 inch)vbPixelsvbCharacters (120 twips horizontally, 240 vertically)vbInchesvbMillimetersvbCentimetersYou can also move the origin and change the axis direction using the Scale method. Here are its arguments:

Scale(x1, y1)-(x2, y2)X1 and Y1 are the new coordinates of the top left corner of the object.
X2 and Y2 are the new coordinates of the bottom right corner of the object.
Let's look at some examples. This call leaves the origin at the top left corner but changes to coordinate units to be 1/100 of the form's size:

Form1.Scale (0,0)-(100,100)This call moves the origin to the lower left corner of the form and inverts the Y axis to that positive values move upward:

Form1.Scale (0,100)-(100,0)This call moves the origin to the center of the form with the Y axis inverted and units equal to 1/5000 of the form size:

Form1.Scale (-2500,2500)-(2500,-2500)
转帖: http://articles.techrepublic.com.com/5100-3513_11-5695521.html

[ 本帖最后由 程家伟 于 22-3-2007 11:51 AM 编辑 ]
回复

使用道具 举报

Follow Us
 楼主| 发表于 27-3-2007 09:26 AM | 显示全部楼层
Private Sub Combo85_AfterUpdate()
If Me![Combo85] = "400 x 200" Then
Me.Image1.Left = "4"
    Else
        If Me![Combo85] = "200 x 600" Then
        Me.Image1.Left = "6"
        End If
End If
End Sub

有谁可以发表一下...谢谢各位大大
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 27-8-2025 06:39 PM , Processed in 0.151269 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表