----赖格英-----

记忆不好了,记录工作中的点点滴滴....

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  PureBasic

摘要:三个有关上下限问题的控件,它们也是主要控件的组成部分,分别为:SpinGadget() 数控编辑框TrackBarGadget() 调节块控件ProgressBarGadget() 进度条控件首先,我们开始来认识一下SpinGadget(),之所以将SpinGadget()翻译成"数控编辑框",并非从英转汉的角度来直译,而是从其功能入手,可能我翻译得不够好,请大家指点指点. 语 法: [返回值=] SpinGadget(, , , , ,, [,标志]) 描述1: 在当前的GadgetList中构建一个数控编辑框. 如果参数使用#PB_Any,[返回值]为新控件的编号. E 阅读全文
posted @ 2014-04-02 22:01 向北方 阅读(818) 评论(0) 推荐(0) 编辑

摘要:The PureBasic IDE has a very powerful integrated form designer, which allows to design easily windows and arrange gadgets on them. It supports almost all native PureBasic gadgets, menu and even status bar. A form file is a regular PureBasic file, so it can be easily modified without even open the fo 阅读全文
posted @ 2014-03-08 23:21 向北方 阅读(1401) 评论(0) 推荐(0) 编辑

摘要:如果有一个文件如下:TITLE = "Water Wurface Elevation"VARIABLES = "X", "Y", "WS"Zone N= 384016, E= 96004, DT=(DOUBLE DOUBLE SINGLE), F=FEPOINT, ET=QUADRILATERAL, T="Flow 54.000 @ 290.00 Days"417183.062 3121115.75 25.17824 417387.938 3121108.75 25.17824 417381.7 阅读全文
posted @ 2013-08-30 23:46 向北方 阅读(592) 评论(0) 推荐(0) 编辑

摘要:If ReadFile(0, "Test1.txt") ; if the file could be read, we continue... If CreateFile(1, "Test2.txt") While Eof(0) = 0 ; loop as long the 'end of file' isn't reached Astring$=ReadString(0) A$=StringField(Astring$,1,",") B$=StringField(Astring$,2,"," 阅读全文
posted @ 2013-08-16 16:22 向北方 阅读(489) 评论(0) 推荐(0) 编辑