Page 1 of 3

Editor Gadget, use the tab key

Posted: Thu Jul 17, 2003 5:32 pm
by RJP Computing
Can somebody help me. The tab key doesn't work in the editor gadget. I need to know how to make it work and be adjustable as spaces or the Chr(9). I took a look at the PB editor source but it wasn't making any sense to me.

Thanks

Posted: Thu Jul 17, 2003 11:32 pm
by RJP Computing
I have looked in to this further and I was wondering if I have to deal with the WM_KEYDOWN message? I am not getting any where with this. :(

Thanks

Posted: Fri Jul 18, 2003 1:33 am
by CoderLaureate
I haven't had to deal with this situation before, but I'll be happy to check into it myself. If you don't mind me asking. Where are you from in Michigan? I currenlty live in a suburb of the city of Detroit.

-Jim

Posted: Fri Jul 18, 2003 2:52 am
by RJP Computing
@CoderLaureate
Hi, it is not a problem asking. I am from a suburb of the city Grand Rapids.

You can see the tab thing realy easy if you just make a quick example with the editor gadget and press the 'Tab' key. It doesn't do anything because I think it is up to the programmer to do something but I am not sure how exactly to impliment it.

Thanks

Posted: Fri Jul 18, 2003 3:59 am
by Karbon
GR eh'.. I lived in Kentwood for a year or so.. Damn snow ran me out! :-)

Posted: Fri Jul 18, 2003 4:23 am
by RJP Computing
@Karbon
I love all the Seasons. Even the snow :lol:

@All
I found something interesting. If you hold 'CONTROL + TAB' it places the 'TAB'. I don't know what this means but at least it is a start to understanding what the RichEdit is doing to the 'TAB' keypress message.

Thanks

Posted: Fri Jul 18, 2003 8:49 am
by Pupil
RJP Computing wrote: @All
I found something interesting. If you hold 'CONTROL + TAB' it places the 'TAB'. I don't know what this means but at least it is a start to understanding what the RichEdit is doing to the 'TAB' keypress message.
Maybe Fred catches the TAB in editgad to be able to TAB between gadgets? If you create your own richedit window with API TAB works ok right out of the box..

Posted: Fri Jul 18, 2003 7:38 pm
by RJP Computing
So does anybody (Fred, El Choli(sorry if I got your name wrong)) know how to get around this.

I am stuck without this.

I have figured out that it is using the 'TAB' key to switch gadgets not as a 'TAB' in a document. This is the default for 'Dialogs' but I don't think that we are creating 'Dialogs' with PB, just 'Windows', right?

Ok back to the drawing board.

Posted: Fri Jul 18, 2003 7:49 pm
by GPI
Little Shortcut from japbe:

Code: Select all

Procedure NoTabJump(GadgetID)
  ;Needed, because i don't want a jump with tab
  Style=GetWindowLong_(GadgetID,#GWL_STYLE)
  SetWindowLong_(GadgetID,#GWL_STYLE,Style&((-1)-#WS_TABSTOP))
  ProcedureReturn GadgetID
EndProcedure

...

NoTabJump(TextGadget(#gadget_main_Position,0,380,80,20,"",#PB_Text_Center|#PB_Text_Border ))
NoTabJump(StringGadget(#gadget_main_ToolTip,80,380+y,720,20-y,"",#PB_String_ReadOnly|#PB_String_BorderLess|#ES_NOHIDESEL))

NoTabJump(PanelGadget(#gadget_main_PanelInfo,600,0,200,300))

NoTabJump(PanelGadget(#gadget_main_PanelFile,0,0,600,300))

NoTabJump(ListViewGadget(#gadget_main_InfoBox,0,300,800,80))

...

Case #wm_keydown
          ;{-Keydown
          If EventwParam()=9 And GetActiveWindow_()=MainWin
            sendmessage_(SciEdi,#wm_keydown, EventwParam(),EventlParam())
          endif
          ;}
        Case #wm_keyup
          ;{-KeyUp
          If EventwParam()=9 And GetActiveWindow_()=MainWin
            sendmessage_(SciEdi,#wm_keyup, EventwParam(),EventlParam())
          endif

...
with
notabjump( gadget ) i turn of, that you can switch the gadgets with tab. This must you do with every gadget in that window!
in the main waitwindowevent-loop you must also check, if tab is pressed, and when yes, send this to you editorgadget. (maybe you don't must check and send the Tab-Key, but i need this for scintilla. Try it)

GPI

Posted: Fri Jul 18, 2003 8:26 pm
by RJP Computing
Thanks GPI,
but what is the EventwParam() and EventlParam() Procedure? I dont have them. Can I see them thanks. I think this is exactly what I needed.

Thanks

Posted: Fri Jul 18, 2003 8:59 pm
by GPI
>but what is the EventwParam() and EventlParam() Procedure? I dont have
>them.

That are PB-Procedures (not in the help, but they work!)

It give you access of the wParam and lParam of the WindowEvent() (=Message from windows)

GPI

Posted: Fri Jul 18, 2003 9:45 pm
by Karbon
I wonder how many more procedures are not documented in PB..

If someone (Fred!) can provide me access to the docs and a reference I will go and write documentation for every single procedure in PB. All I need is a list and access to change the docs.

I'm going to have to beg I think :-)

Posted: Fri Jul 18, 2003 10:37 pm
by GPI
[quote="Karbon"]I wonder how many more procedures are not documented in PB.. [/code]

At the moment, PB knows 695 procedures. You find all in the "compilers\pbffunctionlisting.txt" with a tooltip. In the txt also all userlibrarys!

Code: Select all

Abs (Value) - Returns the absolute value (no sign) of the given float value.
ACos (Angle) - Returns the Arc-Cosinus of the specified angle, in radian.
ActivateGadget (#Gadget) - Set the focus on the specified Gadget
ActivateWindow () - Activate the current window, this means than focus has been put on this window.
Add3DArchive (Name$, Type) - Add a new archive as path to search.
AddBillboard (#Billboard, #BillboardGroup, x, y, z) - Add a #Billboard to the #BillboardGroup.
AddDate (Date, Field, Offset) - Returns a new date.
AddElement (LinkedList()) - Adds a new empty element after the current element.
AddGadgetColumn (#Gadget, Position, Title$, Width) - Add a column to the specified #Gadget.
AddGadgetItem (#Gadget, Position, Text$ [, ImageID]) - Add an item to a gadget (ListView, ComboBox etc...)
AddKeyboardShortcut (#Window, Key, MenuItemID) - Add a keyboard shortcut to the specified #Window.
AddMaterialLayer (#Material, TextureID [, Mode]) - Add a new texture layer to the #Material.
AddPackFile (Filename$ [, Level]) - Add and compress the file to pack file.
AddPackMemory (MemoryID, Size [, Level]) - Add and compress the memory area to pack file.
AddStatusBarField (Width) - Add a field to the current Status Bar previously created with CreateStatusBar().
AddSysTrayIcon (#SysTrayIcon, WindowID, ImageID) - Add an icon in the SysTray area.
AdvancedGadgetEvents (Flag) - Enable (#TRUE) or Disable (#FALSE) advanced Events for Gadgets
AllocateMemory (#Memory, Size [, Flags]) - Allocates a contiguous memory area according to the specified size.
AmbientColor (Color) - Changes the ambient color of the world
AnimateEntity (#Entity, AnimationName$) - Select a new animation and play it.
Asc (String) - Returns the ASCII value of the first character in the string.
ASin (Angle) - Returns the Arc-Sinus of the specified angle, in radian.
ATan (Angle) - Returns the Arc-Tangent of the specified angle, in radian.
AvailableScreenMemory () - Returns the video memory available for the sprites.
BackColor (Red, Green, Blue) - Set the default background color for graphic functions and text display.
Base64Encoder (InputBuffer, InputLength, OutputBuffer, OutputLength) - Returns the 32 bits CRC32 fingerprint.
BillboardGroupLocate (#BillboardGroup, x, y, z) - Change the #BillboardGroup absolute location.
BillboardGroupMaterial (#BillboardGroup, MaterialID) - Change the #BillboardGroup material used by all the billboards.
BillboardGroupX (#BillboardGroup) - Returns the #BillboardGroup X absolute position.
BillboardGroupY (#BillboardGroup) - Returns the #BillboardGroup Y absolute position.
BillboardGroupZ (#BillboardGroup) - Returns the #BillboardGroup Z absolute position.
BillboardHeight (#Billboard, #BillboardGroup) - Returns the #Billboard height, in world metric.
BillboardLocate (#Billboard, #BillboardGroup, x, y, z) - Change the #Billboard absolute location, relative to the #BillboardGroup.
BillboardWidth (#Billboard, #BillboardGroup) - Returns the #Billboard width, in world metric.
BillboardX (#Billboard, #BillboardGroup) - Returns the #Billboard X absolute position in the #BillboardGroup.
BillboardY (#Billboard, #BillboardGroup) - Returns the #Billboard Y absolute position in the #BillboardGroup.
BillboardZ (#Billboard, #BillboardGroup) - Returns the #Billboard Z absolute position in the #BillboardGroup.
Bin (Number) - Converts a number in binary string form.
Blue (Color) - Returns the blue value of a 24 bit RGB color (between 0 and 255).
Box (x, y, Width, Height [, Color]) - Draw a filled box of given dimensions on the current output.
ButtonGadget (#Gadget, x, y, Width, Height, Text$ [, Flags]) - Create a button gadget in the current GadgetList
ButtonImageGadget (#Gadget, x, y, Width, Heigth, ImageID) - Create a button gadget in the current GadgetList.
CallCFunction (#Library, FunctionName$, [Arg1, [Arg2, ...]]) - Call a C function using its name.
CallCFunctionFast (*Function, [Arg1, [Arg2, ...]]) - Call a C function quickly, using its pointer.
CallFunction (#Library, FunctionName$, [Arg1, [Arg2, ...]]) - Call a function using its name.
CallFunctionFast (*Function, [Arg1, [Arg2, ...]]) - Call a function quickly, using its pointer.
CameraFOV (#Camera, FOV) - Changes the #Camera Field Of View (FOV).
CameraLocate (#Camera, x, y, z) - Change the #Camera absolute position.
CameraLookAt (#Camera, x, y, z) - Makes the camera to look at the x,y,z point.
CameraRenderMode (#Camera, RenderMode) - Change the #Camera render mode.
CameraX (#Camera) - Retrieve the x position of the #Camera.
CameraY (#Camera) - Retrieve the y position of the #Camera.
CameraZ (#Camera) - Retrieve the z position of the #Camera.
CatchImage (#Image, *Memory) - Create a new #Image found at the specified memory address.
CatchSound (#Sound, MemoryAddress [, Length]) - Load a sound found a the specified memory address.
CatchSprite (#Sprite, MemoryID [, Mode]) - Catch a sprite from memory in BMP format.
CDAudioLength () - Returns the full length of an CD-Audio in seconds.
CDAudioName () - Returns the name, system dependent, attached to the current CD-Audio drive.
CDAudioStatus () - Possible values: -1 Ready; 0 Stopped; >0 Audio track which is currently playing.
CDAudioTrackLength (TrackNumber) - Returns the length of the specified track, in seconds.
CDAudioTracks () - Return the total numbers of tracks on the CD available for playing.
CDAudioTrackSeconds () - Return the number of seconds elapsed since the current track has being start to play.
ChangeAlphaIntensity (R, G, B) - Change the AlphaIntensity independently on each of the Red, Green and Blue channels.
ChangeCurrentElement (linkedlist(), *NewElement) - Changes the current element of the specified list to the given new element.
ChangeGamma (R, G, B, Flags) - Change the Gamma for the current screen.
ChangeListIconGadgetDisplay (#ListIconGadget, Mode) - Mode: 1=large icon, 2=small icon, 3=list, 4=report (column)
ChangeSysTrayIcon (#SysTrayIcon, ImageID) - Change a specified icon in the SysTray area.
CheckBoxGadget (#Gadget, x, y, Width, Height, Text$ [, Flags]) - Create a checkbox gadget in the GadgetList.
Chr (ASCII) - Returns the character associated with the given ASCII value.
Circle (x, y, Radius [, Color]) - Draw a filled circle on the current output
ClearBillboards (#BillboardGroup) - Remove and destroy all the billboards of the #BillboardGroup.
ClearClipboard () - Clear the clipboard of its content.
ClearConsole () - Clear the whole console content.
ClearError () - Delete the error-number, count and address.
ClearGadgetItemList (#Gadget) - Clear all the items of the specified #Gadget.
ClearList (LinkedList()) - Clears all the elements in this list and releases their memory.
ClearScreen (R, G, B) - Clear the whole screen with the specified RGB color.
ClipSprite (#Sprite, x, y, Width, Height) - Add a clip zone to the specified sprite.
CloseConsole () - Close the current console
CloseDatabase (#Database) - Close the specified database.
CloseFile (#File) - Close the specified file.
CloseFont (#Font) - Close the given Font.
CloseGadgetList () - Terminates the current GadgetList creation and go back to the previous GadgetList.
CloseHelp () - Close a previously opened Help window.
CloseLibrary (#Library) - Close the specified library
CloseNetworkConnection (ConnectionID) - Close the specified client connection and send a notification to the server.
CloseNetworkServer () - Shutdown the currently running server.
ClosePack () - Close the previously opened pack file.
ClosePreferences () - Close the currently opened preference file.
CloseScreen () - Close the current screen (Either windowed or full screen mode).
CloseSubMenu () - Close the actual sub menu and come back to the previous one.
CloseTreeGadgetNode (#Gadget [, Position]) - Close a open Node in a TreeGadget
CloseWindow (#Window) - Close the specified window.
ColorRequester () - Open the standard requester to choose a color.
ComboBoxGadget (#Gadget, x, y, Width, Heigth [, Flags]) - Create a combobox gadget in the current GadgetList.
CompareMemory (SourceMemoryID, DestinationMemoryID, Length) - Compares two memory areas and returns 1 if its equal or 0 if it doesn't match.
CompareMemoryString (String1$, String2$ [, Mode [, Length]]) - Returns 0 if String1$ equals String2$, -1 or 1 if String1$ is below or above than String2$.
ConsoleColor (CharacterColor, BackgroundColor) - Change the colors used by the text display.
ConsoleCursor (Height) - Change the cursor display.
ConsoleLocate (x, y) - Move the cursor to the given position, in character.
ConsoleTitle (Title$) - Change the console title to the new given one.
ContainerGadget (#Gadget, x, y, Width, Heigth, [, Flags]) - Create a gadget container in the current GadgetList.
CopyDirectory (SourceDirectory$, DestinationDirectory$, Pattern$ [, Flags]) - Copy the source file to the destination.
CopyEntity (#Entity, #NewEntity) - Copy the specified #Entity on the #NewEntity.
CopyFile (SourceFileName$, DestinationFileName$) - Copy the source file to the destination.
CopyImage (#Image1, #Image2) - Create a new #Image2 identical to the source #Image1.
CopyLight (#Light, #NewLight) - Copy the specified #Light on the #NewLight.
CopyMaterial (#Material, #NewMaterial) - Copy the specified #Material on the #NewMaterial.
CopyMemory (SourceMemoryID, DestinationMemoryID, Length) - Copy a memory area from SourceMemoryID to DestinationMemoryID.
CopyMemoryString (String$ [, DestinationMemoryID]) - Copy the String$ to destination memory address or after the last one.
CopyMesh (#Mesh, #NewMesh) - Copy the specified #Mesh on the #NewMesh.
CopySprite (#Sprite1, #Sprite2 [, Mode]) - Copy the #Sprite1 to #Sprite2.
CopyTexture (#Texture, #NewTexture) - Copy the specified #Texture on the #NewTexture.
Cos (Angle) - Returns the cosinus of the specified angle, in radian.
CountBillboards (#BillboardGroup) - Count the billboards number contained in the #BillboardGroup.
CountGadgetItems (#Gadget) - Count all the items of the specified #Gadget.
CountLibraryFunctions (#Library) - Count the total number of functions available in the #Library
CountList (LinkedList()) - Counts how many elements there are in the linked list.
CountMaterialLayers (#Material) - Returns the number of textures layers the #Material contains.
CountRenderedTriangles () - Returns the number of rendered triangles in the last frame
CountTreeGadgetNodeItems (#Gadget, Item) - Counts all the child items of a TreeGadget node
CRC32Fingerprint (Buffer, Length) - Returns the 32 bits CRC32 fingerprint.
CreateBillboardGroup (#BillboardGroup, MaterialID, DefaultBillboardWidth, DefaultBillboardHeight, [x, y, z]) - Creates a new #BillboardGroup.
CreateCamera (#Camera, x, y, Width, Height) - Create a new #Camera. All the dimensions are in pourcents.
CreateDirectory (DirectoryName$) - Create a new directory.
CreateEntity (#Entity, MeshID, MaterialID, [, x, y, z]) - Create a new #Entity based on the specified Mesh and Material at the given position.
CreateFile (#File, FileName$) - Create an empty file.
CreateGadgetList (WindowID()) - Allocate the resource for a future gadgetlist.
CreateImage (#Image, Width, Height) - Create an empty #Image which can be used to do rendering on it.
CreateLight (#Light, Color [, x, y, z]) - Create a new #Light.
CreateMaterial (#Material, TextureID) - Create a new #Material based on the specified Texture
CreateMenu (#Menu, WindowID) - Creates a new empty menu.
CreateMesh (#Mesh) - Copy a new empty #Mesh.
CreateNetworkServer (Port) - Create a new network server on the local computer at the specified port.
CreatePack (Filename$) - Create a new empty pack file.
CreatePalette (#Palette) - Create a new empty, 256 colors #Palette.
CreateParticleEmitter (#ParticleEmitter, Width, Height, Depth, Type, [, x, y, z]) - Create a new #ParticleEmitter at the given position.
CreatePopupMenu (#Menu) - Creates a new empty popup menu.
CreatePreferences (Filename$) - Creates a new empty preference file.
CreateSprite (#Sprite1, Width, Height [, Mode]) - Create a new blank sprite.
CreateSprite3D (#Sprite3D, #Sprite) - Create a 3D sprite with the specified 2D sprite.
CreateStatusBar (#StatusBar, WindowID) - Create and add an empty StatusBar to the specified WindowID.
CreateTerrain (Terrain$, MaterialID, [ScaleX, ScaleY, ScaleZ, [Precision]]) - Load and create a terrain.
CreateTexture (#Texture, Width, Height) - Create a new blank #Texture.
CreateThread (@Procedure(), Parameter) - Create a new thread running in the application background.
CreateToolBar (#ToolBar, WindowID) - Create an empty toolbar identified by the number '#ToolBar'.
DatabaseColumnName (Column) - Return the name of the specified column in the current database.
DatabaseColumns () - Returns the numbers of columns (fields) in the current opened database.
DatabaseColumnType (Column) - Column type: 1: Numeric, 2: String, 3: Float
DatabaseDriverDescription () - Return the description of the current databaser driver.
DatabaseDriverName () - Return the name of the current databaser driver.
DatabaseQuery (Request$) - Execute the SQL Request$ on the current database.
Date ([Year, Month, Day, Hour, Minute, Second]) - Returns the number of seconds ellapsed since the 1st January 1970
Day (Date) - Returns the day value of the specified date (between 1 and 31).
DayOfWeek (Date) - Returns the day value in the week of the specified date (0=Sunday, 6=Saturday).
DayOfYear (Date) - Returns the number of days ellapsed since the beginning of the year of the specified date (betwenn 1 and 366).
DefaultPrinter () - Use the default printer to print.
Delay (Time) - Waits the specified time (in milliseconds).
DeleteDirectory (SourceDirectory$, Pattern$ [, Flags]) - Delete the directory.
DeleteElement (LinkedList()) - Remove the current element from the list.
DeleteFile (FileName$) - Delete the specified file.
DESFingerprint (Password$, Key$) - Returns the 13 characters DES (Unix Crypt: Salt2) hash code.
DetachMenu () - Detach the menu from the currently used window.
DirectoryEntryAttributes () - Return the attributes of the current entry in the directory.
DirectoryEntryName () - Return the name of the current entry in the directory.
DirectoryEntrySize () - Return the size of the current entry in the directory.
DisableGadget (#Gadget, State) - Disable or enable a gadget.
DisableMaterialLighting (#Material, Disable) - Disable the dynamic lighting on the #Material.
DisableMenuItem (MenuItem, State) - Disable or enable a menu item.
DisableToolBarButton (#ButtonID, State) - Disable or enable the given toolbar button (1=Disable, 0=Enable).
DisASMCommand (Address)
DisplayAlphaSprite (#Sprite, x, y) - Display the #Sprite at the specified position on the current screen.
DisplayPalette (#Palette) - Display the #Palette on the current screen.
DisplayPopupMenu (#Menu, WindowID() [, x, y]) - Display a previously created #PopupMenu.
DisplayRGBFilter (x, y, Width, Height, R, G, B) - Display a color filter (translucide) over the screen.
DisplayShadowSprite (#Sprite, x, y) - Display the #Sprite at the specified position on the current screen.
DisplaySolidSprite (#Sprite, x, y, R, G, B) - Display the #Sprite in solid mode at the specified position on the current screen.
DisplaySprite (#Sprite, x, y) - Display the #Sprite at the specified position on the current sprite buffer.
DisplaySprite3D (#Sprite3D, x, y [Transparency]) - Display the specified #Sprite3D at the given (x,y) coordinates.
DisplayTranslucideSprite (#Sprite, x, y, Intensity) - Display the #Sprite at the specified position on the current screen.
DisplayTransparentSprite (#Sprite, x, y) - Display the #Sprite at the specified position on the current screen.
DrawImage (ImageID, x, y [, Width, Height]) - Display the image on the current output. On the fly resize is possible.
DrawingBuffer () - Returns the current drawing memory buffer.
DrawingBufferPitch () - Returns the number of bytes need for a full line.
DrawingBufferPixelFormat () - Returns the pixel format of the current drawing buffer.
DrawingFont (FontID()) - Sets the current font to given FontID.
DrawingMode (Mode) - Change the drawing mode for graphic and text output
DrawText (Text$) - Display the given string on the current output.
EditorGadget (#Gadget, x, y, Width, Heigth [, Flags]) - Create an Editor gadget in the current GadgetList.
EjectCDAudio (State) - Eject (open) or close the current CD-Drive.
Ellipse (x, y, RadiusX, RadiusY [, Color]) - Draw a filled ellipse on the current output.
Engine3DFrameRate (Type) - Returns the specifed frame rate
EntityAnimationLength (#Entity) - Return the length of the current animation.
EntityLocate (#Entity, x, y, z) - Change the #Entity absolute position.
EntityMaterial (#Entity, MaterialID) - Change the #Entity material with the new one.
EntityMesh (#Entity, MeshID) - Change the #Entity mesh with the new one.
EntityX (#Entity) - Return the x position of the #Entity.
EntityY (#Entity) - Return the y position of the #Entity.
EntityZ (#Entity) - Return the z position of the #Entity.
Eof (#File) - Returns 1 is the end of file has been reached. 0 Else.
EventGadgetID () - Returns which gadget has been pushed (return the #Gadget identifiant).
EventlParam () - Returns the l-Param from the Message.
EventMenuID () - Returns which menu item has been selected (return the #MenuItem identifiant).
EventType () - After a WindowEvent() or WaitWindowEvent() command, use this function to determine of which type the event is.
EventWindowID () - Returns on which window the event has occured (return the #Window identifiant).
EventwParam () - Returns the w-Param from the Message.
ExamineDatabaseDrivers () - Examine the installed database drivers available on the system.
ExamineDirectory (#Directory, DirectoryName$, Pattern$) - Start to examine the specified directory for future listing.
ExamineIPAddresses () - Start to examine the host current IPs.
ExamineJoystick () - Examine the current state of the joystick
ExamineKeyboard () - Update the keyboard state.
ExamineLibraryFunctions (#Library) - Start to examine the functions contained in the #Library
ExamineMouse () - Update the mouse state.
ExamineScreenModes () - Examines all the available screen mode.
ExplorerListGadget (#Gadget, x, y, Width, Height, Directory$ [, Flags]) - Create a File/Directory List Gadget
ExplorerTreeGadget (#Gadget, x, y, Width, Height, Directory$ [, Flags]) - Create a File/Directory Tree
FileSeek (NewPosition) - Change the read/write pointer position inside the current file.
FileSize (FileName$) - Return the size of the specified file.
FillArea (x, y, OutlineColor [, FillColor]) - Fill a shape with the specified color.
FindString (String,StringToFind$, StartPosition) - Returns the Position of StringToFind$.
FirstDatabaseRow () - Retrieve information about the first database row.
FirstElement (LinkedList()) - Changes the current list element to the first list element.
FlipBuffers () - Flip the back and front buffer on the current screen.
Fog (Color, Intensity, StartDistance, EndDistance) - Display a fog effect
FontID () - Returns the system Font pointer.
FontRequester (FontName$, FontSize, Flags) - Open the standard requester to choose a font.
FormatDate (Mask$, Date) - Returns a string representation of the Date, according to the specified Mask$.
Frame3DGadget (#Gadget, x, y, Width, Heigth, Text$ [, Flags]) - Creates a Frame3D gadget in the current GadgetList.
FreeBillboardGroup (#BillboardGroup) - Free the specified #BillboardGroup and all its billboards.
FreeCamera (#Camera) - Free the specified #Camera.
FreeEntity (#Entity) - Free the specified #Entity.
FreeGadget (#Gadget) - Free (remove) the #Gadget.
FreeImage (#Image) - Free the specified #Image and release its associated memory
FreeLight (#Light) - Free the specified #Light.
FreeMaterial (#Material) - Free the specified #Material.
FreeMemory (#Memory) - Free the specified memory.
FreeMenu (#Menu) - Remove the specified menu from memory.
FreeMesh (#Mesh) - Free the specified #Mesh.
FreeModule (#Module) - Stop and remove the specified module previously loaded with the LoadModule() command from memory.
FreeMovie (#Movie) - Free the specified #Movie and remove it from memory.
FreePalette (#Palette) - Free the memory allocated to the specified #Palette.
FreeParticleEmitter (#ParticleEmitter) - Free the specified #ParticleEmitter.
FreeSound (#Sound) - Stop and remove a sound from memory.
FreeSprite (#Sprite) - Remove the specified sprite from memory.
FreeSprite3D (#Sprite) - Free the specified sprite from memory.
FreeStatusBar (#StatusBar) - Free the given status bar.
FreeTexture (#Texture) - Free the specified #Texture.
FreeToolBar (#ToolBar) - Free the specified #Toolbar.
FrontColor (Red, Green, Blue) - Set the default color for graphic functions and text display.
GadgetHeight (#Gadget) - Return the height, in pixel, of the #Gadget.
GadgetID (#Gadget) - Return the ID of the #Gadget.
GadgetItemID (#Gadget, Item) - Returns the system ID of the specified gadget item.
GadgetToolTip (#Gadget, Text$) - Associate the specified Text$ to the #Gadget.
GadgetWidth (#Gadget) - Return the width, in pixel, of the #Gadget.
GadgetX (#Gadget) - Return the X position, in pixel, of the #Gadget.
GadgetY (#Gadget) - Return the Y position, in pixel, of the #Gadget.
GetClipboardData (Type) - Return a special DATA from the clipboard.
GetClipboardText () - Return the last text pasted in the clipboard.
GetCurrentEIP (Count of skipping ASM-Commands) - Get the CurrentAddress in memory for the CPU-Instruction-Pointer.
GetDatabaseFloat (Column) - Return the content of the specified column as a float number.
GetDatabaseLong (Column) - Return the content of the specified column as a standard number.
GetDatabaseString (Column) - Return the content of the specified column as a string.
GetDisASMString () - Gets last Command
GetEntityAnimationTime (#Entity) - Get the current time position in the animation.
GetErrorAddress () - Get Last Address(codepointer).
GetErrorCounter () - Errorcounter
GetErrorDescription () - Get Last Error-description as string.
GetErrorDLL () Get Last Error from DLL in plain text
GetErrorLineNR () - Get the LineNumber where the error occured.
GetErrorModuleName () - Get ModuleName (filename) where the error occured.
GetErrorNumber () - ErrorNumber
GetErrorRegister (Offset) - Get special data about the last error Registers and flags
GetExtensionPart (FullPathName$) - Retrieves the extension part of a full path.
GetFilePart (FullPathName$) - Retrieves the file part of a full path.
GetGadgetItemState (#Gadget, Position) - Return the #Gadget item state.
GetGadgetItemText (#Gadget, Position, Column) - Return the text content of the specified #Gadget item.
GetGadgetState (#Gadget) - Return the gadget current state.
GetGadgetText (#Gadget) - Return the gadget text content of the specified #Gadget.
GetMenuItemState (#Menu, MenuItem) - Retreive the current menu item state.
GetModulePosition () - Returns the current pattern position of the playing module.
GetModuleRow () - Returns the row position in the pattern currently played.
GetPaletteColor (Index) - Return the RGB color at the given index of the current palette.
GetPathPart (FullPathName$) - Retrieves the path part of a full path.
GoToEIP (Jump to the specified Address)
GrabImage (#Image1, #Image2, x, y, Width, Height) - Create a new #Image2 with the selected area on the source #Image1.
GrabSprite (#Sprite, x, y, Width, Height [, Mode]) - Grab the screen content at the area x,y,Width,Height, and create a new #Sprite.
Green (Color) - Returns the green value of a 24 bit RGB color (between 0 and 255).
Hex (Value) - Converts a numeric number into a string, in hexadecimal format.
HideBillboardGroup (#BillboardGroup, Display) - Hide or show the #BillboardGroup and all its billboards.
HideEntity (#Entity, Hide) - Hide or show the specified #Entity.
HideGadget (#Gadget, State) - Hide or show a gadget.
HideLight (#Light, State) - Hides or shows the specified #Light.
HideMenu (#Menu, State) - Hide or display the specified menu.
HideParticleEmitter (#ParticleEmitter, Hide) - Hide or show the specified #ParticleEmitter.
HideWindow (#Window, State) - Hides or show the specified #Window
Hostname () - Returns the computer hostname.
Hour (Date) - Returns the hour value of the specified date (between 0 and 23).
HyperLinkGadget (#Gadget, x, y, Width, Heigth, Text$, Color [, Flags]) - Creates an HyperLink gadget in the current GadgetList.
ImageDepth () - Returns the depth of the current image.
ImageGadget (#Gadget, x, y, Width, Heigth, ImageID [, Flags]) - Create an Image gadget in the current GadgetList.
ImageHeight () - Returns the height, in pixel, of the current image.
ImageID () - Returns the ImageID of the current Image.
ImageOutput () - Returns the OutputID of the currently used image to perform 2D rendering operation on it.
ImageWidth () - Returns the width, in pixel, of the current image.
InitCDAudio () - Initialize all CD-Audio ressources.
InitDatabase () - Initialize the database environment for future use.
InitEngine3D () - Initialises the 3D environment for later use.
InitJoystick () - Initialize the joystick environment for later use.
InitKeyboard () - Initialize the keyboard environment for later use.
InitModule (#Module) - Initializes the module environment.
InitMouse () - Initialize the Mouse environment for later use.
InitMovie () - Initialize the Movie environment for later use.
InitNetwork () - Initialize the network environment.
InitPalette (#NumPaletteMax) - Init all the Palette environments for later use.
InitSound () - Initialize the sound environment. If it returns 0 then no sound can be played on this computer,
InitSprite () - Init all the sprite environment for later use.
InitSprite3D () - Try to inititialize the 3D sprite environment.
Inkey () - Return a two characters string if a key is pressed during the call of Inkey().
Input () - Allows to catch a whole character line.
InputRequester (Title$, Message$, DefaultString$) - Open an input requester.
InsertElement (LinkedList()) - Inserts a new empty element before the current element.
Int (Float) - Returns the integer part of the specified value.
IPAddressField (IPAddress, Field) - Returns the IP Address field value.
IPAddressGadget (#Gadget, x, y, Width, Heigth) - Create an IP Address gadget in the current GadgetList.
IPString (IPAddress) - Returns the string representation of the given IP address.
IsFilename (Filename$) - Check if the filename is valid.
IsFunction (#Library, FunctionName$) - Checks if a function exists in the #Library.
IsFunctionEntry (#Library, EntryNumber) - Checks if a function exists at the specified entry number
IsScreenActive () - If the return is 0, then the screen is no more active, else the screen is active.
JoystickAxisX () - Returns the X axis state (0, -1 or 1)
JoystickAxisY () -  - Returns the Y axis state (0, -1 or 1)
JoystickButton (ButtonNumber) - Returns 1 if the specified button is pressed.
KeyboardPushed (KeyID) - Returns 1 if the specified key is currently pushed.
KeyboardReleased (KeyID) - Returns 1 if the specified key has been pressed (pushed and released).
KillThread (Thread) - Kill the thread. Warning, this is a very dangerous function.
LastElement (LinkedList()) - Changes the current list element to the last list element.
LCase (String$) - Returns the original string converted into lower case characters.
Left (String$, Length) - Returns the first 'Length' number of characters from the left side of the string.
Len (String$) - Returns the Character length of the string.
LibraryFunctionAddress () - Get the function address which is being examined
LibraryFunctionName () - Get the function name which is being examined
LightColor (#Light, Color) - Change the #Light color value.
LightLocate (#Light, x, y, z) - Change the #Light absolute position.
LightSpecularColor (#Light, Color) - Change the #Light specular color value.
Line (x, y, Width, Height [, Color]) - Draw a line of given dimension on the current output.
LineXY (x1, y1, x2, y2 [, Color]) - Draw a line of given dimension on the current output.
ListIconGadget (#Gadget, x, y, Width, Heigth, Title$, TitleWidth [, Flags]) - Create a ListIcon gadget in the current GadgetList.
ListIndex (LinkedList()) - Find out the position of the current element in the list. First Element is 1.
ListViewGadget (#Gadget, x, y, Width, Heigth [, Flags]) - Create a ListView gadget in the current GadgetList.
LoadFont (#Font, Name$, YSize [,Style]) - Tries to open the specified font.
LoadImage (#Image, FileName$) - Load the specified image.
LoadMesh (#Mesh, Filename$) - Load a new #Mesh.
LoadModule (#Module, "FileName") - Load the specified module into memory.
LoadMovie (#Movie, FileName$) - Try to open and prepare a movie for later playback.
LoadPalette (#Palette, FileName$) - Load an palette from a standard BMP file (256 colors pictures only).
LoadSound (#Sound, FileName$) - Load the specified sound into memory.
LoadSprite (#Sprite, FileName$ [, Mode]) - Load the specified sprite into the memory for immediate use.
LoadTexture (#Texture, Filename$) - Load the specified #Texture.
LoadWorld (FileName$) - Load a whole world and initialize it.
Loc () - Returns the actual pointer position inside the file.
Locate (x, y) - Sets the text cursor to given position.
Lof () - Returns the length of the current file.
Log (Value) - Returns the Log of the value.
Log10 (x) - Returns the Log in base 10 of the value.
LSet (String, Length [, Character]) - Pads a string to the left, and adds 'space' characters to fit the specified length.
LTrim (String$) - Removes all the 'space' characters located at the beginning of a string.
MakeIPAddress (Field4, Field3, Field2, Field1) - Return the numeric value for the specifed IP.
MaterialAmbientColor (#Material, Color) - Change the #Material ambient color.
MaterialBlendingMode (#Material, Mode) - Change the #Material blending mode.
MaterialDiffuseColor (#Material, Color) - Change the #Material diffuse color.
MaterialFilteringMode (#Material, Mode) - Change the texture filtering mode for the #Material.
MaterialID (#Material) - Return the unique #Material ID.
MaterialShadingMode (#Material, Mode) - Change the shading mode for the #Material.
MaterialSpecularColor (#Material, Color) - Change the #Material specular color.
MD5FileFingerprint (Filename$) - Returns the file 16 characters MD5 fingerprint.
MD5Fingerprint (Buffer, Length) - Returns the 16 characters MD5 fingerprint.
MemoryID () - Returns the identifiant of the current memory bank.
MemoryStringLength (String$) - Calculate the length of a memory string.
MenuBar () - Creates a separator bar in the current menu.
MenuHeight () - Returns the menu bar height, in pixels.
MenuID
MenuItem (MenuID, Text$) - Creates a new item  entry for the menu.
MenuTitle (Title$) - Creates a new title entry for the menu.
MeshID (#Mesh) - Return the unique #Mesh ID.
MessageRequester (Title$, Text$, Flags) - Open a blocking requester to display some informations.
Mid (String$, StartPos, Length) - Extract a string of specified 'Length' from the given 'String$'.
Minute (Date) - Returns the minute value of the specified date (between 0 and 59).
ModuleVolume (#Module, Volume) - Change the current module volume in realtime
Month (Date) - Returns the month value of the specified date (between 1 and 12).
MouseButton (ButtonNumber) - Returns 0 if the specified button is not pressed, else the button is pressed.
MouseDeltaX () - Returns the mouse X movement (in pixel) since the last call of this function.
MouseDeltaY () - Returns the mouse Y movement (in pixel) since the last call of this function.
MouseLocate (x, y) - Changes the mouse X,Y position to the new specified one.
MouseWheel () - Returns the number of positions since the last call.
MouseX () - Returns the actual mouse X position (in pixel) on the current screen.
MouseY () - Returns the actual mouse X position (in pixel) on the current screen.
MoveBillboard (#Billboard, #BillboardGroup, x, y, z) - Move the #Billboard relatives to its previous location.
MoveBillboardGroup (#BillboardGroup, x, y, z) - Move the #BillboardGroup relatives to its previous location.
MoveCamera (#Camera, x, y, z) - Move the #Camera relative to its previous position.
MoveEntity (#Entity, x, y, z) - Move the #Entity relative to its previous position.
MoveLight (#Light, x, y, z) - Move the #Light relative to its previous position.
MoveParticleEmitter (#ParticleEmitter, x, y, z) - Move the #ParticleEmitter relative to its previous position.
MoveWindow (x, y) - Move the window to the specified coordinates.
MovieAudio (Volume, Balance) - Control the audio stream of the current movie.
MovieHeight () - Returns the height (in pixel) of the current movie.
MovieInfo (Flags) - Returns an additionnal information about the movie.
MovieLength () - Returns the length (in frames) of the current movie.
MovieSeek (Frame) - Change the current movie position to the given frame.
MovieStatus () - Get the status of the current movie (-1: paused, 0: stopped, >0: playing).
MovieWidth () - Returns the width (in pixel) of the current movie.
MultimediaBaseFakeFunction ()
NetworkClientEvent (ConnectionID) - 0: No event, 2: Raw data, 3: A file has been recieved, 5: A string has been recieved
NetworkClientID () - Server side: allows to know which client has sent the data.
NetworkEventID
NetworkServerEvent () - 0: No event, 1: New client connected, 2: Raw data, 3: A file has been recieved, 4: Client deconnection
NewPrinterPage () - Start a new page.
NextDatabaseDriver () - Retrieve information about the next available database driver.
NextDatabaseRow () - Retrieve information about the next database row.
NextDirectoryEntry () - Go to the next directory entry
NextElement (LinkedList()) - Moves from the current element to the next element in the list.
NextIPAddress () - Retrieve the next host IP address.
NextLibraryFunction () - Go to the next function in the library being examined.
NextPackFile () - Returns a memory pointer to the next unpacked data.
NextScreenMode () - Get the next screen mode information.
NextSelectedFileName () - Get the next selected filename.
OnErrorExit () - Exits the Program with a messagerequester safly
OnErrorGosub (Addresspointer) - Jumps to specific address if an error occurs and returns at codepointer
OnErrorGoto (AddressPointer) - Moves to specific address if an error occurs
OnErrorResume () - Moves to next condition if an error occurs
OpenComPort (#File, FileName$) - Open the designed file or create it if it doesn't exists.
OpenConsole () - Open a console window.
OpenDatabase (#Database, ODBCDatabaseName$, User$, Password$) - Open the specified ODBC database and set it as the current one.
OpenDatabaseRequester (#Database) - Open the standard Windows ODBC requester to choose which database to open.
OpenFile (#File, FileName$) - Open the designed file or create it if it doesn't exists.
OpenFileRequester (Title$, DefaultFile$, Pattern$, PatternPosition [, Flags]) - Open the standard requester which allow to choose a file.
OpenGadgetList (#Gadget [, GadgetItem]) - Makes the Gadget the current gadget list.
OpenHelp (Filename$, Topic$ [, Flags]) - Opens a new Help window.
OpenLibrary (#Library, Filename$) - Open a new library (DLL)
OpenNetworkConnection (ServerName$, Port) - Try to open a connection on the specified server.
OpenPack (Filename$) - Open a previously created pack file.
OpenPreferences (Filename$) - Open an load a preference file.
OpenScreen (Width, Height, Depth, Title$) - Open a new screen according to the specified 'Width', 'Height' and 'Depth'.
OpenSubMenu (Text$) - Creates an empty sub-menu entry in the current menu.
OpenTreeGadgetNode (#Gadget [, Position]) - Open a Node in a TreeGadget
OpenWindow (#Window, x, y, Width, Height, Flags, Title$ [, ParentID]) - Opens a new window according to the specified parameters.
OpenWindowedScreen (WindowID(), x, y, Width, Height, AutoStretch, RightOffset, BottomOffset)
OptionGadget (#Gadget, x, y, Width, Heigth, Text$) - Creates a Option gadget in the current GadgetList.
OSVersion () - Retrieve the OS version number.
PackerCallback (@Procedure()) - Add a callback when compressing data.
PackFileSize () - Returns the length of the current unpacked data (After a NextPackFile()).
PackMemory (SourceMemoryID, DestinationMemoryID, SourceLength [, Level]) - Pack the content of the SourceMemory area into the DestinationMemory area.
PanelGadget (#Gadget, x, y, Width, Heigth) - Creates a Panel gadget in the current GadgetList.
ParseDate (Mask$, Date$) - Transform a string date into a regular date value, to be used with other date functions.
ParticleColorFader (#ParticleEmitter, RedRate, GreenRate, BlueRate) - Change the particles color fader rate.
ParticleColorRange (#ParticleEmitter, StartColor, EndColor) - Change the particles velocity.
ParticleEmissionRate (#ParticleEmitter, Rate) - Change the #ParticleEmitter emission rate (particles per seconds).
ParticleEmitterLocate (#ParticleEmitter, x, y, z) - Change the #ParticleEmitter absolute position.
ParticleEmitterX (#ParticleEmitter) - Return the x position of the #ParticleEmitter.
ParticleEmitterY (#ParticleEmitter) - Return the y position of the #ParticleEmitter.
ParticleEmitterZ (#ParticleEmitter) - Return the z position of the #ParticleEmitter.
ParticleMaterial (#ParticleEmitter, MaterialID) - Change the #ParticleEmitter material with the new one.
ParticleSize (#ParticleEmitter, Width, Height) - Change the particles dimensions.
ParticleTimeToLive (#ParticleEmitter, MininumTime, MaximumTime) - Change the particles time to live.
ParticleVelocity (#ParticleEmitter, Minimum, Maximum) - Change the particles velocity.
PathRequester (Title$, InitialPath$) - Open the standard path requester which allow to select a path.
PauseCDAudio () - Pause the CDAudio playback.
PauseMovie () - Pause the current movie playback.
PauseThread (Thread) - Pause the thread execution.
PeekB (*MemoryBuffer) - Reads a byte number from the address. Unsigned=PeekB(adr) & $FF
PeekF (*MemoryBuffer) - Reads a float (4 bytes) from the specified memory address.
PeekL (*MemoryBuffer) - Reads a long (4 bytes) number from the specified memory address.
PeekS (Memory [, Length]) - Read a null terminated string at the specified memory address.
PeekW (*MemoryBuffer) - Reads a word (2 bytes) number from the specified memory address.
PlayCDAudio (StartTrack, EndTrack) - Start to play the CD-Audio from 'StartTrack' until the end of 'EndTrack'.
PlayModule (#Module) - Start to play the specified module previously loaded with the LoadModule() command.
PlayMovie (#Movie, WindowID) - Start to play a movie previously loaded with LoadMovie() on the specified window.
PlaySound (#Sound [, Mode]) - Start to play the #Sound.
Plot (x, y [, Color]) - Draw a plot at the given coordinates in the current output.
Point (x, y) - Return the color used at the coordinates (x,y) in the current output.
PokeB (*MemoryBuffer, Number) - PokeB() writes a byte number to the specified memory address.
PokeF (*MemoryBuffer, Number.f) - PokeF() writes a float (4 bytes) to the specified memory address.
PokeL (*MemoryBuffer, Number) - PokeL() writes a long (4 bytes) number to the specified memory address.
PokeS (*MemoryBuffer, Text$ [, Length]) - Write a string (including the ending '0') to the specified memory address.
PokeW (*MemoryBuffer, Number) - Write a word (2 bytes) number to the specified memory address.
Pow (Number, Exponent) - Returns the Number^Power.
PreferenceComment (Comment$) - Add a comment to the current preference file.
PreferenceGroup (GroupName$) - Search or create the group in the preference file.
PreviousDatabaseRow () - Retrieve information about the previous database row.
PreviousElement (LinkedList()) - Moves from the current element to the previous element in the list.
Print (Text$) - Display the Text$ in the console.
PrinterOutput () - Return the printer drawing area, to be used with the 2DDrawing commands.
PrinterPageHeight ()  - Return the Heigt of the drawing area, in pixel.
PrinterPageWidth () - Return the witdh of the drawing area, in pixel.
PrintN (Text$) - Display the Text$ in the console and add a line return.
PrintRequester () - Open a print requester, necessary to print.
ProgramParameter () - Get the next parameter string passed when the executable has been launched.
ProgressBarGadget (#Gadget, x, y, Width, Heigth, Minimum, Maximum [, Flags]) - Creates a ProgressBar gadget in the current gadgetList.
Random (Maximum) - Returns a random number between 0 and the Maximum value.
RandomSeed (Seed) - Reinitializes the random seed, with the specified value.
ReadByte () - Read one byte on the current opened file.
ReadData (*MemoryBuffer, LengthToRead) - Read the content of the current file inside the specified memory buffer.
ReadFile (#File, FileName$) - Open an existing file for read only operations.
ReadFloat () - Read one float (4 bytes) on the current opened file.
ReadLong () - Read one long (4 bytes) on the current opened file.
ReadPreferenceFloat (Keyword$, DefaultValue) - Read the value associated to the keyword.
ReadPreferenceLong (Keyword$, DefaultValue) - Read the value associated to the keyword.
ReadPreferenceString (Keyword$, DefaultValue$) - Read the value associated to the keyword.
ReadString () - Read one string on the current opened file.
ReadWord () - Read one word (2 bytes) on the current opened file.
ReAllocateMemory (#Memory, Size) - ReAllocates a contiguous memory area according to the specified size.
ReceiveNetworkData (ClientID, *DataBuffer, DataBufferLength) - Receive a raw data from the specified client.
ReceiveNetworkFile (ClientID, FileName$) - Receive a file from the specified client.
Red (Color) - Returns the green value of a 24 bit RGB color (between 0 and 255).
ReleaseMouse (State) - Releases or acquires the exclusive mouse access.
RemoveBillboard (#Billboard, #BillboardGroup) - Remove the specified #Billboard.
RemoveGadgetItem (#Gadget, Position) - Remove an item of the specified #Gadget at the given Position.
RemoveKeyboardShortcut (#Window, Key) - Remove a keyboard shortcut from the specified #Window.
RemoveMaterialLayer (#Material) - Remove the top most texture layer.
RemoveString (String$, RemoveString$ [, Mode]) - Finds all occurrences of 'StringToRemove$' into the given 'String$' and removes them.
RemoveSysTrayIcon (#SysTrayIcon) - Remove the icon from the Systray area.
RenameFile (OldFileName$, NewFileName$) - Rename the old file to the new file.
RenderMovieFrame (SpriteID) - Render the movie directly on a sprite.
RenderWorld () - Renders the whole world on the screen.
ReplaceString (String$, StringToFind$, StringToReplace$ [, Mode [, StartFrom]]) - Try to find any occurrences of 'StringToFind$' in the given 'String$' and replace them with 'StringToReplace$'.
ResetList (LinkedList()) - Resets the current list element to be before the first element.
ResizeBillboard (#Billboard, #BillboardGroup, Width, Height) - Change the #Billboard dimensions.
ResizeEntity (#Entity, x, y, z) - Resize the #Entity.
ResizeGadget (#Gadget, x, y, Width, Height) - Resize the specified #Gadget at the given position and dimension.
ResizeImage (#Image, Width, Height) - Resize the #Image to the given dimension.
ResizeMovie (x, y, Width, Height) - Resize and move the current movie display area on the movie window.
ResizeParticleEmitter (#ParticleEmitter, x, y, z) - Resize the #ParticleEmitter.
ResizeWindow (Width, Height) - Resize the current window to the given dimensions.
ResumeCDAudio () - Resume the CDAudio playback
ResumeMovie () - Starts again to play the current movie, after a PauseMovie() command.
ResumeThread (Thread) - Resume the thread execution.
RGB (Red, Green, Blue) - Returns the 24 bits color corresponding to the given RGB parameters.
Right (String$, Length) - Returns the last 'Length' number of characters from the right side of the string.
RotateBillboardGroup (#BillboardGroup, x, y, z) - Rotate the #BillboardGroup relatives to its previous rotation.
RotateCamera (#Camera, x, y, z) - Rotate the #Camera relative to its previous position.
RotateEntity (#Entity, x, y, z) - Rotate the #Entity relative to its previous position.
RotateMaterial (#Material, Angle, Mode [, Layer]) - Rotate the #Material texture.
RotateParticleEmitter (#ParticleEmitter, x, y, z) - Rotate the #ParticleEmitter relative to its previous position.
RotateSprite3D (#Sprite, Angle, Mode) - Rotate the 3D sprite. Angle varies from 0 to 360.
Round (Number, Mode) - Rounds the specified float number according to the given mode. 0=round down, 1=round up.
RSet (String, Length [, Character]) - Pads a string to the right, and adds 'space' characters to fit the specified length.
RTrim (String$) - Removes all the 'space' characters located at the end of a string.
RunProgram (ProgramName$ [, Parameter$, WorkingDirectory$ [, Flags]]) - Launch an external program.
SaveFileRequester (Title$, DefaultFile$, Pattern$, PatternPosition) - Open the standard requester which allow to save a file.
SaveImage (#Image, FileName$ [, Format [, Flags]]) - Save the specified image.
SaveSprite (#Sprite, Filename$ [, ImagePlugin]) - Save a #Sprite on file in various image format
ScaleEntity (#Entity, x, y, z) - Scale the #Entity relative to its previous size.
ScaleMaterial (#Material, x, y [, Layer]) - Scale the #Material texture.
ScreenID () - Returns the OS ScreenID.
ScreenModeDepth () - Get the screen mode depth.
ScreenModeHeight () - Get the screen mode height.
ScreenModeRefreshRate () - Get the screen mode refreshrate.
ScreenModeWidth () - Get the screen mode width.
ScreenOutput () - Returns the OutputID of the currently used screen to perform 2D rendering operation on it.
ScrollAreaGadget (#Gadget, x, y, Width, Heigth, ScrollAreaWidth, ScrollAreaHeight, ScrollStep [, Flags]) - Create a ScrollArea gadget in the current GadgetList.
ScrollBarGadget (#Gadget, x, y, Width, Heigth, Min, Max, PageLength [, Flags]) - Create a ScrollBar gadget in the current GadgetList.
ScrollMaterial (#Material, x, y, Mode [, Layer]) - Scroll the #Material texture.
Second (Date) - Returns the second value of the specified date (between 0 and 59).
SelectedFilePattern () - Returns the selected pattern index choosen with OpenFileRequester() or SaveFileRequester().
SelectedFontColor () - Returns the RGB color of the font chosen by the user with the FontRequester() command.
SelectedFontName () - Returns the name of the font chosen by the user with the FontRequester() command.
SelectedFontSize () - Returns the size of the font chosen by the user with the FontRequester() command.
SelectedFontStyle () - Returns the style of the font chosen by the user with the FontRequester() command.
SelectElement (LinkedList(), Position) - Change the current list element to the element at the specified position.
SendNetworkData (ClientID, *MemoryBuffer, Length) - Send raw data to the specified client.
SendNetworkFile (ClientID, FileName$) - Send a full file to the specified client.
SendNetworkString (ClientID, String$) - Send a string to the specified client.
SetClipboardData (DataID, Type) - Pastes the specified data into the clipboard.
SetClipboardText (Text$) - Pastes the specified Text$ into the clipboard.
SetEntityAnimationTime (#Entity, Time) - Set the current time position in the animation.
SetErrorNumber (Errornumber) - Sets an userdefined error number.
SetFrameRate (FrameRate) - Set the frame rate (in frames per second) for the current screen.
SetGadgetFont (#Gadget, FontID()) - Change the font which will be used by newly created gadgets.
SetGadgetItemState (#Gadget, Position, State) - Change the #Gadget item state.
SetGadgetItemText (#Gadget, Position, Text$, Column) - Change the #Gadget item text content.
SetGadgetState (#Gadget, State) - Change the #Gadget current state.
SetGadgetText (#Gadget, Text$) - Change the gadget text content of the specified #Gadget.
SetMenuItemState (#Menu, MenuItem, State) - Change the current menu item state.
SetMeshData (#Mesh, Type, Data, DataLength) - Set a specific data to a #Mesh.
SetModulePosition (Position) - Change the current pattern position of the playing module to the new one.
SetPaletteColor (Index, Color) - Change the RGB color at the given index of the current palette.
SetRefreshRate (RefreshRate) - Set the refresh rate (in Hz) for the next opened screen.
SetWindowCallback (@ProcedureName()) - Associates a callback to handle the events of the current window.
Sin (Angle) - Returns the sinus of the specified angle, in radian.
SizeOf (Structure) - Returns the size of the given structure.
SkyBox (Filename$) - Creates a 6 faces textured cube to simulate a closed world.
SkyDome (Filename$, Curve) - Creates an artificial sky dome.
SortArray (ArrayName(), Options, [, Start, End]) - Sort the specified array, according to the given options and range.
SortList (#Font) - Close the given Font.
SoundFrequency (#Sound, Frequency) - Set the new frequency for the #Sound. Values are from 1000 to 100000 hz.
SoundPan (#Sound, Pan) - Set the new pan for the #Sound. Values are from -100 to 100.
SoundVolume (#Sound, Volume) - Set the new volume for the #Sound. Values are from 0 to 100.
Space (Length) - Create an empty string of the given 'Length' filled with 'space' characters.
SpinGadget (#Gadget, x, y, Width, Heigth, Minimum, Maximum) - Create a TrackBar gadget in the current GadgetList.
SplitterGadget (#Gadget, x, y, Width, Heigth, #Gadget1, #Gadget2 [, Flags]) - Create a Splitter gadget in the current GadgetList.
Sprite3DBlendingMode (SourceOperation, DestinationOperation) - Changes the realtime blending mode
Sprite3DQuality (Quality) - Set the level of rendering. 0=Lowest quality, 1=Bilinear filtering
SpriteCollision (#Sprite1, x1, y1, #Sprite2, x2, y2) - Test if the two sprites are overlapped.
SpriteDepth (#Sprite) - Return the depth of the specified sprite.
SpriteHeight (#Sprite) - Return the height in pixel of the specified sprite.
SpriteOutput (#Sprite) - Return the output to the sprite, to be used with StartDrawing()
SpritePixelCollision (#Sprite1, x1, y1, #Sprite2, x2, y2) - Test if the two sprites are overlapped.
SpriteWidth (#Sprite) - Return the width in pixel of the specified sprite.
Sqr (Value) - Returns the square root of the specified number.
Start3D () - Start the 3D engine and setup it to display the 3D Sprites.
StartDrawing (Output) - Change the current drawing output to the specified output.
StartPrinting (JobName$) - Initialize the printer and start a new print job.
StartSpecialFX () - Start alternate software only routines for effects like alphablending, shadow, color filter etc.
StatusBarIcon (#StatusBar, Field, ImageID) - Add an icon to the the specified Field.
StatusBarText (#StatusBar, Field, Text$ [, Appearance]) - Change the text of the specified 'Field' in the given '#StatusBar'.
Stop3D () - Stop the 3D engine.
StopCDAudio () - Stop the current CD-Audio playback.
StopDrawing () - Must be called after a StartDrawing(), when all graphics operations are finished.
StopModule () - Stop the current module (if it was playing).
StopMovie () - Stop to play the current movie.
StopPrinting () - Finish the print session and send all the data to the printer.
StopSound (#Sound) - Stop the specified sound (if it was playing).
StopSpecialFX () - Stop alternate software only routines.
Str (Value) - Convert a signed integer number into a string.
StrF (Value [, NbDecimals]) - Convert a float number into a string.
StringField (String$, Index, Separator$) - Returns the string field at the specified index.
StringGadget (#Gadget, x, y, Width, Heigth, Content$ [, Flags]) - Creates a String gadget in the current GadgetList.
StrU (Value, Type) - Convert a value into unsigned form. Type: 0=Byte, 1=Word, 2=Long
SysTrayIconToolTip (#SysTrayIcon, Text$) - Associate a tooltip text to the specified icon.
Tan (Angle) - Returns the tangent of the specified angle, in radian.
TerrainHeight (x, z) - Returns the height of the terrain at the specified x,z
TextGadget (#Gadget, x, y, Width, Heigth, Text$ [, Flags]) - Creates a Text gadget in the current GadgetList.
TextLength (Text$) - Return the length (in pixel) of the given string in the current output using the current font.
TextureHeight (#Texture) - Returns the height in pixel of the #Texture.
TextureID (#Texture) - Returns the #Texture unique ID.
TextureOutput (#Texture) - Returns the OutputID of the #Texture to perform 2D rendering operation on it.
TextureWidth (#Texture) - Returns the width in pixel of the #Texture.
ThreadPriority (Thread, Priority) - Change the thread priority and returns the old priority.
ToolBarImageButton (#ButtonID, ImageID) - Add an image button to the toolbar being constructed.
ToolBarSeparator () - Add a vertical separator to toolbar being constructed.
ToolBarStandardButton (#ButtonID, #ButtonIcon) - Add a standard button to the toolbar being constructed.
ToolBarToolTip (#ButtonID, Text$) - Associates the specified Text$ to the current ToolBar #ButtonID.
TrackBarGadget (#Gadget, x, y, Width, Heigth, Minimum, Maximum [, Flags]) - Create a TrackBar gadget in the current GadgetList.
TransformSprite3D (#Sprite, x1, y1, x2, y2, x3, y3, x4, y4) - Transform the 3D sprite to the new given dimensions.
TransparentSpriteColor (#Sprite, Red, Green, Blue) - Change the sprite transparent color (when displayed with DisplayTransparentSprite).
TreeGadget (#Gadget, x, y, Width, Heigth [, Flags]) - Create a Tree gadget in the current GadgetList.
TreeGadgetItemNumber (#Gadget, ItemID) - Returns the item number of the specified system item .
Trim (String$) - Removes all the 'space' characters located at the beginning and at the end of a string.
UCase (String$) - Returns the original string converted into upper case characters.
UnpackMemory (SourceMemoryID, DestinationMemoryID) - Unpack a previously packed memory area (with PackMemory()) to the DestinationMemory area.
UpdateStatusBar (#StatusBar) - Resize the specified StatusBar to the parent window dimension.
UseBuffer (#Sprite) - Use the #Sprite as default rendering buffer.
UseCDAudio (CDAudioDrive) - Change the current CDAudio drive.
UseDatabase (#Database) - Change the current database with the new specified one.
UseDirectory (#Directory) - Change the current directory listing to the new specified one.
UseFile (#File) - Change the current used file to the given one.
UseFont (#Font) - Changes the currently used font to given #Font.
UseGadgetList (WindowID) - Make the specified WindowID the current gadget list to add gadgets on it.
UseImage (#Image) - Change the current image with the new one.
UseJPEGImageDecoder () - Enables the JPEG support for CatchImage(), LoadImage(), CatchSprite() and LoadSprite().
UseJPEGImageEncoder () - Enables the JPEG support for SaveImage() and SaveSprite().
UseMemory (#Memory) - Change the current memory bank to the new specified one.
UseMovie (#Movie) - Makes the specified #Movie the current movie.
UseOGGSoundDecoder () - Enables the OGG support for CatchSound(), LoadSound().
UsePalette (#Palette) - Change the currently used palette.
UsePNGImageDecoder () - Enables the PNG support for CatchImage(), LoadImage(), CatchSprite() and LoadSprite().
UsePNGImageEncoder () - Enables the PNG support for SaveImage() and SaveSprite().
UseTGAImageDecoder () - Enables the TGA support for CatchImage(), LoadImage(), CatchSprite() and LoadSprite().
UseTIFFImageDecoder () - Enables the TIFF support for CatchImage(), LoadImage(), CatchSprite() and LoadSprite().
UseWindow (#Window) - Make the specified window, the currently-used window.
Val (String$) - Transform a string into a numeric value. The string must be an integer in decimal format.
ValF (String) - Convert a String in a float number.
WaitThread (Thread) - Wait until the thread ends.
WaitWindowEvent () - Waits until an event has occurs on any of the opened windows.
WebGadget (#Gadget, x, y, Width, Heigth, URL$ [, Flags]) - Create a Web gadget in the current GadgetList.
WindowEvent () - Check if an event has occured on any of the opened windows.
WindowHeight () - Returns the height, in pixels, of the current window.
WindowID ([ #Window]) - Returns the unique ID which identifie the window in the operating system.
WindowMouseX () - Returns the mouse position relative to the left of the current window.
WindowMouseY () - Returns the mouse position relative to the top of the current window.
WindowOutput () - Returns the OutputID of the currently used window to perform 2D rendering operation on it.
WindowWidth () - Return the width, in pixels, of the current window.
WindowX () - Returns the left position, in pixels, of the current window.
WindowY () - Returns the top position, in pixels, of the current window.
WriteByte (Number) - Write a byte sized number inside the current file.
WriteData (*MemoryBuffer, LengthToWrite) - Write the content of the specified memory buffer in current file.
WriteFloat (Number) - Write a float number inside the current file.
WriteLong (Number) - Write a long number inside the current file.
WritePreferenceFloat (Keyword$, Value) - Write the keyword and its associated value.
WritePreferenceLong (Keyword$, Value) - Write the keyword and its associated value.
WritePreferenceString (Keyword$, Value$)

Posted: Fri Jul 18, 2003 10:41 pm
by Karbon
Ooooooooh boy!

Documentation time! :-)

What's funny is that I looked at that file and thought "wonder what that is".. Duh! Sometimes I'm not so smart!

Posted: Wed Jul 23, 2003 12:14 am
by RJP Computing
I have tried all that I can think of and still can't get the 'TAB' key to work.
I used GPI's code but still no go. All I have on my window is a menu,
toolbar, Editor gadget, and status bar. I have tried to use NoTabJump on
all of them. Still know luck. Please help.


Here is an example to work off of

Code: Select all

;-Init Constants

#WindowIndex    =0
#GadgetIndex    =0
#ImageIndex     =0
#StatusBarIndex =0
#MenuBarIndex   =0




;-Window Constants
#WINDOW_MAIN                            = #WindowIndex:#WindowIndex=#WindowIndex+1




;-Gadget Constants

;Window_Main
#MenuBar_Main                           = #MenuBarIndex:#MenuBarIndex=#MenuBarIndex+1
#MenuBar_Main_New                       = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MenuBar_Main_Open                      = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MenuBar_Main_Save                      = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MenuBar_Main_Exit                      = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MenuBar_Main_Settings                  = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MenuBar_Main_Help                      = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MenuBar_Main_About                     = #GadgetIndex:#GadgetIndex=#GadgetIndex+1

#Gadget_Main_Editor                     = #GadgetIndex:#GadgetIndex=#GadgetIndex+1

#StatusBar_Main                         = #StatusBarIndex:#StatusBarIndex=#StatusBarIndex+1
#StatusBar_Main_Field1                  = 0
#StatusBar_Main_Field2                  = 1

;Window_Main
#MenuBar_1                              = #MenuBarIndex:#MenuBarIndex=#MenuBarIndex+1
#MENU_NEW                               = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_OPEN                              = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_SAVE                              = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_SAVEAS                            = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_UNDO                              = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_REDO                              = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_CUT                               = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_COPY                              = #GadgetIndex:#GadgetIndex=#GadgetIndex+1
#MENU_PASTE                             = #GadgetIndex:#GadgetIndex=#GadgetIndex+1

Procedure NoTabJump(pGadgetID) 
  ;Needed, because i don't want a jump with tab 
  Style = GetWindowLong_(pGadgetID, #GWL_STYLE)
  newStyle = Style & (~#WS_TABSTOP)
  SetWindowLong_(pGadgetID, #GWL_STYLE, newStyle)
  ProcedureReturn pGadgetID 
EndProcedure 


Procedure.l Window_Main()
  If OpenWindow(#WINDOW_MAIN,175,0,400,300,#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_TitleBar|#PB_Window_ScreenCentered|#PB_Window_Invisible,"Editor Test")
    
    CreateMenu(#MenuBar_Main,WindowID(#WINDOW_MAIN))
      MenuTitle("File")
      MenuItem(#MenuBar_Main_New,"New")
      MenuBar()
      MenuItem(#MenuBar_Main_Open,"Open")
      MenuItem(#MenuBar_Main_Save,"Save")
      MenuBar()
      MenuItem(#MenuBar_Main_Exit,"Exit")
      MenuTitle("Edit")
      MenuItem(#MenuBar_Main_Settings,"Settings")
      MenuTitle("Help")
      MenuItem(#MenuBar_Main_Help,"Help")
      MenuBar()
      MenuItem(#MenuBar_Main_About,"About")
      
      If CreateToolBar(10, WindowID(#WINDOW_MAIN))
        ToolBarStandardButton(#MENU_NEW, #PB_ToolBarIcon_New)
        ToolBarToolTip(#MENU_NEW, "New")
        ToolBarStandardButton(#MENU_OPEN, #PB_ToolBarIcon_Open)
        ToolBarToolTip(#MENU_OPEN, "Open")
        ToolBarStandardButton(#MENU_SAVE, #PB_ToolBarIcon_Save)
        ToolBarToolTip(#MENU_SAVE, "Save")
        
        ToolBarSeparator()
        
        ToolBarStandardButton(#MENU_UNDO, #PB_ToolBarIcon_Undo)
        ToolBarToolTip(#MENU_UNDO, "Undo")
        ToolBarStandardButton(#MENU_REDO, #PB_ToolBarIcon_Redo)
        ToolBarToolTip(#MENU_REDO, "Redo")
        ToolBarSeparator()
        ToolBarStandardButton(#MENU_CUT, #PB_ToolBarIcon_Cut)
        ToolBarToolTip(#MENU_CUT, "Cut")
        ToolBarStandardButton(#MENU_COPY, #PB_ToolBarIcon_Copy)
        ToolBarToolTip(#MENU_COPY, "Copy")
        ToolBarStandardButton(#MENU_PASTE, #PB_ToolBarIcon_Paste)
        ToolBarToolTip(#MENU_PASTE, "Paste")
      EndIf
      
    If CreateGadgetList(WindowID())
      NoTabJump(EditorGadget(#Gadget_Main_Editor,0,25,400,233))
      CreateStatusBar(#StatusBar_Main,WindowID(#WINDOW_MAIN))
      AddStatusBarField(100)
      AddStatusBarField(100)
      HideWindow(#WINDOW_MAIN,0)
      ProcedureReturn WindowID()
    EndIf 
  EndIf
EndProcedure

;-Main Loop
If Window_Main()

  quitMain=0
  Repeat
    EventID=WaitWindowEvent()
    Select EventID
      
      Case #WM_KEYDOWN 
        ;{-Keydown
        Debug "[KeyDown] Event : " + Str(EventwParam())
        Debug "lParam : " + Str(EventlParam())
        If EventwParam()=9
          
          SendMessage_(GadgetID(#Gadget_Main_Editor),#WM_KEYDOWN, EventwParam(),EventlParam()) 
        EndIf 
        ;} 
      Case #WM_KEYUP 
        ;{-KeyUp 
        Debug "[KeyUp] Event : " + Str(EventwParam())
        Debug "lParam : " + Str(EventlParam())
        If EventwParam()=9 
          SendMessage_(GadgetID(#Gadget_Main_Editor),#WM_KEYUP, EventwParam(),EventlParam()) 
        EndIf
      
      Case #PB_Event_CloseWindow
        If EventWindowID()=#WINDOW_MAIN
          quitMain=1
        EndIf
        
      Case #PB_Event_Menu
        Select EventMenuID()
          Case #MenuBar_Main_New
          Case #MenuBar_Main_Open
          Case #MenuBar_Main_Save
          Case #MenuBar_Main_Exit
            quitMain = 1
          Case #MenuBar_Main_Settings
          Case #MenuBar_Main_Help
          Case #MenuBar_Main_About
        EndSelect

      Case #PB_Event_Gadget
        Select EventGadgetID()
          Case #Gadget_Main_Editor
        EndSelect

    EndSelect
  Until quitMain
  CloseWindow(#WINDOW_MAIN)
EndIf
End
Thanks