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