查看: 1144|回复: 6
|
(更新~!!!)MS ACCESS after updated, IMANGE.LEFT还是不能放在所要的位置???
[复制链接]
|
|
也就是说当我的选好TEXTBOX 的 AFTER UPDATED,我的FORM旁边可以出现方块连接合成图吗?
  有那位大大做过,可以可以分享一下..
[ 本帖最后由 程家伟 于 27-3-2007 09:27 AM 编辑 ] |
|
|
|
|
|
|
|
发表于 21-3-2007 09:40 AM
|
显示全部楼层
不明白你的问题... 什么是方块连接合成图?  |
|
|
|
|
|
|
|

楼主 |
发表于 21-3-2007 10:36 AM
|
显示全部楼层
|
|
|
|
|
|
|

楼主 |
发表于 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 编辑 ] |
|
|
|
|
|
|
|

楼主 |
发表于 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
有谁可以发表一下...谢谢各位大大 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|