Editplus是一款很好的文本编辑器,但是默认会生成后缀名为.bak的备份文件,很容易造成文件目录的混乱。其实可以通过修改参数属性,让Editplus不要生成这种文件,以Editplus3.3.1为例,去掉create backup file when saving 上的勾就行了。如何设置Edit...
分类:
其他好文 时间:
2014-06-27 17:52:57
阅读次数:
195
第一种:日期格式 cell.setCellValue(new Date(2008,5,5)); //set date format HSSFCellStyle cellStyle = demoWorkBook.createCellStyle(); HSSFDataFo...
分类:
其他好文 时间:
2014-06-26 18:15:38
阅读次数:
192
实现Cell的滑动删除, 需要实现UITableView的代理UITableViewDelegate中如下方法://先要设Cell可编辑- (BOOL)tableView:(UITableView*)tableView canEditRowAtIndexPath:(NSIndexPath*)inde...
分类:
移动开发 时间:
2014-06-26 17:53:38
阅读次数:
148
http://acm.hit.edu.cn/hoj/problem/view?id=3152DiceMy Tags (Edit) Source : Time limit : 1 sec Memory limit : 128 MSubmitted : 82, Ac...
分类:
其他好文 时间:
2014-06-26 14:55:08
阅读次数:
261
前台js//加载数据表格 $("#tab_user").datagrid({ title:"用户表", iconCls:'icon-edit',//图标 url:"getAllUserInfo", fitColumns:"true", ...
分类:
其他好文 时间:
2014-06-25 14:00:30
阅读次数:
267
在为duilib封装系统控件的过程中, 再一次遇到了系统EDIT控件文字颜色/文字背景颜色的处理问题. 不要小看这个消息, 她很可能不会让你如愿以偿. 其实我要的目的很简单: 1. 改变文字颜色 2. 改变文字背景颜色 下面列举我遇到的几种可以说成是有点奇葩的现象不自动刷新其余部分背景代码: ...
分类:
其他好文 时间:
2014-06-25 12:10:24
阅读次数:
374
1.针对cell上按钮(UIButton)的不响应SEL 这个问题一般是由xib导致的,当从xib中load cell的时候,cell会自动在xib上加一层contentView,所以xib中的按钮等控件都被contentView挡住了,可以将contentView的backgroundColor....
分类:
其他好文 时间:
2014-06-25 11:50:53
阅读次数:
189
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-06-25 11:14:15
阅读次数:
218
#defineDARK_BACKGROUND[UIColorcolorWithRed:151.0/255.0green:152.0/255.0blue:155.0/255.0alpha:1.0];-(void)tableView:(UITableView*)tableViewwillDisplayCell:(UITableViewCell*)cellforRowAtIndexPath:(NSIndexPath*)indexPath{cell.backgroundColor=DARK_BACKGROUND;}
分类:
其他好文 时间:
2014-06-25 10:48:56
阅读次数:
264
1、ios7 tableviewcell上面添加一个view,view上面有button,点击button不执行button的点击事件
解决办法:
self.view.userInteractionEnabled = YES;
[cell.contentView addSubview:self.view]
主要问题是cell的高度没有view本事的高度高,造成view没有完全在ce...
分类:
移动开发 时间:
2014-06-25 07:12:58
阅读次数:
263