永久链接
文档树中稳定的、可通过机器访问的部分以 /tB/ 前缀为根。带有此前缀的URL——以及指向它们的内部链接,例如 docs.twinbasic.com/tB/Modules/Math/Round——保证不会移动。这是IDE帮助系统、[Documentation(...)] 属性引用和外部链接所依赖的契约;以下记录的任何内容都应被视为必不可少的。
/tB/Core/<Statement>
- AppActivate
- Beep
- Call, ChDir, ChDrive, Class, Close, CoClass, Const, Continue
- Date, Declare, Deftype, DeleteSetting, Dim, Do-Loop
- End, Enum, Erase, Error, Event, Exit
- FileCopy, For-Next, For-Each-Next, Function
- Get, GetSetting, GoSub-Return, GoTo
- If-Then-Else, Implements, Input, Interface, Is
- Kill
- LBound, Let, Line-Input, Load, Lock, LSet
- Mid-equals 用于
Mid(...) = ...,MidB-equals 用于MidB(...) = ...,MkDir,Module - Name, New
- Option, On-Error, On-GoSub, On-GoTo, Open
- ParamArray, Print, Private, Property, Protected, Public, Put
- RaiseEvent, ReDim, Reset, Resume, RmDir, RSet
- SavePicture, SaveSetting, Seek, Select-Case, SendKeys, Set, SetAttr, Static, Sub, Stop
- Time, Type
- Unload, Unlock
- While-Wend, Width, With, Write
/tB/Modules/<ModuleName>/<Symbol>
在每个VBA模块中,每个过程、属性或语句都有自己独立的页面,例如 LenB: /tB/Modules/Strings/Len。带 $ 后缀和 B/W 变体的符号记录在与基础符号相同的页面上(因此 LenB、Len$ 等都共享 Len 页面)。
- Collection
- Compilation
- Constants
- Conversion
- DateTime
- ErrObject
- TbExpressionService
- FileSystem
- Financial
- Information
- Interaction
- Math
- Strings
- 内部 _HiddenModule
/tB/Packages/<Package>/...
每个包位于 /tB/Packages/<Package>/ 下。子结构取决于包:模块、类、枚举和子对象各有自己的页面。
VBRUN -- /tB/Packages/VBRUN/<Module>/
- AmbientProperties
- AsyncProperty
- Constants
- ContainedControls
- DataMembers
- DataObject
- ErrorCallstack
- ErrorContext
- ErrorStackFrame
- Hyperlink
- ParentControls
- PropertyBag
VB -- /tB/Packages/VB/<Class>/
- App, CheckBox, CheckMark, Clipboard, ComboBox, CommandButton
- Data, DirListBox, DriveListBox
- FileListBox, Form, Frame, Global
- HScrollBar, Image
- Label, Line, ListBox
- MDIForm, Menu, MultiFrame
- OLE, OptionButton
- PictureBox, Printer, Printers, PropertyPage
- QRCode, Report
- Screen, Shape
- TextBox, Timer
- UserControl, VScrollBar
WebView2 -- /tB/Packages/WebView2/...
- WebView2(控件类,含 EnvironmentOptions 子页面)
- WebView2Header, WebView2HeadersCollection, WebView2Request, WebView2RequestHeaders, WebView2Response, WebView2ResponseHeaders
- 枚举:wv2DefaultDownloadCornerAlign, wv2ErrorStatus, wv2HostResourceAccessKind, wv2KeyEventKind, wv2PermissionKind, wv2PermissionState, wv2PrintOrientation, wv2ProcessFailedKind, wv2ScriptDialogKind, wv2WebResourceContext
- 类型:COREWEBVIEW2_PHYSICAL_KEY_STATUS
Assert -- /tB/Packages/Assert/<Module>
CustomControls -- /tB/Packages/CustomControls/...
- 控件:WaynesButton(含 WaynesButtonState),WaynesForm(含 WindowsFormOptions),WaynesFrame,WaynesGrid(含 CellRenderingOptions, Column),WaynesLabel,WaynesSlider(含 WaynesSliderState),WaynesTextBox(含 WaynesTextBoxState),WaynesTimer
- 样式:Anchors, Borders, Corners, Fill, Line, Padding, TextRendering
- 框架:Canvas, CustomControlContext, CustomControlsCollection, CustomControlTimer, CustomFormContext, ICustomControl, ICustomForm, SerializeInfo
- 枚举:BorderStyle, ColorRGBA, CornerShape, Customtate, DockMode, FillPattern, FontWeight, PixelCount, PointSize, StartupPosition, TextAlignment, TextOverflowMode, WindowState
CEF -- /tB/Packages/CEF/...
- CefBrowser(控件类,含 EnvironmentOptions 子页面)
- 枚举:CefLogSeverity, cefPrintOrientation
WinEventLogLib -- /tB/Packages/WinEventLogLib/<Class>
WinNamedPipesLib -- /tB/Packages/WinNamedPipesLib/<Class>
WinServicesLib -- /tB/Packages/WinServicesLib/...
- ITbService, ServiceCreator, ServiceManager, Services, ServiceState
- 枚举:ServiceControlCodeConstants, ServiceStartConstants, ServiceStatusConstants, ServiceTypeConstants
tbIDE -- /tB/Packages/tbIDE/<Class>
- AddIn, AddinTimer, Button, CodeEditor, DebugConsole, Editor, Editors
- File, FileSystem, FileSystemItem, Folder
- Host, HtmlElement, HtmlElementProperties, HtmlElementProperty, HtmlElements, HtmlEventProperties, HtmlEventProperty
- KeyboardShortcuts, Project, Themes, Toolbar, Toolbars, ToolWindow, ToolWindows
WinNativeCommonCtls -- /tB/Packages/WinNativeCommonCtls/...
- 控件:DTPicker, ImageList, ListView, MonthView, ProgressBar, Slider, TreeView, UpDown
- 子对象:ListImages, ListImage, ListItems, ListItem, ColumnHeaders, ColumnHeader, Nodes, Node
- 枚举:DTPickerFormatConstants, ImlDrawConstants, OrientationConstants, TreeBorderStyleConstants, TreeLabelEditConstants, TreeLineStyleConstants, TreeRelationshipConstants, TreeSortOrderConstants, TreeSortTypeConstants, TreeStyleConstants
/tB/Core/Attributes#<attribute>
INFO
链接中会移除所有非字母字符以及参数。属性名称在链接中均为小写。例如 ArrayBoundsChecks(Bool) 引用为 /tB/Core/Attributes#arrayboundschecks。
- AppObject, ArrayBoundsChecks
- BindOnlyIfNoArguments, BindOnlyIfStringSuffix
- ClassId, ClassInterface, CoClassCustomConstructor, CoClassId, COMControl, COMCreatable, COMExtensible, ComImport, CompileIf, CompilerOptions, ConstantFoldable, ConstantFoldableNumericsOnly
- Debuggable, DebugOnly, DefaultMember, Description, DispId, DispInterface, DllExport, DLLStackCheck, DualInterface
- EnforceErrors, EnforceWarnings, EnumId, EventInterfaceId, EventsUseDispInterface
- Flags, FloatingPointErrorChecks, FormDesignerId, Hidden
- IdeButton, IgnoreWarnings, IntegerOverflowChecks, InterfaceId
- MustBeQualified
- OleAutomation
- PackingAlignment, PopulateFrom, PredeclaredID, PreserveSig
- Restricted, RunAfterBuild
- Serialize, SetDllDirectory, SimplerByVals
- TestCase, TestFixture, TypeHint
- Unimplemented, UseGetLastError, UserDefinedTypeIsAnAlias
- WindowsControl