Tuesday, March 03, 2009 by rain
15 .Object of 4 link and carriage object
In PB,To realize the communication of NVO and acting object,Introduced two kinds of new targets,Link object (Connect Object) ,Carriage object (Transport Object) .
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
15 .2 blame can look a boy or girl friend
The distributed computation of PowerBuilder is spread out around NVO.NVO dispute can look a boy or girl friend (Non-Visual Object) abbreviate,A kind of it is user object special kind.In the following paragraphic in how do we establish study target of a NVO.NVO has existed in the third version of PB,In PB version four, five and six in get be perfectinged further.Say briefly,The special processing object that NVO does not have visible object namely.Nonexistent in NVO be similar to casing of data window, pushbutton, list to wait can look a boy or girl friend,But it is had from already data,And the function that handles these data and incident.The interface that these data, function and incident can be thought to define NVO,We have communication with NVO through interface,The public data that also can visit it directly.
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
2.2 establishs applied target
The foundation that using a target is PowerBuilder application process,Through the global information that it can set concerned application program,The name that uses a program for example,The icon that the program uses,The font of the text in the program,All sorts of information such as the object warehouse that uses program seat.This kind of information that how applied program sets detailed introduction after be in.It is application a very important bit when should remember the entrance when to seeming PowerBuilder application the program is carried out is nodded.We begin to establish a new applied target below.
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
2.1.5 adds a record to the middle of the watch
Through the operation above we founded the MYTELEBOOK of a piece of watch in database TELEBOOK and database successfully,The major attribute of the field that and was defined expresses and the patulous attribute of a few fields.At that time the air that the watch just still had a structure is expressed,The business that should do next is a few data are joined in the watch that just founded toward this,Record namely,The target that uses program operation later is the data in the watch commonly.
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
2.1.3 define table key word
To a watch,General total need defines key word,Key word is in the value of the field to be recorded to what differ in the watch is not identical certainly,The important step that key word is the integrality that maintains a database and validity.
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
2.6 establishs applied program
So far,The target that uses in this program has been defined,But the program still cannot move,Because we are returned,did not write code for the program,This kind of code is called in PowerBuilder script,PowerBuilder is one kind is based on object-oriented incident drive mechanism to develop a tool,So script also is to be aimed at the incident of the object to write,Write script to use a program next.
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
2.4 establishs data window target
Before establishing target of the second window,We need to establish target of two data window first.The one big characteristic that data window object is PowerBuilder,It operated the data in the database to provide a kind of intuitionistic and significant measure for us,Use it to be able to bind conveniently database,The data in showing a database with the way that he likes and modification database.Begin to establish target of window of the first data below.
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
The patulous attribute that 2.1.4 defines a field
Next we come according to need the certain and patulous attribute of a few fields in define table MYTELEBOOK.Definition NUMBER field expands the process of attribute is as follows:
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
2.1.1 founds new database
The procedure that establishs a new database is as follows:
The DATABASE palette pushbutton that 1) clicks a toolbar to go up,Use it to found new database,The dialog box that gives a caption to be SELECT TABLES is shot on the screen after clicking (graph 2-2) ,Let us choose to express,These watches are a system the watch in database of current place connective,Because of us now is to should found new database,The CANCEL pushbutton that clicks a dialog box so shuts this dialog box,Catching what show on screen is a complete database palette window,What the caption of the window shows is a system the name of database of current place connective.
...
Posted in PowerBuilder | Tags:
Tuesday, March 03, 2009 by rain
Introduction of PowerBuilder of the second chapter
2.1 founds a database
The operand of database application process is the data in the database,The end that uses a program offers a good interface to the user namely,Make the user can go to the lavatory the data in effectively service data library,The foundation that visible database is applied process work,So we are founded with respect to what understand a database first.
...
Posted in PowerBuilder | Tags: