Skip to content

Methods

webweenie edited this page Sep 28, 2022 · 13 revisions

twinBASIC Methods

A method is an action that an object can perform. For example, the SetFocus method of the TextBox control will move the input cursor to the textbox so the user can enter data into it.


AddItem

Inputs

Outputs

The AddItem method...

Change HDC

Inputs

Outputs

The ChangeHDC method...

Circle

The Circle method...

Clear

The Clear method...

ClearLog

The ClearLog method...

Cls

The Cls method...

CopyBufferToDC

Inputs

Outputs

The CopyBufferToDC method...

CreateBackbrush

Inputs

Outputs

The CreateBackbrush method...

CreateDeferredDispatchWrapper

Inputs

Outputs

The CreateDeferredDispatchWrapper method...

CreateRootWindowElement

Inputs

Outputs

The CreateRootWindowElement method...

Drag

Inputs

Outputs

The Drag method...

EndMouseCapture

Inputs

Outputs

The EndMouseCapture method...

GetFontMetrics

Inputs

None

Outputs

The GetFontMetrics method...

GetLastLog

Inputs

None

Outputs

The GetLastLog method...

GetNodeFromHandle

Inputs

Handle - LongPtr

Outputs

  • Node

The GetNodeFromHandle method...

GetObjPtrFromHandle

Inputs

Handle - LongPtr

Outputs

The GetObjPtrFromHandle method...

GetVisibleCount

Inputs

None

Outputs

The GetVisibleCount Method method...

HandleAttributesChange

Inputs

None

Outputs

None

The HandleAttributesChange method...

HandlePathChange

Inputs

None

Outputs

None

The HandlePathChange method...

HandlePatternChange

Inputs

None

Outputs

None

The HandlePatternChange method...

HitTest

Inputs

Outputs

  • Node

The HitTest method...

Initialize

Inputs

Outputs

The Initialize method...

IsInRect

Inputs

Outputs

The IsInRect method...

InternalRaiseResize

Inputs

Outputs

The InternalRaiseResize method...

Line

Inputs

Outputs

The Line method...

Move

Inputs

Outputs

None

The Move method is used to move a control within its container. It can also, optionally, resize the control at the same time.

Note: Left is a required parameter. The remaining parameters are optional.

OLEDrag

Inputs

Outputs

The OLEDrag method...

PaintPicture

Inputs

Outputs

The PaintPicture method...

PSet Method

Inputs

Outputs

The PSet Method method...

Refresh

Inputs

None

Outputs

None

User Interface Controls

The Refresh method causes the control to repaint itself on the screen. This is rarely needed as most controls repaint automatically.

Data and Filesystem Controls

Calling the Refresh method on data and filesystem controls will cause them to refresh their data. This might be necessary if the data or files could have changed.

RemoveItem

Inputs

Outputs

The RemoveItem method...

Scale

Inputs

Outputs

The Scale method...

ScheduleCallback

Inputs

None

Outputs

None

The ScheduleCallback method..

SelectedItem

Inputs

None

Outputs

None

The SelectedItem method.

SetFocus

Inputs

None

Outputs

None

The SetFocus method causes the keyboard input to be directed at the control.

ShowWhatsThis

Inputs

Outputs

The ShowWhatsThis method...

SortNowInternal

Inputs

None

Outputs

None

The SortNowInternal method...

StartLabelEdit

Inputs

Outputs

The StartLabelEdit Method method...

StepIt

Inputs

Outputs

The StepIt method...

SubClassWindowElement

Inputs

Outputs

The SubClassWindowElement method...

SyncDirs

Inputs

Outputs

The SyncDirs method...

SyncDrives

Inputs

Outputs

The SyncDrives method...

SyncFiles

Inputs

Outputs

The SyncFiles method...

TextHeight Method

Inputs

Outputs

The TextHeight Method method...

TextWidth Method

Inputs

Outputs

The TextWidth Method method...

ZOrder

Inputs

Outputs

The ZOrder method...

Clone this wiki locally