上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 话不多说,看红色部分,width属性必须要设才有作用:<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/PopNameList" android:singleLine="true"android:ellipsize="end"android:textStyle="bold" android:textSize="1 阅读全文
posted @ 2012-02-14 15:13 Don 阅读(9796) 评论(0) 推荐(0)
摘要: Android, sqlite 阅读全文
posted @ 2011-09-29 12:48 Don 阅读(419) 评论(0) 推荐(0)
摘要: 没用Updatepanel的页面,这样使用:btnSave.OnClientClick = "if(!Page_ClientValidate()){Page_BlockSubmit = false;return false;}" + this.GetPostBackEventReference(this.btnSave) + ";this.disabled=true;";使用Updatepanel... 阅读全文
posted @ 2010-08-03 14:47 Don 阅读(615) 评论(0) 推荐(0)
摘要: 大家经常会发现Table的BORDER设置为1,得到的边框却不是想要的1个像素的细边框,于是很多人去想方设法做出细边框的效果。设置Table的细边框通常有这么几种方式:1、设置边框的BORDER=0、cellspacing=1,设置Table的背景色为所要的边框色,再设置所有的td背景色为白色,这样细边框就显露出来了。这个方法有些邪气,看似不太正宗,但是也能达到效果,条条大路通罗马嘛!再来看看第二... 阅读全文
posted @ 2008-09-12 14:30 Don 阅读(12645) 评论(3) 推荐(1)
摘要: (译)SDL.NET Surfaces 相关介绍翻译:Donhttp://don.cnblogs.com/Surfaces(平面)本教程教大家如何使用SDL.NET的Surfaces在屏幕上渲染图形。(本教程的前提条件是认为您已经学会了“Hello World”哦!) 目录1、引言2、功能2.1 Blit2.2 Primitive Drawing 2.3颜色、透明度和Alp... 阅读全文
posted @ 2008-09-08 23:46 Don 阅读(1010) 评论(0) 推荐(0)
摘要: 推荐一款不错的2D游戏引擎HGE 。 阅读全文
posted @ 2008-08-05 23:38 Don 阅读(4546) 评论(1) 推荐(0)
摘要: Access中:DateDiff('d',Time1,Time2)Sql中:DateDiff(d,Time1,Time2)下面是我自己的sql语句'判断数据库类型IF IsSqlDataBase = 1 ThenConn.execute("Delete from lyt_log_info where datediff(day,logintime,getdate())>=3 ")ElseCon... 阅读全文
posted @ 2008-06-14 22:55 Don 阅读(1221) 评论(0) 推荐(0)
摘要: 用这句试试:(System.Diagnostics.Process.GetCurrentProcess().ProcessName != "devenv") 阅读全文
posted @ 2008-06-12 15:08 Don 阅读(411) 评论(1) 推荐(1)
摘要: window.event IE:有window.event对象 FF:没有window.event对象。可以通过给函数的参数传递event对象。如onmousemove=doMouseMove(event) 鼠标当前坐标 IE:event.x和event.y。 FF:event.pageX和event.pageY。 通用:两者都有event.clientX和event.clientY属性。 鼠标当... 阅读全文
posted @ 2008-05-05 09:57 Don 阅读(258) 评论(0) 推荐(0)
摘要: 取得当前鼠标的X,Y坐标function SelfXY(){ var yScrolltop; var xScrollleft; if (self.pageYOffset || self.pageXOffset) { yScrolltop = self.pageYOffset; xScrollleft = self.pageXOffset; } else if (document.documen... 阅读全文
posted @ 2008-05-05 09:35 Don 阅读(706) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页