码迷,mamicode.com
首页 >  
搜索关键字:控件只读 readonly    ( 1522个结果
input标签实现让光标不出现!
实现不让光标出现的效果,很好用,例子如下:readonly 属性规定输入字段为只读。
分类:其他好文   时间:2015-12-03 11:35:09    阅读次数:113
Shell 学习笔记
#表示该脚本以bash方式运行1. #!/bin/bash#接受输入并将值赋给变量2. read 变量名 #使用变量3. ${变量名} #此变量只读4. readonly 变量名 #删除此变量, 不能删除只读变量5. unset 变量名#表示当前shel...
分类:系统相关   时间:2015-11-30 20:24:00    阅读次数:231
关于ie8下disabled属性:字体颜色问题
在ie8下,input/textarea输入框如果使用disabled属性,字体的颜色会变灰,这时我们可以使用另一种方法实现它。不使用disabled,用readonly代替:input[readonly],textarea[readonly]{ background:#CCC; ...
分类:其他好文   时间:2015-11-30 00:38:35    阅读次数:418
JAVA学习-Mybatis 缓存策略
听极客学院笔记使用mybatis的缓存需要以下三步一、在mybatis的config.xml中开启缓存 二、在Mapper头中指定使用缓存readOnly为true则所有相同的SQL语句返回同一个对象,有助于提高性能,但并发操作同一数据时可能不安全,如果设置为false则相同sq...
分类:编程语言   时间:2015-11-27 17:14:41    阅读次数:370
JSON格式化源代码
1 public class StringWalker 2 { 3 private readonly string _s; 4 5 public int Index { get; private set; } 6 public ...
分类:Web程序   时间:2015-11-27 14:46:16    阅读次数:178
微信发红包
public class PayForWeiXinHelp { private readonly ILog _fileLog = LogManager.GetLogger(typeof(PromotionWindowsService)); /// /...
分类:微信   时间:2015-11-26 18:51:26    阅读次数:353
iOS面试题整理
1.@property 后面可以有哪些修饰符?1.读写性: readwrite:可读可写,系统为我们创建这个属性的setter和getter方法readonly:只读,系统只为我们创建一个setter方法2.setter相关:assign:表示直接复制,用于基本数据类型(NSInteger和CGFl...
分类:移动开发   时间:2015-11-26 17:04:47    阅读次数:169
const与readonly常量
const与readonly常量 const与readonly都是用来定义常量,但是它们有什么区别呢? 下面我们来简要的说明一下: const修饰的常量是编译时常量,如:public constStringPI=3.1415;什么是编译时常量,通...
分类:其他好文   时间:2015-11-24 21:11:21    阅读次数:174
Cocos2D将v1.0的tileMap游戏转换到v3.4中一例(二)
首先在CatMazeV3中新建CatSprite类,继承于Sprite.其中CatSprite.h文件如下所示:#import "CCSprite.h"@class MainScene;@interface CatSprite : CCSprite@property (nonatomic,assign,readonly) NSInteger numBones;-(id)initWithMainSce...
分类:其他好文   时间:2015-11-21 11:54:57    阅读次数:152
通过对源代码的反向工程学习CoreData架构
在本文开始,先给出反向工程后的结果: 在AppDelegate类中定义了下面三个属性:@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;@property (readonly, ....
分类:其他好文   时间:2015-11-19 16:15:29    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!