Save Ukraine!

Продукты
CDBF - DBF Viewer and Editor
DBF Viewer/Editor, text-mode
DBF Viewer/Editor for Linux
DBF Viewer/Editor for DOS
DBF Viewer/Editor for iOS
DBF reanimator
CDBFlite
CDBFAPI
¤ DBF Script
CSV to DBF Converter
CSV to XLS Converter
XLS to DBF Converter
XLS to CSV Converter
DBF to CSV Converter
DBF to XLS Converter
DBF to MDB Converter
DBF to SQL Converter
DBF to XML Converter
DBF to DBF Converter
DBF to HTML Converter
MDB to DBF Converter
MDB to XLS Converter
MDB to CSV Converter
DBF to PDB Converter
PDB to DBF Converter
CDBFinfo
CDBFShell
CDBFview
Excel Library
Access Recovery
Excel Recovery
Online Database Converter
DBF Converters' Shell
WhiteTown Software CD

Classes

You cannot define a class inside the script, but you can use the external classes defined in DBF Script modules or your application.

var f: TForm; b: TButton; procedure ButtonClick(Sender: TButton); begin ShowMessage(Sender.Name); f.ModalResult := mrOk; end; // there is no need to use all the parameters in event handlers // because no type checking is performed here procedure ButtonMouseMove(Sender: TButton); begin b.Caption := 'moved over'; end; begin f := TForm.Create(nil); f.Caption := 'Test it!'; f.BorderStyle := bsDialog; f.Position := poScreenCenter; b := TButton.Create(f); b.Name := 'Button1'; b.Parent := f; b.SetBounds(10, 10, 75, 25); b.Caption := 'Test'; b.OnClick := @ButtonClick; { same as b.OnClick := 'ButtonClick' } b.OnMouseMove := @ButtonMouseMove; f.ShowModal; f.Free; end.

As you can see there is no difference between PascalScript and Delphi code. You can access any property (simple, indexed or default) or method. All the object's published properties are accessible from the script by default. Public properties and methods need the implementation code - that's why you can access it partially (for example, you cannot access the TForm.Print method or TForm.Canvas property because they are not implemented).

General
Overview
Main Window
Menu File
Menu View
Menu Edit
Dialog Options
Menu Script
Menu Help
How to buy
Command line
Language Reference
Script structure
Data types
Classes
Functions
Events
Enumerations, Sets and Arrays
Pascal
C++
Java Script
Visual Basic
Functions
OpenBase
CloseBase
RecCount
FieldCount
ReadRecord
WriteRecord
FieldNumber
GetStr
GetValue
IsMemoField
IsDigitalField
IsCurrentDeleted
IsDeleted
ClearRecord
ClearField
SetValue
MarkDeleted
RecallRecord
DeleteRecord
AppendRecord
InsertRecord
SortBase
RemoveSort
SetFilter
RemoveFilter
Pack
Zap
Write
Writeln
StopScript
GetFileType
GetRecordLength
GetFieldName
GetFieldType
GetFieldSize
GetFieldFloat
NewDatabase
AddField
CreateDatabase
CreateAndOpenDataBase
RecordToCSV
SetCodepage
ParamCount
ParamStr

Ссылки по теме
Файл помощи
Снимки экрана
Видео ролики

Помогите нам с переводом
Помогите нам перевести наш сайт на ваш родной язык.
Переведите любые две страницы и получите бесплатную лицензию для любой программы на выбор.

Copyright © WhiteTown Software, 1996-2014 | Политика в отношении частной информации | Карта сайта