我正在制作一个包含订单和打印发票的应用程序.我的表单上有一些标签,tedits,tmemos,按钮,数据源,adotable,popupmenu和dbgrid.
当我构建程序并向下滚动dbgrid滚动条时,它会在我释放鼠标按钮后滚动.但我想要连续滚动.
问候
我已经搜索了几个小时,有很多帖子或教程,但我无法运行我的批处理脚本。
在 dos 提示下,此代码工作正常:
-u root -h localhost -p******** siir_07 dumper.sql
Run Code Online (Sandbox Code Playgroud)
但这会导致批处理出错:
"c:\program files\mysql\mysql server 5.5\bin\mysql.exe" "-u root -h localhost -p******** siir_07 dumper.sql"
Run Code Online (Sandbox Code Playgroud)
错误是:
错误 1045 (28000):访问被拒绝用户 'root -h localhost -p* * siir_07 dumper.s'@' localhost '(使用密码:NO)
我想知道如何将Youtube视频放到HTML页面.我一直在寻找几个小时,这是我尝试过的:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type='text/javascript' src='Scripts/swfobject.js'></script>
<script type='text/javascript'>
  swfobject.registerObject("playerID", "9.0.0");
</script>
<script type='text/javascript' src='Scripts/mediaplayer/jwplayer.js'></script>
</head>
<body>
<script type='text/javascript' src='Scripts/mediaplayer/jwplayer.js'></script>
<div id='mediaplayer'></div>
<script type="text/javascript">
   var flashvars = {
      'file':   'http://www.youtube.com/watch?v=YE7VzlLtp-4',
      'controlbar':     'bottom'
   };
   var params = {
      'allowfullscreen':        'true',
      'allowscriptaccess':      'always'
   };
   var attributes = {
      'id':                     'playerID',
      'name':                   'playerID'
   };
   swfobject.embedSWF('Scripts/mediaplayer/player.swf', 'mediaplayer', '480', '360', '9', 'false', flashvars, params, attributes);
</script>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
和
            <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …Run Code Online (Sandbox Code Playgroud) 我想绘制一个圆圈并将其对齐居中.我的代码不这样做:
var circle:Shape = new Shape(); // The instance name circle is created
circle.graphics.beginFill(0x990000, 1); // Fill the circle with the color 990000
circle.graphics.lineStyle(2, 0x000000); // Give the ellipse a black, 2 pixels thick line
circle.graphics.drawCircle((stage.stageWidth - 100) / 2, (stage.stageHeight - 100) / 2, 100); // Draw the circle, assigning it a x position, y position, raidius.
circle.graphics.endFill(); // End the filling of the circle
addChild(circle); // Add a child
Run Code Online (Sandbox Code Playgroud)