.comment-link {margin-left:.6em;}

Thursday, August 30, 2007

 

free pascal runtime error

I am getting a runtime error with this
record = point
x : integer;
y: integer;

procedure drawroom(offx,offy:integer; room : point);
var
x : integer;
y : integer;
xx,yy : integer;
begin
x := offx + room.x;
y := offy + room.y;
for xx := offx to x do;
for yy := offy to y do;
level[xx],[yy] := ' ';
end;

and when I call drawroom

Eaccessviolation

Labels:


 

installing the bloodshed ide with current version of lazerus or fpc

This is a simple guie to installing the bloodshed dev ide with lazarus. The reason why I did this is that it makes it simplier to compile fpc code because you don't have to worry about why you are compiling a form you do not want or copying something and then creating a new project out of it(I haven't fully tested the latter yet but it compiles).Instead I get around a problem I had with both lazarus and borland c++ 4.0 (also the reason I bought microsoft c ) I can just click on code to bring up the editor and the ide is much better than the default that is provided with fpc. First you would go to the bloodshed page and download what they call devolopment pascal. This is just an older version of fpc with the ide. Next you would install it. After you install devopment pascal you need to go into the folder and copy the contents and then go the the lazarus folder next you keep going until you are in the fpc folder and then you paste. When you are promted to rewrite over an old folder you need to press no because these are from an older version of pascal. Now you can create a shortcut and copy it to where you wish. This method can also be used with fpc (without lazarus).



GLEditor may also come in handy because it gives you the line numbers. (unless I missed that feature in lazarus and if I did I will revise my remarks) very helpfull for finding runtime errors

Labels: , , , , ,


Wednesday, August 29, 2007

 

rctc organised crime in corpus christi search and t homas

The name says judith and the email comes up as thomas@hotmail.com (I would double check that)... The text in the engine doesn't seem to match the text in the search. Ya thats odd.. don't know if they have cached simular pages or not.. I hope they have my keys.

RCTC Common Book... christi caller times[/url] corpus christi caller times ... organised crime agency[/url] serious organised crime agency ...
www.commonbook.rctc.project.mnscu.edu/index.asp?type=GUESTBOOK&SEC=%7B22FC6096-5C90-4324-BAC7-9D38917... - 82k - Cached - Similar pages - Note this

RCTC Common Book... tax search corpus christi texas[/url] property tax search corpus christi texas ..... organised crime agency[/url] serious organised crime agency ...
www.commonbook.rctc.project.mnscu.edu/index.asp?type=GUESTBOOK&SEC=%7B22FC6096-5C90-4324-BAC7-9D38917... - 73k - Cached - Similar pages - Note this

 

state of the universe (as I see it)

