上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 53 下一页
1)Problem Statment:Hi,I have this requirement, i have a run base class with a dialog Field. i needto validate the vaue in the field and i need to set focus on the field if thevalue is not validated. T... Read More
posted @ 2010-12-02 09:24 Fandy Xie Views(664) Comments(0) Diggs(0) Edit
正则表达式用于字符串处理、表单验证等场合,实用高效。现将一些常用的表达式收集于此,以备不时之需。匹配中文字符的正则表达式: [\u4e00-\u9fa5]评注:匹配中文还真是个头疼的事,有了这个表达式就好办了匹配双字节字符(包括汉字在内):[^\x00-\xff]评注:可以用来计算字符串的长度(一个双字节字符长度计2,ASCII字符计1)匹配空白行的正则表达式:\n\s*\r评注:可以用来删除空白... Read More
posted @ 2010-12-01 15:36 Fandy Xie Views(246) Comments(0) Diggs(0) Edit
static void Jimmy_ClassMethodsExport() { /*** wrote by Jimmy on DEV. 1th 2010 SysDictClass : get AOT Class infomation TextBuffer : test wrote data to excel file. match... Read More
posted @ 2010-12-01 15:11 Fandy Xie Views(223) Comments(0) Diggs(0) Edit
十进制转二进制,整数部分按除2取余,小数部分按乘2取整.例:50/2 ........ 余025/2 ........ 余112/2 ........ 余06/2 ........ 余03/2 ........ 余1150的二进制就是 110010小数0.25*2 ........ 0.5 整数 00.5*2 ........ 1.0 整数 10.25的二进制数就是 0.01二进制转十进制101... Read More
posted @ 2010-12-01 10:40 Fandy Xie Views(868) Comments(0) Diggs(0) Edit
Using x++ code Through to the name of extend or Enum data type obtain to be used for table object inherit from AX Data Dictionary.you can enter the name of extend or enum data type,and then obtain to table or map or view from data Dictionary!Wrote by Jimmy on Nov. 29th 2010Code as below: Read More
posted @ 2010-11-29 17:36 Fandy Xie Views(473) Comments(0) Diggs(0) Edit
static void Jimmy_TableListDictoryData(args a) { Dictionary Dictionary = new Dictionary(); int tableCounter = Dictionary.tableNext(0); Dialog Dialog ... Read More
posted @ 2010-11-29 17:20 Fandy Xie Views(355) Comments(0) Diggs(0) Edit
Label & Language Read More
posted @ 2010-11-29 14:34 Fandy Xie Views(548) Comments(0) Diggs(0) Edit
static void Jimmy_ImagesSavedFullScreen(Args _args) { /** Useing X++ code saved as full Screen Resolution Image wrote by Jimmy on Nov. 29th 2010 */ Image img = new Image(); fileName ... Read More
posted @ 2010-11-29 11:23 Fandy Xie Views(436) Comments(0) Diggs(0) Edit
Sometimes, the developer needs of a given table based on records and the table field names, get to the field values. In fact,It's very simple, just on the common data record can be directly referenced... Read More
posted @ 2010-11-28 21:10 Fandy Xie Views(253) Comments(0) Diggs(0) Edit
1)Iuse Visual Studio 2008 to create a Class Library (name space)project named:JimmyXieyf.CSharpScript,and then added to the project in this class:ScriptRunner.JimmyXieyf.CSharpScript.ScriptRunner 2)se... Read More
posted @ 2010-11-28 20:51 Fandy Xie Views(481) Comments(0) Diggs(0) Edit
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 53 下一页