随笔 - 730  文章 - 40 评论 - 17 阅读 - 67万

随笔分类 -  XE7

RAD XE7
C++builder XE 安装控件 及输出路径
摘要:C++builder XE 安装控件 与cb6不一样了,和delphi可以共用一个包。 启动RAD Studio。打开包文件。 C:\Users\Public\Documents\Embarcadero\Studio\14.0\BPL Project>Options>Delphi Compiler> 阅读全文
posted @ 2015-09-10 09:03 lypzxy 阅读(873) 评论(0) 推荐(0) 编辑
老 base64 for xe8
摘要:not recommend ,only for studyprocedure TForm1.Button3Click(Sender: TObject);var ssi, sso: TStringStream; abt: TBytes; s1: string;begin ssi := TStr... 阅读全文
posted @ 2015-07-30 16:07 lypzxy 阅读(263) 评论(0) 推荐(0) 编辑
Gridheh 垂直居中
摘要:Gridheh 垂直居中 上下居中each columns set layoutColumnDefValues.Layout = tlCenter有colResize,拖动调整列宽。但是没有rowResize,鼠标拖动调整行高。 阅读全文
posted @ 2015-07-30 09:56 lypzxy 阅读(169) 评论(0) 推荐(0) 编辑
XE8 hash
摘要:c++builder xe8 hash calc md5、sha256、sha384、sha512 file and string sha256、sha384、sha512 must call load function . system function not use any third par 阅读全文
posted @ 2015-07-29 19:01 lypzxy 阅读(609) 评论(0) 推荐(0) 编辑
E2202 Required package 'VclJPG' not found
摘要:xe8 [dcc32 Fatal Error] RaizeComponentsVcl_Design.dpk(40): E2202 Required package 'VclJPG' not foundinstall compoent dpk errorchange requires files li... 阅读全文
posted @ 2015-07-29 17:42 lypzxy 阅读(1750) 评论(0) 推荐(0) 编辑
delphi AES encrypt
摘要:xe8 okunit TntLXCryptoUtils;interfacefunction AES128_Encrypt( Value, Password : string ) : string;function AES128_Decrypt( Value, Password : string ) ... 阅读全文
posted @ 2015-07-26 22:34 lypzxy 阅读(2213) 评论(0) 推荐(0) 编辑
delphi c++builder 判断工程类型 超级系统变量
摘要:d:\program files (x86)\embarcadero\studio\16.0\SOURCE\RTL\SYS\SysInit.pas ModuleIsLib: Boolean; { True if this module is a dll (a library or a package 阅读全文
posted @ 2015-07-26 12:12 lypzxy 阅读(311) 评论(0) 推荐(0) 编辑
c++ 字符检测 TCharacter
摘要:c++ 字符检测 阅读全文
posted @ 2015-07-14 14:50 lypzxy 阅读(652) 评论(0) 推荐(0) 编辑
c++ 智能指针
摘要:c++11 智能指针,不用手动删除 #include <memory> //For STL auto_ptr class std::auto_ptr<TStringList>list(new TStringList()); list->Strings[3]; std::auto_ptr<TStrin 阅读全文
posted @ 2015-07-14 14:34 lypzxy 阅读(247) 评论(0) 推荐(0) 编辑
Strem String Memory TStringStream
摘要:System.SysUtils 一、TStringStream方法 Strem>String TMemoryStream to String stm: TStream; ss: TStringStream; #include "System.SysUtils.hpp" DataString imag 阅读全文
posted @ 2015-04-21 10:59 lypzxy 阅读(995) 评论(0) 推荐(0) 编辑
Unknown picture file extension
摘要:Image1.Picture.LoadFromFile('aaa.jpg');Project Project1.exe raised exception class EInvalidGraphic with message 'Unknown picture file extension (.jpg)... 阅读全文
posted @ 2015-04-08 10:32 lypzxy 阅读(785) 评论(0) 推荐(0) 编辑
C++Builder 代码编辑器 回车自动补充括弧
摘要:两大问题 括弧和折叠一、括弧XE7,回车,自动补充括弧}好用,有时候不准确,代码量多,不知道什么原因就引起错误,总是多一个括弧,一回车就加一个括弧,都不敢回车写代码了,怎么关闭此选项?找到了,是Block completion勾去掉,就不自动生成括弧了。不知道是不是#pragma region引起的... 阅读全文
posted @ 2015-02-11 13:13 lypzxy 阅读(1111) 评论(0) 推荐(0) 编辑
Date 当前程序日期格式 参数设置 DecimalSeparator
摘要:日期格式、货币格式等 Date DateFormat DecimalSeparator FormatSettings FormatSettings.DateSeparator='-'; 控制面板的日期格式与代码不一致,代码里有拼接的日期字符串,所以用下面的方式处理,只识别这一种格式的日期。 //至少 阅读全文
posted @ 2015-02-05 19:27 lypzxy 阅读(423) 评论(0) 推荐(0) 编辑
VSS SVN GIT SVN 加锁签出
摘要:VSS TFS SVN GIT VSS 两大功能: 1、签出后加锁,别人不能签出,独占签出。 2、在服务端可以查看哪些用户签出了哪些文件。 3、查看所有签出未签入的文件列表,SVN未发现此功能。 缺点: 1、RAD IDE没有插件。 http://stackoverflow.com/question 阅读全文
posted @ 2014-11-11 16:37 lypzxy 阅读(1024) 评论(0) 推荐(0) 编辑
Sender 转换TButtonItem TCategoryButtons
摘要:http://codeverge.com/embarcadero.cppbuilder.using/using-sender-to-determine-which/1068317 http://qc.embarcadero.com/wc/qcmain.aspx?d=70595 Using *Send 阅读全文
posted @ 2014-10-30 13:44 lypzxy 阅读(490) 评论(0) 推荐(0) 编辑
CategoryPanelGroup动态生成节点
摘要:afw TCategoryPanel *cp; for (int i = 0; i Items->Count; i++) { if (TreeView1->Items->Item[i]->Level == 0) { cp = new... 阅读全文
posted @ 2014-10-29 19:51 lypzxy 阅读(422) 评论(0) 推荐(1) 编辑
delphi XE7 判断手机返回键
摘要:Using the Android Device's Back Button To make your application handle when users press the Back button on their Android device, add an event handler... 阅读全文
posted @ 2014-10-29 10:18 lypzxy 阅读(637) 评论(0) 推荐(0) 编辑
新提示风格Hint BalloonHint 气泡
摘要:Hint BalloonHint1新风格的提示,好看漂亮,对其他控件都起作用,TCSpinButton却不起作用XE7里也不行??Hint Button1.CustomHint := BalloonHint1;Button1.ShowHint := True; BalloonHint1.Title: 阅读全文
posted @ 2014-10-27 10:22 lypzxy 阅读(369) 评论(0) 推荐(0) 编辑
c++builder XE7 C++11 C++0x 新语法
摘要:Non-static data member initializers 非静态成员变量初始化变得简单,这个XE7 64位编译成功,32位还是不支持 As a simple example, struct TPerson { String aname = "张三"; }; class A { publ 阅读全文
posted @ 2014-09-20 14:39 lypzxy 阅读(2018) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示