looks like one of the morning people was in at 4 am (customers). on the morning I left early and then I saw what looked like him on route 17.... maybe it isn't if you were to take it to a courtroom and and give me an eye exam.... I can let that slide. It is the maintence person at the waterford that gives off a stonger impression of stalking.. I have my own google board so if there is a reason to talk to me about burger king in corpus christi or whatever.. The blog could be an atractive nuesence. Alot of times we have lets say person x (when he/she isn't wasting food on purpose) creating some kind of a problem and then person y (That's me why are you doing that).. because we are near the bus stop (greyhound) and people remember when the cops were not around as much so they could solicit stuff plus the state police are in the building and someone might want to transport drugs through the greyhound station and they would be seen from outside the bus. Best to tell the drug adicts you know to get the transfer and hit the bus from robstown.. We are also near the bridge so if someone wanted to start trouble exc...

atractive nuesence.......... And then lets say I had posted a crime it it made it into the top ten of organised crime + corpus christi... Then you can backstab me because I made the company look bad by saying what an idiot you are in the blog.. I was asked if I wrote any games or maybe it was software about anyone at work.. I had asked for $20.. I write a simulation of anyone I work with. What I am doing is rouge like (two genre's for the price of one) what letter would you like them to be... We are talking about when letters of the alpabet attacked each other (befour pixels no dout). You might laugh but wait until a sentence comes after you.

Seems that I left my source code on the bus, like I keep telling people I am going to make $100 some day and it wasn't realy that good anyway just thinking trough puzzles or coding alot of times I will never look at it after I have written it just recall or sorta follow the same thought...

Labels: , ,


Monday, August 27, 2007

 

freeware turbo pascal manual

These are few and far between in pdf format... ie a good format to download... http://cs.felk.cvut.cz/~berezovs/VTP_A/mitchell/TPR1.htm#copyright this is in html though

Labels:


 

twolodbc

Object TWOLODBC
Unit: WOLDBK04.
Descendant of TDBDataSet. One is about the representation, in object WOL, of a basic linking with ODBC (Open Data Base Connector) of the GUI in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

procedure ExecuteSQL (SQLText: String);
Method used to execute a SQL declaration. It must be used befour the data set is returned or when the set doesn't exist.

function GetFieldData (Field: TField; Buffer: Pointer): Boolean; override;
function CreateBlobStream (Field: TField; Mode: TBlobStreamMode): TStream; override;

Public properties and Events:

It activates

SQL: TStrings (For Reading and Writing)
Property that loads an SQL declaration. It does not have internal verification of the text syntax.
DatabaseName: string (For Reading and Writing)
Property that indicates the name of DSN (Data Source Name) to be accessed in the ODBC.

User: string (For Reading and Writing)
Property that indicates the name of the user in the DSN configured in the ODBC.

Password: string (For Reading and Writing)
Property that indicates the access password in the DSN of the ODBC.

Cacheable: Boolean (For Reading and Writing)
Property that indicates if there is going to be a cache for the data that is received by ODBC.. It must be on whenever there is a significant amount of registers.

UpdateTable: String (For Reading and Writing)
Property that indicates the table that must be brought up to date by the methods append and post when Cacheable is True. If the data set is relative to more than one table, it is safer to bring up to date directly through SQL declaration.

BeforeOpen
AfterOpen
BeforeClose
AfterClose
BeforeInsert
AfterInsert
BeforeEdit
AfterEdit

Labels: ,


 

twomysql

TWOLMySQL object
Unit: WOLDBK03.
Descendant of TDBDataSet. An object that represents a MySQL database.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
function GetFieldData (Field: TField; Buffer: Pointer): Boolean; override;
function CreateBlobStream (Field: TField; Mode: TBlobStreamMode): TStream; override;

procedure ExecuteSQL;
Method used to execute an SQL database directly. It must be used when the dataset isn't of interest or when there will be no generated dataset.

Public properties and Events:

It activates
SQL: TStrings (For Reading and Writing)
Property that loads in the text of an SQL declaration. It must be noted that it does not have internal verification of the text syntax.

DatabaseName: string (For Reading and Writing)
Property that points to the name of the data base to be accessed.

Host: string (For Reading and Writing)
Property that indicates the name of the computer where the MySQL server is.

Port: Integer (For Reading and Writing)
Property that indicates the access door of the mySQL data base.

User: string (For Reading and Writing)
Property that indicates the user name registered in the MySQL server.

Password: string (For Reading and Writing)
Property that indicates the password used to open the data base indicated as the MySQL server.

Cacheable: Boolean (For Reading and Writing)
Property that it indicates that the database has a cache or not.. If the number of registers of the table or set will be expressiva, must point True with respect to this property.

UpdateTable: String (For Reading and Writing)
Property that indicates the table where the fields are brought up to date. When the cache object is brought up do date with the data in append or post it will look to this table to get the date the information. If it is more than a table of declaration in SQL it is safer to use SQL directly to bring up the data.

BeforeOpen
AfterOpen
BeforeClose
AfterClose
BeforeInsert
AfterInsert
BeforeEdit
AfterEdit
BeforePost
AfterPost
BeforeCancel
AfterCancel
BeforeDelete
AfterDelete
BeforeScroll
AfterScroll
OnDeleteError
OnEditError

Labels: ,


 

twoltable

TWOLTable object
Unit: WOLDBK02.
Descendant of TDBDataSet. , of a basic data table that use of archives of type DBF makes. He presents limitations, as not to use indices.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
function GetFieldData (Field: TField; Buffer: Pointer): Boolean; override;

function CreateBlobStream (Field: TField; Mode: TBlobStreamMode): TStream; override;
Method usedd to create a stream of type BLOB to be stored by the indicated field. Internal use.

procedure CreateTable; Method used to create DBF table with fields that had been indicated in the FieldDefs property.

procedure PackTable;
Method used to physically remove the registers marked for deletion.

procedure EmptyTable;
Method used to erase the data of a table.

function isDeleted: Boolean;
Method used to verify if the current register is marked for deletion.

procedure UnDelete;
Method used to remove the register mark for deletion.

Public properties and Events:

It activates

DatabaseName: string (For Reading and Writing)
Property that indicates the name of the database that is given for the object.

User: string (For Reading and Writing)
Property that indicates the name of the user of the table. For the time being, it is worthless.

Password: string (For Reading and Writing)
Property that indicates the used password in the table. For the time being it is worthless.

TableName: string (For Reading and Writing)
Property that indicates the array name used for the object.

DeletedON: Boolean (For Reading and Writing)
Property that it indicates registers marked to be erased must be shown or not.

BeforeOpen
AfterOpen
BeforeClose
AfterClose
BeforeInsert
AfterInsert
BeforeEdit
AfterEdit
BeforePost
AfterPost
BeforeCancel
AfterCancel
BeforeDelete
AfterDelete
BeforeScroll
AfterScroll
OnDeleteError
OnEditError

Labels: ,


 

twolpopupmenu

TWOLPopupMenu object
Unit: WOLGUI04.
Descendant of TWOLMenu. One is about the representation, in object WOL, of a basic menu popup of the GUI in use.

Public Metodos and Eventos:

constructor Create (AOwner: TWOLRoot); override;
Used method to create the object popup.

destructor Destroy; override;
Used method to destroy the object popup.

procedure Popup (X, Y: TWOLSmallInt); virtual;
Used method to make to appear the menu in an indicated point of the area customer of the window owner of the menu popup.

procedure Build;
Method to reconstruct menu items when necessary. It does not have to be external to be used.

procedure Add (aItem: TWOLMenuItem);
Method used to add to a menu item to the popup menu.

Public properties and Events:

Alignment: TWOLMenuAlignment (For Reading and Writing)
Property that indicates the alignment of the menu items.

AutoPopup: Boolean (For Reading and Writing)
Property that indicates if the popup menu must automatically appear when requested by the user.

OnPopup: TWOLMenuEvent (For Reading and Writing)
Event that happens when the popup menu appears.

Labels: ,


Sunday, August 26, 2007

 

twolmenubar

TWOLMenuBar object
Unit: WOLGUI04.
Descendant of TWOLMenu. A basic Menubar object

Public Methods and Events:

procedure Refresh;
Method used to bring the menu bar up to date.

procedure Build;
Method used to construct the menu bar (when you want to remake the menu bar for example). Generally, it is not necessary to call the method.

procedure Add (Value: TWOLMenuItem);
Method used to add a menu item to the menus bar.

Public properties and Events:

Handle: TWOLHMenu (Only for Reading)
Property that returns handle of the menu.

Labels: ,


 

twoldatetime

TWOLDateTime object
Unit: WOLGUI38.
Descendant of TWOLVisualControl. A entry box of the date-time box that is in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndNotify (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Today: TDateTime (For Reading and Writing)
Property that loads the current date and hour of the object.

DayOfWeek: TWOLInteger (For Reading and Writing)
Property that loads the current day of the week in the object.

It dates: String (For Reading and Writing)
Property that loads the current date in form of string in the object.

Kind: TWOLDateTimeKind (For Reading and Writing)
Property that indicates if the entry is the date or the hours.

Teams: String (For Reading and Writing)
Property that loads the current hour of the object.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twolcalender

TWOLCalendar object
Unit: WOLGUI15.
Descendant of TWOLVisualControl. A basic Calender object.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Today: TDateTime (For Reading and Writing)
Property that loads the date specified in the calendar or pointed to by it.

DayOfWeek: TWOLInteger (For Reading and Writing)
Property that loads the day of the week pointed indicated by the calendar.

It dates: String (For Reading and Writing)
Property that loads the date in form of string pointed to in the calendar.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twolscrollbar

TWOLScrollBox object
Unit: WOLGUI36.
Descendant of TWOLVisualControl. A scoll box with a scroll bar.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

AutoPage: Boolean (For Reading and Writing)
Property that indicates the automatic creation of a page and position in according to the size of the object window.

RefreshOnScroll: Boolean (For Reading and Writing)
Property that it indicates that the window is refreshed when the scroll bar is used.

VertScrollBar: TWOLScrollBoxBar (For Reading and Writing)
Property that loads a vertical scroll bar.

HorzScrollBar: TWOLScrollBoxBar (For Reading and Writing)
Property that loads a horizontal scroll bar.

VirtualHeight: TWOLSmallInt (For Reading and Writing)
Property that loads the virtual height of the scroll bar.

VirtualWidth: TWOLSmallInt (For Reading and Writing)
Property that loads the virtual width of the scroll bar.

OnScroll: TWOLScrollEvent (For Reading and Writing)
Event when the box of scroll bar is rolled.

OnClick
OnMouseMove
OnDblClick
OnPaint
OnPaintBkG
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D
TWOLSCROLLBOXBAR
TWOLScrollBoxBar is an object that can represent the bars of a ScrollBox. It does not have to be created, therefore when the roller bar is created, it is already made.

Public methods and Events:

constructor Create (Owner: TWOLScrollBox; aKind: TWOLScrollBarSet);
method Used to create the object. aKind indicates the type (horizontal or vertical) of the bar.
destructor Destroy; override;
method Used to destroy the object.

Properties of the Object:

Parent: TWOLHandle (For Reading and Writing)
Property that loads the handle of the scroll bar box.
OwnerKind: TWOLByte (Only for Reading)
Property that loads the type of owner of the object.
Handle: TWOLHandle (Only for Reading)
Property that loads the handle of the object.
Height: TWOLSmallInt (Only for Reading)
Property that specifies the height of the bar.
Width: TWOLSmallInt (Only for Reading)
Property that specifies the width of the bar.
Scroll: TWOLCardinal (Only for Reading)
Property that loads the scroll bar code when the event occurs.
CodeEvent: TWOLScrollBarCode (Only for Reading)
Property that loads the code of a scroll bar event.
Kind: TWOLScrollBarSet (Only for Reading)
Property that loads the scoll bar type.
Mask: TWOLSmallInt (Only for Reading)
Used property internally.
TrackPos: TWOLSmallInt (Only for Reading)
Property that loads the position of scroll bar.
DiffPos: TWOLSmallInt (Only for Reading)
Used property internally.
Align: TWOLByte (For Reading and Writing)
Property of alignment of the bar used internally.
SmallChange: TWOLSmallInt (For Reading and Writing)
Property that loads the minimum value change allowed by the bar.
LargeChange: TWOLSmallInt (For Reading and Writing)
Property that indicates the max change allowed for the scroll bar.
Visible: TWOLBoolean (For Reading and Writing)
Property that indicates the visibility of the scroll bar.
Min: TWOLSmallInt (For Reading and Writing)
Property that indicates the minimum value used by the scroll bar.
Max: TWOLSmallInt (For Reading and Writing)
Property that indicates the maximum value used by the bar. Generally virtual width is the value of the height/.
Page: TWOLSmallInt (For Reading and Writing)
Value of the pointer size of the pointer of the scroll bar.
Pos: TWOLLongint (For Reading and Writing)
Value of the position of the bar of the scroll bar.

Labels: ,


 

twolimagecontrol

TWOLImageControl object
Unit: WOLGUI07.
Descendant of TWOLVisualControl. Image control object

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

procedure LoadImage;
Method used to load the image indicated in the Filename property.

procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure DestroyWnd; override;
procedure RecreateWnd; override;
procedure Redraw; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure Clear;
Method used to clear the image in the canvas.

Public properties and Events:

Picture: TWOLPicture (For Reading and Writing)
Property that loads a primitive representation of the image.

FileName: String (For Reading and Writing)
Property that loads the name of the image file.

AutoSize: Boolean (For Reading and Writing)
Property that it indicates that the image must be resized.

Center: Boolean (For Reading and Writing)
Property that it indicates that the image is to be centered in the canvas. This property invalidates the AutoSize property.

IncrementalDisplay: Boolean (For Reading and Writing)
This property indicates that the image will be shown to the few nop canvas when will be great excessively. Not yet functional.

Stretch: Boolean (For Reading and Writing)
Property that it indicates that the image will be stretched in the canvas regardless of the size. Only in the MS-Windows.

Transparent: Boolean (For Reading and Writing)
Property that indicates that the object is transparent.

Border
WindowAlign
Left
Top
Width
Height
Color
Cursor
Visible
Enabled
Hint
OnClick
OnMouseMove
OnKeyPress

Labels: ,


Friday, August 24, 2007

 

twoltogglebutton

TWOLToggleButton object
Unit: WOLGUI35.
Descendant of TWOLVisualControl. A toggle button for the basic gui.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

IsDown: Boolean (For Reading and Writing)
Property that indicates if the button is in the pressured state or not.

OnToggle: TWOLEvent (For Reading and Writing)
Gone off event when the state of the dumb button.

OnClick
OnMouseMove
OnDblClick
TextAlign
WindowAlign
Caption
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twollistview

TWOLListView object

Unit: WOLGUI17.
Descendant of TWOLVisualControl. One is about the representation, in object WOL, of basic a Visual List of the GUI in use.

Public methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure AddColumn (aColumn: TWOLListViewColumn);
Method used to add a column to the visual list.

procedure DelColumn (aColumn: TWOLListViewColumn);
Method used to erase a column of the visual list.

procedure AddItem (img: Integer; const Captions: Array of TListViewString);
Method used to add a line of itens with an associated image to the visual list.

function GetItemText (item, subitem: Integer): String;
Method used to recoup the text of an item and subitem of the visual list.

procedure DelItem (item: Integer);
Method used to erase an item of the visual list.

procedure Clear; Used method to clean all itens of the list.

procedure Freeze; Used method to indicate the list that if to desire to insert a considerable amount of itens to the list. This makes the list to congeal and to be only brought up to date visually when the method unFreeze will be called.

procedure UnFreeze;
Method used to bring up to date the visual list after a considerable insertion. It does not call this method if it will initially not have called Freeze.

Public properties and Events:

Column [Index: Integer]: TWOLListViewColumn (For Reading and Writing)
Property that returns the column from specified index.

Count: Integer (Only for Reading)
Property that returns the amount from existing Columns in the list.

ImageListNormal: TWOLImageList (For Reading and Writing)
Property that points with respect to the list of images associated to the visual list when in the normal way.

ImageListSmall: TWOLImageList (For Reading and Writing)
Property that points with respect to the list of images associated to the visual list when in the visual way SmallIcons.

ImageListState: TWOLImageList (For Reading and Writing)
Property that points with respect to the list of images associated to the visual list when in the visual way List.

IconAlign: TWOLJustifySet (For Reading and Writing)
Property that indicates the form of alignment of the icons in relation to the headings of itens.

Options: TWOLBehaviours (For Reading and Writing)
Property that modifies the behavior the visual list of diverse forms.

ModeView: TWOLViewModeSet (For Reading and Writing)
Property that modifies the form to visualize the list visual.

Selected: Integer (For Reading and Writing)
Property that returns the index from the item currently selected by the user.

ScrollBars: TWOLScrollBarSet (For Reading and Writing)
Property that indicates the presence or not of the bars of clod roller of the visual list.

Columns: TWOLListViewColumns (Only for Reading)
Property that loads the representation of the columns of the visual list.

OnClick
OnMouseMove
OnDblClick
WindowAlign
Border
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Ctrl3D
Tabstop
TabOrder

procedure SetGTKListViewColumns (nColumns: Integer);
A procedure must be indicated. It is part of the unit because the ListView of the GTK has a predetermined number of columns at the creation moment. The programmer must indicate the maximum number of columns that the program comes to use calling this procedure when it will be using the GTK/GDK.

TWOLLISTVIEWCOLUMNS



This object loads obtains the definitions of the columns of the visual list. It does not have external to be created.

Public methods and Events:

constructor Create (AOwner: TWOLListView); It creates the object.
destructor Destroy; override;
It destroys the object.
procedure Add (Value: TWOLListViewColumn);
It adds a column to the list.
procedure Delete (Index: Integer);
It erases a column of the list indicated for the index.
procedure Clear;
It erases all the columns of the visual list.

Properties of the Object:

Column [Index: Integer]: TWOLListViewColumn (Only for Reading)
Property that returns the column from specified index.
Count: Integer (Only for Reading)
Property that returns the amount from columns of the list.


TWOLLISTVIEWCOLUMN



Object that represents a column of the visual list.

constructor Create (AOwner: TWOLListView);
Method used to create the object.
destructor Destroy; override;
Method used to destroy the object.
procedure AddItem (Items: TWOLListViewItem);
Method used to add an item to the column.
procedure DelItem (Items: TWOLListViewItem);
Method used to erase an item of the column.

Properties of the Object:

Caption: String (For Reading and Writing)
Property that indicates the heading of the column.
Index: Integer (For Reading and Writing)
Property that indicates the index of the current column.
Item [aIndex: Integer]: TWOLListViewItem (For Reading and Writing)
Property that returns the item indicated for the argument.
Count: Integer (Only for Reading)
Property that returns the amount from itens of the column.
Width: Integer (For Reading and Writing)
Property that informs the width of the column.
Owner: TWOLListView (Only for Reading)
Property that informs the Visual List which belongs the column.
LVHnd: TWOLHandle (For Reading and Writing)
property that returns handle from the Visual List proprietor.
Align: TWOLTextAlign (For Reading and Writing)
Property that inside indicates the alignment of the text of the column.


TWOLLISTVIEWITEM



Object that represents an item of the visual list. Such object must be thought as the first heading that appears in each line of the list. The other headings of the same line must be thought as they subitem of this item.

constructor Create (AOwner: TWOLListViewColumn);
Method used to create the object.
destructor Destroy; override;
Method used to destroy the object.
procedure AddSubItem (aItem: TWOLListViewSubItem);
Method used to add one subitem to the current item.
procedure DelSubItem (aItem: TWOLListViewSubItem);
Method used to erase subitem it indicated of the current item.

Properties of the Object:
Count: Integer (Only for Reading)
Property that returns the amount from subitens contained in the item.
Item [Index: Integer]: TWOLListViewSubItem (For Reading and Writing)
Property that returns it subitem indicated for the index.
LVHnd: TWOLHandle (For Reading and Writing)
Property that returns handle from the Visual List which it subitem belongs.


TWOLLISTVIEWSUBITEM



Object that represents subitens of the visual list. Each subitem must be thought as the headings that are not item zero of each column.

constructor Create (AOwner: TWOLListViewItem);
Method used to create the object.
destructor Destroy; override;
Method used to destroy the object.
Properties of the Object:
Caption: String (For Reading and Writing)
Property that loads the heading of it subitem.
ImageIndex: Integer (For Reading and Writing)
Property that loads the index of the image associated with it subitem.
Index: Integer (For Reading and Writing)
Property that loads the index of it subitem.
StateIndex: Integer (For Reading and Writing)
Property that loads the index of the image associated with it subitem to represent the state.
LVHnd: TWOLHandle (For Reading and Writing)
Property that loads handle of the Visual List which belongs subitem it.
SubItems: TStrings (For Reading and Writing)
property that loads the headings of it subitem.

Labels: ,


Thursday, August 23, 2007

 

twoltreeview

TWOLTreeView object
Unit: WOLGUI18.
Descendant of TWOLVisualControl. One is about the representation, in object WOL, of basic Visual Tree of the GUI in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;

procedure AddRoot (Root: TWOLTreeViewNode);
method used to add to a nodule root in the visual tree.

procedure Clear;
method used to clean all we of a tree.

procedure Expand (aNode: TWOLTreeViewNode);
method used to expand all pertaining we to the specified knot.

procedure Colapse (aNode: TWOLTreeViewNode);
method used to collect all pertaining we to the specified knot.

procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Items [Index: Integer]: TWOLTreeViewNode (Only for Reading)
Property that returns the knot from specified index.

RootCount: Integer (Only for Reading)
Property that returns the amount from us roots of the tree.

IsEmpty: Boolean (Only for Reading)
Property that returns if the tree is empty or not.

Images: TWOLImageList (For Reading and Writing)
Property that indicates the list of images associated the tree. The icons contained in the list of images are drawn in we if they will be in normal state.

StateImages: TWOLImageList (For Reading and Writing)
Property that indicates the list of images associated the tree. The icons contained in the list of images are drawn in we if they will be in different state of the normal one.

Indent: Integer (For Reading and Writing)
Property that indicates the removal between we roots and the left side of the tree.

Selected: TWOLTreeViewNode (For Reading and Writing)
Property that returns the currently the selected node.

TreeNodes: TWOLTreeViewNodes (Only for Reading)
Property that loads the tree in itself.

OnClick
OnMouseMove
OnDblClick
WindowAlign
Border
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Ctrl3D
Tabstop
TabOrder

TWOLTREEVIEWNODES
TWOLTreeViewNodes is an object that loads the list of nodes in the tree. It does not have to be externaly created.
Public methods and Events:
constructor Create (AOwner: TWOLTreeView);
method used to create the object.
destructor Destroy; override;
method used to destroy the object.
procedure Delete (Index: Integer);
method used to erase the node of indicated index.
procedure Clear;
Used method to clear nodes from the list.
function FindNodeByName (aName: String): TWOLTreeViewNode;
Used method to look a node by it's name.

Properties of the Object:

TreeNode [Index: Integer]: TWOLTreeViewNode (Only for Reading)
Property that returns the node from indicated index.
Count: Integer (Only for Reading)
Property that returns the number of nodes in a tree.

Labels: ,


 

twoltabcontrol

TWOLTabControl object
Unit: WOLGUI29.
Descendant of TWOLVisualControl. A tab control object a basic WOL object for use in the notebook gui.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function GetControlCount: TWOLSmallInt; override;
function GetAControl (aIndex: TWOLSmallInt): TWOLBase; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndNotify (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;
function WndText (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

MultiLine: Boolean (For Reading and Writing)
Property that indicates if the border is multiline or in an only a line.

TabWidth: Integer (For Reading and Writing)
Property that indicates the width of each border.

TabHeight: Integer (For Reading and Writing)
Property that indicates the height of each border.

HotTrack: Boolean (For Reading and Writing)
Property that it indicates if the heading of the border will be illuminated when pass the mouse over it.

Scroll: Boolean (For Reading and Writing)
Property that it indicates if the borders will roll to exceed the width of tabcontrol.

TabIndex: Integer (For Reading and Writing)
Property that indicates the index of the currently active border.

TabPos: TWOLPositionSet (For Reading and Writing)
Property that indicates the position of the borders in relation to tabcontrol.

Pages: TStrings (For Reading and Writing)
Property that loads the borders in heading form. Each border corresponds to a page. These borders must be modified in the form of TWOLTabList. The visual objects will be inserted in these pages.

OnChange: TWOLEvent (For Reading and Writing)
Event that happens when the border changes.

OnChanging: TWOLBoolEvent (For Reading and Writing)
Event that happens when the border is moving.

OnClick
OnMouseMove
OnDblClick
Ctrl3D
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
Tab Order
TWOLTABLIST
TWOLTabList is a derivation of the TStrings. It is adapted to represent the pages of a TWOLTabControl. So that it is possible to place visual objects in the TWOLTabList, special methods have been increased.

Public methods and Events:

method used to create the set of pages.
destructor Destroy; override;
method used to destroy the set of pages.
procedure Clear; override;
method used to clear the set of pages.
procedure Delete (Index: Integer); override;
method used to erase a page of indicated index.
procedure Insert (Index: Integer; const S: string); override;
method used to insert a page in the set.
procedure InsertVisualControl (VisualCtrl: TWOLVisualControl; Page: Integer);
method used to insert a visual object in the indicated page.
procedure RemoveVisualControl (VisualCtrl: TWOLVisualControl; Page: Integer);
method used to remove an object of the indicated page.
function GetVisualControl (aHandle: TWOLHandle): TWOLVisualControl;
method tsed to return a visual object with handle indicated.
procedure PaintControls;
method used to internally redesign visual objects of the pages.
procedure ResizePages (width, height: Integer);
method used internally to resize the pages.
function FindControl (aHandle: TWOLHandle): Boolean;
method used to look at a visual object of handle indicated.
function FindPage (aHandle: TWOLHandle): Boolean;
method used to look at a page of handle indicated.
function GetControlCount (aPage: Integer): Integer;
method used to return the number from visual objects in an indicated page.
function GetPageControl (aIndex: Integer): Integer;
method used to return the index of the page of the visual object of the index.
function GetControlInPage (aIndex: Integer): TWOLBase;
method used to return the object of index indicated in any page.


constructor Create;

Labels: ,


 

twolhotkey

TWOLHotKey object
Unit: WOLGUI33.
Descendant of TWOLVisualControl. A basic HotKey in the GUI in use. HotKey is an routine that captures special keyboard keys and it transforms them into a description that is described in text form. But only in tMS-Windows.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

HotKey: TWOLWord (For Reading and Writing)
Property that returns the value from a combination of keyboard keys.
InvalidKeys: TWOLHotKeyInvalidKeys (For Reading and Writing)
Property that removes the keyboard keys that are not part of the combination.
Modifiers: TWOLHotKeyModifiers (For Reading and Writing)
Property that tells the modifiers that had been pressured by the user.
OnHotKey: TWOLEvent (For Reading and Writing)
Event that happens when the user presses down on keys.
OnClick
OnMouseMove
OnDblClick
Border
TextAlign
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twolupdown

TWOLUpDown object
Unit: WOLGUI31.
Descendant of TWOLVisualControl. An up-down object of WOL for the gui being used.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
procedure RecreateWnd; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndNotify (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

AlignButton: TWOLTextAlign (For Reading and Writing)
Property that indicates the alignment of the Button.
ArrowKeys: Boolean (For Reading and Writing)
Property that allows that the arrow keys are being used to increase or to decreases the value.
Increment: Integer (For Reading and Writing)
Property that indicates the increment each time that the user increases or decreases the value.
Max: Integer (For Reading and Writing)
Property that specifies the allowed maximum value.
Min: Integer (For Reading and Writing)
Property that specifies the allowed minimum value.
Orientation: TWOLOrientSet (For Reading and Writing)
Property that specifies the orientation (vertical or horizontal) of updown.
Position: TWOLLongint (For Reading and Writing)
Property that indicates the current value of updown.
Thousands: Boolean (For Reading and Writing)
Property that indicates the appearance of the thousand separator in the number.
Wrap: Boolean (For Reading and Writing)
Property that specifies that the min, max has been reached.
DecimalBase: Boolean (For Reading and Writing)
Property that indicates the numerical base it can be hex or decimal.
Associate: TWOLVisualControl (For Reading and Writing)
In the MS-Windows, the object does not present an editor box. In that case it is necessary for a TWOLEdit object to be indicated so that it receives the value from updown. Already in GTK, updown is supplied complete, not needing additional code.
IsAssocInt: Boolean (For Reading and Writing)
Property that it indicates that the associated object (TWOLEdit) must interact with updown. The text of the associated object will be brought up to date whenever the value of updown is to move.
OnChanging: TWOLBoolEvent (For Reading and Writing)
Event when the value of updown is changed.
OnUpDown: TWOLConstEvent (For Reading and Writing)
Event when the value of updown is moved.
OnClick
OnMouseMove
OnDblClick
Border
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twoltoolbutton

TWOLTOOLBUTTON
Public methods and Events:

constructor Create;
Used method to create the object.
destructor Destroy; override;
Used method to destroy the object.
procedure Assign (aButton: TWOLToolButton);
Used procedure to copy the properties of the last button as argument.

Properties of the Object:

Handle: TWOLHandle (For Reading and Writing)
Property that returns handle from the button.
Name: String (For Reading and Writing)
Property that contains the name given to the button.
AllowAllUp: Boolean (For Reading and Writing)
Property that indicates that all the buttons can be in a non-pressed state.
Down: Boolean (For Reading and Writing)
Property that indicates if the button is pressed or not.
Grouped: Boolean (For Reading and Writing)
Property that it indicates that the button is part of a group.
ImgIcon: TWOLToolButtonIcon (For Reading and Writing)
Property that indicates the icon of the button. This icon is predefined.
Indeterminate: Boolean (For Reading and Writing)
Property that it indicates that the button can be in an indefinite state.
Style: TWOLToolButtonStyle (For Reading and Writing)
Property that tells the style of the button.
State: TWOLToolButtonState (For Reading and Writing)
Property that tells the state of the button.
Wrap: Boolean (For Reading and Writing)
Property that tells if the button can roll inside of the bar of tools.
Hint: String (For Reading and Writing)
Property that loads the tip that is presented when mouse is on the button.
Caption: String (For Reading and Writing)
Property that loads the heading of the button.
Visible: Boolean (For Reading and Writing)
Property that defines if the button is visible or not.
Index: Integer (For Reading and Writing)
Property that tells the index number of the button (based in zero).
Enabled: Boolean (For Reading and Writing)
Property that indicates if the button is enabled or not.
OnClick: TWOLEvent (For Reading and Writing)
Event when the button is clicked.

TWOLTOOLBUTTONS
TWOLToolButtons is a special object that does not have to be created. The tool bar already loads a property with this object class.

Public methods and Events:

constructor Create (to aOwner: TWOLToolBar);
Procedure that creates a pertinent object the tool bar indicated.
destructor Destroy; override;
Procedure that destroys the object.
procedure Add (aButton: TWOLToolButton);
Procedure used to add a button in the list.
procedure Insert (aButton: TWOLToolButton);
Procedure used to insert a button in the list.
procedure Delete (aIndex: Integer);
Procedure used to erase a button at position index in the list.
procedure Clear;
Used procedure to clear the list of buttons.
procedure Assign (Value: TWOLToolButtons);
Procedure used to substitute the list of current buttons for the one used in the object passed in Value.
procedure BuildButtons; Procedure used to remake the buttons in the tool bar.

Properties of the Object:

Button [Index: Integer]: TWOLToolButton (Only for Reading)
Property that points to the index of the button.
Count: Integer (Only for Reading)
Property that tells the amount of buttons in the list.

Labels: ,


 

twolprogressbar

TWOLProgressBar object
Unit: WOLGUI22.
Descendant of TWOLVisualControl. A basic progress bar.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;

procedure StepIt;
Procedure used in accordance with the progress bar to indicate step.

procedure StepBy (Delta: TWOLLongint);
procedure used to develop a value i the bar in accordance with the value of delta.

function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Max: TWOLLongint (For Reading and Writing)
Property that indicates the maximum that the progress bar may be.

Min: TWOLLongint (For Reading and Writing)
Property that indicates the minimum that the progress bar may be.

Step: TWOLLongint (For Reading and Writing)
Property that indicates the value of each cange in the progress bar.

Position: TWOLLongint (For Reading and Writing)
Property that indicates the position of the progress bar.

BarColor: TWOLColor (For Reading and Writing)
Property that indicates the color of the pointer of the progress bar.

BkColor: TWOLColor (For Reading and Writing)
Property that indicates the background of the progress bar.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3d

Labels: ,


 

TWOLProgressBar

TWOLProgressBar object
Unit: WOLGUI22.
Descendant of TWOLVisualControl. A basic progress bar.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;

procedure StepIt;
Procedure used in accordance with the progress bar to indicate step.

procedure StepBy (Delta: TWOLLongint);
procedure used to develop a value i the bar in accordance with the value of delta.

function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Max: TWOLLongint (For Reading and Writing)
Property that indicates the maximum that the progress bar may be.

Min: TWOLLongint (For Reading and Writing)
Property that indicates the minimum that the progress bar may be.

Step: TWOLLongint (For Reading and Writing)
Property that indicates the value of each cange in the progress bar.

Position: TWOLLongint (For Reading and Writing)
Property that indicates the position of the progress bar.

BarColor: TWOLColor (For Reading and Writing)
Property that indicates the color of the pointer of the progress bar.

BkColor: TWOLColor (For Reading and Writing)
Property that indicates the background of the progress bar.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twoltrackbar

TWOLTrackBar object
Unit: WOLGUI30.
Descendant of TWOLVisualControl. A basic track bar that can be dragged in the gui that is being used.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure SetTick (aPosition: Integer);
Procedure being used for indicates that indicates the position in the drag bar.

procedure ClearSel;
used procedure to clear a selection.

Public properties and Events:

ThumbRect: TWOLRect (Only for Reading)
Property used to return the value of the area of the drag pointer.

ChannelRect: TWOLRect (Only for Reading)
Property used to return the value of the area of the drags recess.

Min: Integer (For Reading and Writing)
Property used to indicate the minimum value that the bar must represent.

Max: Integer (For Reading and Writing)
Property used to indicate the maximum value that the bar must represent.

Position: Integer (For Reading and Writing)
Property used to indicate the position of the drag pointer.

Frequency: Integer (For Reading and Writing)
Property used to indicate the tick frequency of drag bar.

LineSize: Integer (For Reading and Writing)
Property to indicate how much it drags per tick.

PageSize: Integer (For Reading and Writing)
Property used to indicate how much the pointer moves when it is clicked on.

SelStart: Integer (For Reading and Writing)
Property used to indicate the beginning of a selection.

SelEnd: Integer (For Reading and Writing)
Property used to indicate the end of a selection.

Orientation: TWOLOrientSet (For Reading and Writing)
Property used to indicate the orientation of a drag bar.

TickStyle: Integer (For Reading and Writing)
Property used to indicate the style of ticks.

TickMarks: TWOLPositionSet (For Reading and Writing)
Property used to indicate where position, relative to the drag recess the ticks must be.

EnableSelRange: Boolean (For Reading and Writing)
Property that enables a range of the drag bar.

FixedLen: Boolean (For Reading and Writing)
Property that it indicates that the bar is of a fixed length.

NoThumbs: Boolean (For Reading and Writing)
Property that informs that the pointer is not the desired drag.

OnChange: TWOLEvent (For Reading and Writing)
Event when the position of the drag pointer changes.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twolanimate

TWOLAnimate object
Unit: WOLGUI34.
Descendant of TWOLVisualControl. A wol object that is a basic video animation in the GUI being used. Currently, only in MS-Windows, without audio.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure Open;
Procedure used to open clip of video (AVI) specified in the Filename property.

procedure Play;
Procedure used to play clip in the window.

procedure Stop;
used procedure to stop clip that is playing.

procedure Close;
procedure used to close a clip.

Public properties and Events:

Transparent: Boolean (For Reading and Writing)
Property that specifies that clip is transparent. The transparent color is first pixel of clip.

FileName: string (For Reading and Writing)
Property that specifies the name of the archive that contains a video clip.

AutoPlay: Boolean (For Reading and Writing)
Property that indicates the automatic clip execution when an archive is loaded.

Center: Boolean (For Reading and Writing)
Property that it indicates that the clip image is centered in the animation window.

RepeatNum: TWOLSmallInt (For Reading and Writing)
Property that returns the number it of times that a clip will be repeated. If it is zero, the clip will be repeated indefinitely.

StartFrame: TWOLSmallInt (For Reading and Writing)
Property that specifies the picture of beginning of a clip.

OnStart: TWOLEvent (For Reading and Writing)
Event that happens when clip starts.

OnStop: TWOLEvent (For Reading and Writing)
Event that happens when clip stops.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twolheader

TWOLHeader object
Unit: WOLGUI32.
Descendant of TWOLVisualControl. A representation of a WOL object, A basic header of the gui in use
Used currently only in Windows.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndNotify (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Sections: TWOLHeaderSections (For Reading and Writing)
Property that represents the sections of header (heading)

OnSecClick: TWOLConstEvent (For Reading and Writing)
Event that happens when a section will is clicked.

OnSecResize: TWOLPosXYEvent (For Reading and Writing)
Event that happens when a section is redimensioned.

OnSecTrack: TWOLPosXYFEvent (For Reading and Writing)
Event that happens when a section is dragged.

OnHeaderClick: TWOLEvent (For Reading and Writing)
Event that happens when header is clicked.

HotTrack: Boolean (For Reading and Writing)
Property that is illuminated when a mouse is passed on it.

OnClick
OnMouseMove
OnDblClick
Ctrl3D
Border
TextAlign
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder

TWOLHEADERSECTIONS
Each section of heading is contained in the Sections property of the TWOLHeader object.
TWOLHEADERSECTIONS is a basic class with the following methods:

constructor Create (AOwner: TWOLHeader);
Method used to construct an object that keeps all the sections that will be used in the header. One of them is created and established when header is created.
destructor Destroy; override;
procedure InsertItem (Value: String);
Method used to insert a section in the header with the specified text.
procedure DeleteItem (Index: Integer);
Method used to erase a section of header of the specified index.

TWOLHEADERSECTIONS presents the following properties:

Count: Integer (Only for Reading)
returns the amount sections stored in the class.
Width [Index: Integer]: Integer (For Reading and Writing)
It returns/modifies the width of the section indicated for index.
Text [Index: Integer]: string (For Reading and Writing)
It returns/modifies the text of the section indicated for index.
Alignment [Index: Integer]: TWOLTextAlign (For Reading and Writing)
It returns/modifies the alignment of the text of the section indicated for index.
Bitmap [Index: Integer]: TWOLHBITMAP (For Reading and Writing)
It returns/modifies the handle of bitmap associated to the section indicated in index.

Labels: ,


 

twolstatusbar

TWOLStatusBar object
Unit: WOLGUI24.
Descendant of TWOLVisualControl. a basic status bar in the gui in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure AddPart (sText: String; nWidth: TWOLSmallInt);
Method used to add parts (rectangles with text) in the status bar.

procedure SetPart (nPart: TWOLSmallInt; sText: String; nWidth: TWOLSmallInt);
Method used to modify the parts of a status bar.

procedure DelPart (nPart: TWOLSmallInt);
Method used to erase a part of the status bar.

procedure GetPart (nPart: TWOLSmallInt; to var sText: String; to var nWidth: TWOLSmallInt);
Used method to return the values in a part of the status bar.

Public properties and Events:

SimplePart: Boolean (For Reading and Writing)
It indicates that the status bar if text is present (without the existence of parts).

SimpleText: String (For Reading and Writing)
It modifies the simple text of the status bar if it will be of the SimplePart type.

SizeGrip: Boolean (For Reading and Writing)
It indicates that a redimensioned drawing will be placed in the right side of the bar of state.

OnClick
OnMouseMove
OnDblClick
Border
TextAlign
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twolimagelist

TWOLImageList object

Unit: WOLGUI16.
Descendant of TWOLVisualControl. One is about the representation, in object WOL, of basic List of Images of the GUI in use.

Public Metodos and Eventos:

constructor Create (AOwner: TWOLRoot); override;

constructor CreateSize (AWidth, AHeight: Integer);
used procedure to construct to a list images with the specified dimensions. It must be remembered that the dimension is of each image.

destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); virtual;
procedure AllocResources; override;
procedure FreeResources; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

function Add (Image, Mask: TWOLImage): Integer;
Used method to add an image and, optionally, a mask in the list.

function AddIcon (Image: TWOLIcon): Integer;
Used method to add an icon to the list of images.

procedure AddImages (Value: TWOLImageList);
Used method to add a list of images to the list of images.

function AddMasked (Image: TWOLImage; MaskColor: TWOLColor): Integer;
Used method to adionar an image and a mask of color to the list of images.

procedure Assign (Source: TWOLRoot); override;
Used method to copy the list of images of a list for another one.

function BeginDrag (Window: TWOLHandle; X, Y: Integer): Boolean;
Used method to show an icon of drags in the window and the position specified.

procedure Clear;
Used method to clean the list of images.

procedure Delete (Index: Integer);
Used method to erase the number image index.

function DragLock (Window: TWOLHandle; XPos, YPos: Integer): Boolean;
Used method to stop (to keep) the icon of drags in the specified window and position. This operation must be the initial when if to make necessary to make operations drag and drop

function DragMove (X, Y: Integer): Boolean;
Used method to move the icon of drags for the specified position.

procedure DragUnlock; Used method to unlock the icon of drags.

procedure Draw (Canvas: TWOLCanvas; X, Y, Index: Integer);
Used method to draw a list of images in one canvas and position specified.

procedure DrawOverlay (Canvas: TWOLCanvas; X, Y: Integer; ImageIndex: Integer; aOverlay: TOverlay);
Used method to draw an image in an one position canvas of the overlapping form specified by the parameters.

function FileLoad (ResType: TResType; aName: string; MaskColor: TWOLColor): Boolean;
Used method to load an archive of images or a resource compiled in the proper program.

procedure GetBitmap (Index: Integer; Image: TWOLBitmap);
Used method to draw an image of the list of index specified in canvas of the indicated image.

function GetHotSpot: TWOLPoint;
Used method to catch the point of drags of the image list. In general I sing it left inferior.

procedure GetIcon (Index: Integer; Image: TWOLIcon);
Used method to draw the icon of the list of images of index specified in canvas in the last image as parameter.

function GetImageBitmap: TWOLHBitmap;
Used method to catch handle of the list of images as one bitmap only.

function GetResource (ResType: TResType; aName: string; aWidth: Integer; LoadFlags: TLoadResources; MaskColor: TWOLColor): Integer;
Used method to catch the resource specified for the parameter, being returned it as one handle.

function GetMaskBitmap: TWOLHBitmap;
Used method to catch the mask as one handle of bitmap only.

procedure HideDragImage;
Used method to hide the icon of drags of the list of images.

function Overlay (ImageIndex: Integer; aOverlay: TOverlay): Boolean;
Used method to modify the form of overlapping of the image of indicated index.

procedure Replace (Index: Integer; Image, Mask: TWOLImage);
Used method to substitute the image and the mask of the position indicated for the index.

procedure ReplaceIcon (Index: Integer; Image: TWOLIcon);
Used method to substitute the icon of index indicated for the past in the parameter.

procedure ShowDragImage;
Used method to show the icon of drags of the list of images.

Public properties and Events:

Count: Integer (Only for Reading)
Property that returns the amount images in the list.

Dragging: Boolean (Only for Reading)
Property that returns if the image is showing the icon of drags or not.

Handle: TWOLHandle (For Reading and Writing)
Property that returns handle from the list of images.

AllocBy: Integer (For Reading and Writing)
Property that indicates the number of images placed by the list. To remember that, in memory, this number is equal the AllocBy * Height * Width * Number of Mask.

BkColor: TWOLColor (For Reading and Writing)
Property that indicates the adopted color of deep when will be drawn an image.

BlendColor: TWOLColor (For Reading and Writing)
Property that indicates the color of blend of the image.

DrawingStyle: TDrawingStyle (For Reading and Writing)
Property that modifies the form as the images is drawn.

Height: TWOLInteger (For Reading and Writing)
Property that indicates the height of each image.

ImageType: TImageType (For Reading and Writing)
Property that indicates the type of image contained in the list.

Masked: Boolean (For Reading and Writing)
Property that indicates if the list of images contains mask or not.

ShareImages: Boolean (For Reading and Writing)
Property that it indicates that the images will not be set free of the memory because they are shared.

Width: TWOLInteger (For Reading and Writing)
Property that informs the width of each image.

OnChange: TWOLEvent (For Reading and Writing)
Gone off event when the image suffers modification.

Images: TWOLImages (For Reading and Writing)
Property representing the list of images properly said.



TWOLIMAGES



TWOLImages does not have external to be used. It only interacts with the TWOLImageList object in drawing time. She serves to capture the list of images that if she desires in the list and to recoup them later.

constructor Create;
Used method to create the list of images.

destructor Destroy; override;
Used method to destroy the list of images.

procedure AddToList (FileName: String; ResType: TResType);
Used method to add an archive of image to the list of images.

procedure DelFromList (aIndex: Integer);
Used method to erase the image of index indicated of the list.

procedure Clear;
Used method To clean the list of images.

procedure Assign (otherImages: TWOLImages);
Used method to copy a list of images for another one.

function Count: Integer;

Used method to return the amount from images contained in the list.

Image [Index: Integer]: TWOLImage (For Reading and Writing)
Property that returns the image from index indicated contained in the list.

ImageName [Index: Integer]: String (For Reading and Writing)
Property that returns the name from the archive of the image of specified index.

ImageType [Index: Integer]: TResType (For Reading and Writing)
Property that returns the type of image of specified index.

Labels: ,


 

twoltimer

TWOLTimer object
Unit: WOLGUI37.
Descendant of TWOLRoot. A representation WOL object, of a basic timer in the GUI in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

procedure HandleNeeded;
Used procedure to create the handle of the timer. Generally its use is not necessary.

procedure Start;
Used procedure to initiate the timer. From its call, the timer will go to generate a OnTimer event periodically.

procedure Stop;
Used procedure to stop the timer. The timer leaves to generate the OnTimer event.

function WndProc (to var Message: TWOLMessage): Boolean;
Function that will be executed once the creation of the timer is finished.

Public properties and Events:

Handle: TWOLHandle (Only for Reading)
Property with the handle of the timer for the GUI in use.

Running: Boolean (Only for Reading)
Property that indicates if the timer is running or not.

Interval: Longint (For Reading and Writing)
Property that indicates the time interval, in milliseconds, used for the timer event OnTimer.

OnTimer: TWOLEvent (For Reading and Writing)
Event for the timer for each interval indicated in the Interval property. It is necessary that the timer is initiated by the Start method.

Labels: ,


 

twolpagesetupdlg

TWOLPageSetupDlg object
Unit: WOLGUI10.
Descendant of TWOLSysDialog. A WOL object that allows the user to enter page setup options in the gui in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

function Execute: Boolean; override;
Function that shows prompt of page configuration and returns if the user cancelled or not it operation.

Public properties and Events:

Margins: TWOLRect (For Reading and Writing)
Property with a rectangle representing the area on the paper to be supplied to the printer.

MinMargins: TWOLRect (For Reading and Writing)
Property with a rectangle indicating the minimim margins arount the type that is supplied to the printer..

Labels: ,


 

TWOLReplaceDlg

TWOLReplaceDlg object
Unit: WOLGUI10.
Descendant of TWOLFindDlg. It is a representation, iof a WOL object of a search and replace dialog box.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
function Execute: Boolean; override;
Function that shows prompt of substitution in not modal way.

Public properties and Events:

OnReplace: TWOLEvent (For Reading and Writing)
Gone off event when the user orders to substitute the text.

ReplaceText: string (For Reading and Writing)
Property that indicates the text that must take the place of the text to be looked.

Labels: ,


 

twolfinedlg

TWOLFindDlg object (of the wolgui in object pascal)
Unit: WOLGUI10.
Descendant of TWOLSysDialog. A representation of a WOL object of a basic search in the current gui.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

function Execute: Boolean; override;
Function that sets in motion search prompt of a form. The returned value is null.

procedure CloseDialog;
Used procedure to close the dialogue box.

Public properties and Events:

Position: TWOLPoint (For Reading and Writing)
Property that indicates the position of the dialogue box.

Left: TWOLSmallInt (For Reading and Writing)
Property that specifies the left edge of the dialogue box.

Top: TWOLSmallInt (For Reading and Writing)
Property that specifies the top of the dialogue box.

FindText: string (For Reading and Writing)
Property that indicates the text entered by the user that is to be looked for.

Options: TWOLFindDlgFlags (For Reading and Writing)
Property that modifies the behavior of the search box.

OnFind: TWOLEvent (For Reading and Writing)
Event when the user changes it's options.

OnClose
OnShow

Labels: ,


Wednesday, August 22, 2007

 

TwoLprintersetupdlg

TWOLPrinterSetupDlg object

Unit: WOLGUI10.
Descendant of TWOLSysDialog. A representation of an object in WOL of configuration promptof the basic printer in the gui in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

function Execute: Boolean; override;
Function that shows configuration prompt of the printer and returns if the user closes it or it is not in operation.

Labels: ,


 

twolprintdlg

TWOLPrintDlg object
Unit: WOLGUI10.
Descendant of TWOLSysDialog. Representation, in object in WOL, of a print dialog box in the active gui.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

function Execute: Boolean; override;
It shows the print dialog box and returns if it has been closed or not.

Public properties and Events:

Collate: Boolean (For Reading and Writing)
Property that indicates the order of the pages to the printer.

You copy: TWOLSmallInt (For Reading and Writing)
Property that indicates the number of copies.

FromPage: TWOLSmallInt (For Reading and Writing)
Property that indicates the initial page to be printed.

MinPage: TWOLSmallInt (For Reading and Writing)
Property that indicates the minimum number of pages to be printed.

MaxPage: TWOLSmallInt (For Reading and Writing)
Property that indicates the maximum number of pages to be printed.

Options: TWOLPrintDlgFlags (For Reading and Writing)
Property with options that modify the behavior of print dialog box.

PrintRange: TWOLPrintDlgRange (For Reading and Writing)
Property that indicates the range of pages to be printed.

ToPage: TWOLSmallInt (For Reading and Writing)
Property that indicates the final page to be printed for the user.

PrinterIndex: TWOLInteger (Only for Reading)
Property that indicates the printer where the job is to be printed. Value based on zero.

OnClose
OnShow

Labels: ,


 

TWOLColorDlg

TWOLColorDlg object
Unit: WOLGUI10.
Descendant of TWOLSysDialog. an object in WOL, that prompts the user to change the basic colors of the gui in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;

function Execute: Boolean; override;
Function that promts the user for system colors and returns a boolean value indication if it has been closed or not.

Public properties and Events:

Params: TWOLColorDlgParam (For Reading and Writing)
promt of colors that do not have to be modified. For internal use.

CustomColors: TWOLColorDlgCustom (For Reading and Writing)
Property that loads a matrix of up to 16 colors indicating the personalized color choices of the user.

Color: TWOLColor (For Reading and Writing)
Property that indicates the color chosen by the user.

Options: TWOLColorDlgFlags (For Reading and Writing)
Property that indicates the modification options of the color dialog box.

OnClose
OnShow

Labels: ,


 

twolfontdlg

TWOLFontDlg object

Unit: WOLGUI10.
Descendant of TWOLSysDialog. A font choice dialog box.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
function Execute: Boolean; override;

Public properties and Events:

Params: TWOLFontDlgParam (For Reading and Writing)
A font choice dialog box that does not have to be modified.

Labels: ,


 

twolsavefiledlg

TWOLSaveFileDlg object (wolgui library for object pascal)

Unit: WOLGUI10.
Descendant of TWOLOpenFileDlg. A basic save file dialog in wolgui.

Public Metods and Events:

function Execute: Boolean; override;
Method that makes the save dialog box run.

Labels: ,


 

twoopenfiledlg

TWOLOpenFileDlg object
Unit: WOLGUI10.
Descendant of TWOLSysDialog. An open file dialog box.

Public Metods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
function Execute: Boolean; override;

Public properties and Events:

Files: TStrings (Only for Reading)
List of files that are on the disk.

OnFolderChange: TWOLEvent (For Reading and Writing)
Event that is trigered when the file folder changes.

OnSelectChange: TWOLEvent (For Reading and Writing)
Event that goes off when a file is selected.

OnTypeChange: TWOLEvent (For Reading and Writing)
Event that indicates the type of file has changed.

DefaultExt: string (For Reading and Writing)
Property that identifies the default extension.

FileName: string (For Reading and Writing)
Property that indicates the name of the last file.

Filter: string (For Reading and Writing)
a filter of extension of the file. Various filters always must be separated in the form description|mask

FilterIndex: TWOLSmallInt (For Reading and Writing)
Property that indicates the filter that is being used in a list of filters.

InitialDir: string (For Reading and Writing)
Property that indicates the initial folder which must be open.

Options: TWOLOFNDlgFlags (For Reading and Writing)
Flags that indicate the behavior of the dialog box.

Title: string (For Reading and Writing)
Property that indicates the text that will appear in the dialog box.

OnClose
OnShow

Labels: ,


Tuesday, August 21, 2007

 

twocombobox

TWOLComboBox object ( an object of wolgui )
Unit: WOLGUI14.
Descendant of TWOLVisualControl. A basic WOL object, A combobox of the GUI. One combobox is made of three basic objects: a box of entry (edit), a list box. and a button (button).

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndKeyboard (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure Clear;
Method used to all clear the lines of combobox.

Public properties and Events:

Items: TStrings (For Reading and Writing)
Property that represents the lines of text of combobox.

IntegralHeight: Boolean (For Reading and Writing)
Property that it indicates that listbox pertaining to combobox must have height capable of showing items without visually cutting them.

ItemHeight: Integer (For Reading and Writing)
Property that indicates the height of the items of listbox of combobox.

ItemIndex: Integer (For Reading and Writing)
Property that indicates the currently selected item.

Sorted: Boolean (For Reading and Writing)
Property that indicates if items is sorted or not.

DrawStyle: TWOLDrawSet (For Reading and Writing)
Property that determines the way as combobox is drawn and the way the text is entered.

TopIndex: Integer (For Reading and Writing)
Property that indicates the top item of listbox of combobox.

MaxLength: Integer (For Reading and Writing)
Property that indicates the maximum size of the text contained in combobox.

DroppedDown: Boolean (For Reading and Writing)
Property that indicates if listbox is visible or not.

DropDownCount: Integer (For Reading and Writing)
Property that indicates the number of items that must appear at the same time in a list in combobox.

DroppedWidth: Integer (For Reading and Writing)
Property that indicates the width of combobox listbox.

Text: String (For Reading and Writing)
Property that indicates the text of combobox edit.

OnChange: TWOLEvent (For Reading and Writing)
Event that happens when the text of combobox edit changes.

OnDropDown: TWOLEvent (For Reading and Writing)
Event that happens when the user showthe combobox listbox.

OnDropUp: TWOLEvent (For Reading and Writing)
event that happens when the user hides the combobox listbox.

OnClick
OnMouseMove
OnDblClick
TextAlign
WindowAlign
Ctrl3D
Border
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder

Labels: ,


Monday, August 20, 2007

 

twolgroupbox

TWOLGroupBox object
Unit: WOLGUI28.
Descendant of TWOLVisualControl. WOL object , A basic box to group objects in.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Caption
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

Tworadiobutton

TWOLRadioButton object
Unit: WOLGUI27.
Descendant of TWOLVisualControl. A WOL object. Represents a simple Radio Button.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndKeyboard (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure UnCheckAll;
method used to uncheck all the buttons in the group.

Public properties and Events:

Alignment: TWOLTextAlign (For Reading and Writing)
Property used to indicate if the text must aligned to the left or right of the circle.

Checked: Boolean (For Reading and Writing)
Property used to mark or unmark a button.

GroupIndex: TWOLSmallInt (For Reading and Writing)
Property used to indicate witch group a button belongs.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Caption
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

twolcheckbox

TWOLCheckBox object
Unit: WOLGUI26.
Descendant of TWOLVisualControl. One is about the representation, A WOL object , A basic check box.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Alignment: TWOLTextAlign (For Reading and Writing)
Property that indicates the alignment of the text (if the right or left of the verification box).

AllowGrayed: Boolean (For Reading and Writing)
Property that it indicates if selections are allowed to be grayed out.

Checked: Boolean (For Reading and Writing)
Property that indicates if the check box is marked or not.

State: TWOLCheckedSet (For Reading and Writing)
Property that indicates the state of the check box.
OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
TextAlign
Caption
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


 

TWOLMemo

TWOLMemo object
Unit: WOLGUI21.
A WOL object that is a basic memo entry box. Descendant of TWOLVisualControl.

Public Methods and Events:

function GetSelLength: Integer;
function that returns the length of the text currently selected.

function GetSelStart: Integer;
function that returns the beginning of the text currently selected.

function GetSelEnd: Integer;
function that returns the end from the text currently selected.

function GetSelText: String;
function that returns selected text.

procedure SetSelLength (Value: Integer);
method used to set the length of the text to be selected.

procedure SetSelStart (Value: Integer);
method used to point the beginning of the text to be selected.

procedure Clear;
method used erase all the text from the memo.

procedure ClearSelection;
Method used to erase the selected text.

procedure CopyToClipboard;
Method used to copy selected text to the clipboard

procedure CutToClipboard;
Method used to cut the selected text in the memo and place it in the clipboard.

procedure PasteFromClipboard;
Method used to get text from the clipboard and place it in the text area of the memo.

procedure SelectAll;
method used to all select the text of the memorandum.

procedure LoadFromFile (const FileName: String);
Method used to load text from a file. To save the text it uses tstrings

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndKeyboard (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

WantReturn: Boolean (For Reading and Writing)
Property that allows the use of ENTER for the carriage return,.

WantTabs: Boolean (For Reading and Writing)
Property that allows tTAB use inside the text area.

ScrollBars: TWOLScrollBarSet (For Reading and Writing)
Property that indicates the use scroll bars in the memo.

Lines: TStrings (For Reading and Writing)
Property that represents the lines of text one to one.

WordWrap: Boolean (For Reading and Writing)
Property that allows a line to go to the next line if it won't fit.

CharCase: TWOLEditCharSet (For Reading and Writing)
Property that allow the character set to be edited.

HideSelection: Boolean (For Reading and Writing)
Property that allows selected text to be hiden.

MaxLength: Integer (For Reading and Writing)
Property that indicates the maximum length of the text of the memo in characters.

OEMConvert: Boolean (For Reading and Writing)
Property that allows the conversion of the text based on the operating system. Not yet implemented.

OnClick
OnMouseMove
OnDblClick
TextAlign
WindowAlign
Border
Ctrl3D
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
Taborder

Labels: ,


 

twolpanel

TWOLPanel object
Unit: WOLGUI20.
Descendant of TWOLVisualControl. A WOL object in an area without a roller that can receive objects of the GUI
Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

FrameInner: TWOLFrameSet (For Reading and Writing)
Property that modifies the appearance of the area. It only takes effect in the MS-Windows.

FrameOuter: TWOLFrameSet (For Reading and Writing)
Property that modifies the appearance of an area. It only takes effect in MS-Windows.

OnClick
OnMouseMove
OnDblClick
OnResize
OnKeyPress
OnCtlColor
TextAlign
WindowAlign
Border
Caption
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Ctrl3D
Tabstop
Tab

Labels: ,


 

twoledit

TWOLEdit object
Unit: WOLGUI12.
Descendant of TWOLVisualControl. WOL object a basic box that allows the user to enter a line of text.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndKeyboard (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndNotify (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndText (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure Clear;
method used to clear the content of the entry text box.

procedure ClearSelection;
mwthod used to clear selected text.

procedure CopyToClipBoard;
Method used to copy text of an entry box to the clipboard.

procedure CutToClipboard;
Method used to cut the copy of a box and put it in the clipboard.

procedure PasteFromClipboard;
Method used to paste the content from the clipboard to the entry text box.


procedure SelectAll (Select: Boolean);
Method used to select all the text in an entry box.

Public properties and Events:

Options: TWOLEditSet (For Reading and Writing)
Property that modifies the behavior of the text entry box.

Text: String (For Reading and Writing)
Property used to modify and return the content of a text box is is the same as the Caption in the window object.

TextCase: TWOLEditCharSet (For Reading and Writing)
Property that indicates if the values of the entry box must be all capital, very small or as typed.

MaxLength: TWOLSmallInt (For Reading and Writing)
Property that indicates the maximum size of what the entry box must allow. It must be lesser that 255.

PasswordChar: Char (For Reading and Writing)
Property that it indicates that the entry box must receive passwords and this character is what will appear in the place of each typed letter.

AutoSelect: Boolean (For Reading and Writing)
Property that, when true, it makes the object select all the text whenever the focus is given to it.

Justify: TWOLTextAlign (For Reading and Writing)
Property that indicates the type of justification that the text must have.

AutoSize: Boolean (For Reading and Writing)
Property that it indicates that, when the source and the size to move, the height will be adjusted to the new values.

OnChange: TWOLEvent (For Reading and Writing)
OnClick
OnMouseMove
OnDblClick
OnKeyPress
TextAlign
WindowAlign
Border
Left
Top
Width
Height
Color
Font
Cursor
Ctrl3D
Visible
Enabled
Hint
Tabstop
TabOrder

Labels: ,


 

twolscrollbar

TWOLScrollBar object
Unit: WOLGUI23.
Descendant of TWOLVisualControl. A WOL object, A basic scroll bar.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Kind: TWOLScrollBarSet (For Reading and Writing)
property that indicates the type of bar based and it's orientation (vertical or horizontal).

LargeChange: TWOLSmallInt (For Reading and Writing)
Property that indicates the value of movement of the maximum bar. This value is the change when the bar starts to roll and where it terminates.

Max: TWOLSmallInt (For Reading and Writing)
Property that indicates the maximum value that the bar can represent.

Min: TWOLSmallInt (For Reading and Writing)
Property that indicates the minimum value that the bar can represent.

Page: TWOLSmallInt (For Reading and Writing)
Property that indicates the value of the length of the position pointer in pixels.

Position: TWOLSmallInt (For Reading and Writing)
Property that indicates the value of the position of the pointer. This value must be between the Max and the Min.

SmallChange: TWOLSmallInt (For Reading and Writing)
Property that indicates the value of minimum displacement of the bar. This value is the amount the bar rolls between the arrows.

BarAlign: TWOLWinAlign (For Reading and Writing)
Property that indicates the alignment of the roller bar in relation to its container window.

Visible: Boolean (For Reading and Writing)
OnBeforeScroll: TWOLScrollEvent (For Reading and Writing)
Event that occurs before being effected bar roller.

OnAfterScroll: TWOLScrollEvent (For Reading and Writing)
Event that occurs after being effected the roller bar.

OnChange: TWOLEvent (For Reading and Writing)
Event that occurs when a movement in the bar is made by the user.

OnClick
OnMouseMove
OnDblClick
Border
WindowAlign
Left
Top
Width
Height
Color
Font
Cursor
Enabled
Hint
Tabstop
TabOrder
Ctrl3D

Labels: ,


This page is powered by Blogger. Isn't yours?