内存从网上论坛摘抄整理思路:给控件设置多行属性,设置垂直滚动条,Auto
Vscroll设置为true,放入文本后把插入点设置到末尾pEdit->LineScroll(pEdit->GetLineCount());
滚动条滚动到最下端int len = pEdit->GetWindowTextLen...
分类:
其他好文 时间:
2014-05-01 13:27:49
阅读次数:
267
LayoutInflater
inflater=(LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);View
layout = inflater.inflate(R.layout.main, null);...
分类:
其他好文 时间:
2014-05-01 13:10:22
阅读次数:
310
自定义View继承自View@OverrideonDraw方法引用方式1、layout.addView()2、LinearLayout.addView---------------添加组件LinearLayout包含的所有子元素都受LinearLayout.LayoutParams控制,因此Line...
分类:
其他好文 时间:
2014-05-01 09:48:12
阅读次数:
368
1. ie的文档流样式 writing-mode:tb-rl.box1 a{
writing-mode:tb-rl; /* 触发layout 后面高度生效,文档流 自上往下,自右往左,宽度要自适应,文字方向在垂直方向居中 */
height:100%; vertical-align:middle}2...
分类:
Web程序 时间:
2014-05-01 07:59:22
阅读次数:
496
The variables are guaranteed to be laid out
contiguously, as in C. However, the access blocks may not appear in the object
in the order that you decla...
分类:
数据库 时间:
2014-05-01 04:11:22
阅读次数:
543
.h
#include "cocos2d.h"
#include "cocos-ext.h"
#include "ui/CocosGUI.h"
#include "cocostudio/CocoStudio.h"
USING_NS_CC;
USING_NS_CC_EXT;
using namespace ui;
.cpp
layout = Layout::crea...
分类:
其他好文 时间:
2014-04-30 22:33:39
阅读次数:
382
.h添加如下代码:
void pageViewEvent(Ref *pSender, PageViewEventType type);...
分类:
其他好文 时间:
2014-04-30 22:31:39
阅读次数:
405
如果在Vertica数据库在建一张同样带AUTO_INCREMENT约束字段(ID)的表,由于AUTO_INCREMENT约束的限制,COPY导入数据时会发生冲突,导致COPY执行失败。
经过分析研究及测试,先创建SEQUENCE,然后创建表并设置ID字段的缺省值为NEXTVAL('schemaname.sequencename'),就可COPY导入AUTO_INCREMENT约束字段的数据。...
分类:
数据库 时间:
2014-04-29 13:44:21
阅读次数:
409
首先声明只有在Linearlayout中,该属性才有效。之所以android:layout_weight会引起争议,是因为在设置该属性的同时,设置android:layout_width为wrap_content和match_parent会造成两种截然相反的效果。如下所示: <LinearLayout
android:layout_width="match_parent"
...
分类:
移动开发 时间:
2014-04-29 13:14:20
阅读次数:
391
EBS OAF 开发中的OAQueryBean的构造模式(版权声明,本人原创或者翻译的文章如需转载,如转载用于个人学习,请注明出处;否则请与本人联系,违者必究)当你为pageLayout区域添加一个query 区域时,OAF框架生成一个oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean对象,它依赖于它的配置,并通过一个子控件table,...
分类:
其他好文 时间:
2014-04-29 13:12:19
阅读次数:
328