Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / QImage OnMouseMove

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. QImage OnMouseMove
#1085
Posted by: 2003-08-25 15:03:31
Can You tell me, why does not work event OnMouseMove on multiple QImage? Thanx. Slavo



 DIM Image(1) AS QIMAGE	'2 images
 DIM Form AS QFORM

 SUB MouseMove(X%, Y%, Shift%, Sender AS QIMAGE)
  Form.CAPTION = STR$(X%) + ", " + STR$(Y%)
 END SUB

 FOR I = 0 TO 1
  Image(I).PARENT = Form
  Image(I).Left = I * 50: Image(I).Top = I * 50
  Image(I).Width = 50: Image(I).Height = 50
  Image(I).Circle(0,0,50,50,0,RGB(255,255,255))
  Image(I).Transparent = 1
  Image(I).OnMouseMove = MouseMove
 NEXT I

 Form.SHOWMODAL
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥287.00 ·
 
 
¥2,600.00 ·
 
 
¥289.00 ·
 
 
¥1,370.00 ·
 
 
¥289.00 ·
 
 
¥1,480.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0