VFP学习笔记5.docx

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
VFP学习笔记5

【093】有关备注字段或字符表达式的操作函数Set MemoWidth ToSpecifies the displayed with of memo fields and character expression.Syntax: Set MemoWidth To nColumnsALines()Copy each line in a character expression or memo field to a corresponding row in an array.Syntax: ALines(arraryName,cExpression[, nFlags][,cParseChar[, cParseChar[,…]]])MemLines()Return the number of lines in a memo field.Syntax: Memlines(memFieldName)Mline()Return a specific line from a memo field as a character string.Syntax: Mline(MemoFieldName,nLineNumber[,nNumberOfcharacters])常用: MLine(MemoFieldName,nLineNumber,_MLINE)_MLINE = nNumberOfcharacters…….Contains the memo field offset for the Mline() function.AtCLine()Return the line number of the first occurrence of a character expression or memo field within another character expression or memo field,without regard for the case (upper or lower) of the characters in either expressionSyntax: AtCLines(cSearchExpression,cExpressionSearted)(6)、ATLINE(cSearchExpression, cExpressionSearched)Returns the line number of the first occurrence of a character expression or memo field within another character expression or memo field, counting from the first line.(7)、RATLINE(cSearchExpression, cExpressionSearched)Returns the line number of the last occurrence of a character expression within another character expression or memo field, counting from the last line.【094】两个函数假设字符串结构是: lcString = c:\dir1\dir2\...\dest.ext提取一级相对路径文件名: Substrc(lcString,Ratc([\],lcString,2)+1)函数ForceExt(cFileName,Ext) 把cFileName的扩展名改为Ext标识的扩展名。【095】表单文件SCX的结构详解(和一个具体例子结合)Record# 1 头记录(未列出的字段为空).PlatForm = Comment.UniqueId = Screen.TimeStamp = 0.Reserved1 = Version = 3.00.Reserved7 = ..\xxx.h (整个表单文件的包含文件: #Include xxx.h)Record# 2 (第二个记录).PlatForm = Windows.UniqueId = Sys(2015).TimeStamp = GetTimeStamp().Class = DataEnvironment.BaseClass = DataEnvironment.ObjName = DataEnvironment.Properties = Top = 0 Name = “DataEnvironment”………………………………………….Reserved2 = 1.Reserved4 = 1Record# 3 (第三个记录 ).PlatForm = Windows.U

文档评论(0)

yan698698 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档