Optimizing expressions for DataWindow and external objects – PB Docs 110
Optimizing expressions for DataWindow and external objects No compiler validation for container objects When you use dot notation to refer to a DataWindow object in a DataWindow control or DataStore, the compiler does not check the validity of the expression:
|
1 |
dw_data.Object.column.<i>property</i> |
Everything you specify after the Object property passes the compiler and is checked during…
NewPage (Report controls) – PB Docs 125
NewPage (Report controls) DataWindow object property Description Whether a nested report starts on a new page. NewPage applies only to reports in a composite DataWindow. Note that if the Trail_Footer property of the preceding report is set to No, the current report will be forced to begin on a new page regardless of the NewPage…
FindClassDefinition – PB Docs 126
FindClassDefinition PowerScript function Description Searches for an object in one or more PowerBuilder libraries (PBLs) and provides information about its class definition. Syntax
|
1 |
<span>FindClassDefinition</span> ( <span>classname</span> {, <span>librarylist</span> } ) |
Argument Description classname The name of an object (also called a class or class definition) for which you want information. librarylist (optional) An array of strings whose values are the fully…
Getting Information About PowerBuilder Class Definitions – PB Docs 126
Getting Information About PowerBuilder Class Definitions About this chapter This chapter explains what class definition information is and how it is used, and presents some sample code. Developers of tools and object frameworks can use class definition information for tasks such as producing reports or defining objects with similar characteristics. You do not need to…
Export.PDF.Distill.CustomPostScript – PB Docs 150
Export.PDF.Distill.CustomPostScript DataWindow object property Description Setting that enables you to specify the PostScript printer driver settings used when data is exported to PDF using the Distill! method. Controls DataWindow objects Syntax PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.Export.PDF.Distill.CustomPostScript |
Describe and Modify argument:
|
1 |
"DataWindow.Export.PDF.Distill.CustomPostScript { = '<span>value </span>' }" |
Parameter Description value (exp) Whether the printer specified in the DataWindow.Printer property is used when…
OLE controls and insertable objects – PB Docs 110
OLE controls and insertable objects The OLE control contains an insertable OLE object. You can change the object in the control in the painter or in a script. You specify what is allowed in the control by setting PowerBuilder properties. Setting up the OLE control When you create an OLE control and insert an object,…
Resizeable – PB Docs 125
Resizeable DataWindow object property Description Whether the user can resize the specified control. Controls Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls Syntax PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Resizeable |
Describe and Modify argument:
|
1 |
"<span>controlname</span>.Resizeable { = <span>value </span>}" |
Parameter Description controlname The control within the DataWindow whose Resizeable setting you want to…
FileEncoding – PB Docs 126
FileEncoding PowerScript function Description Checks the encoding of the specified file. Syntax
|
1 |
<span>FileEncoding</span> ( <span>filename </span>) |
Argument Description filename The name of the file you want to test for encoding type Return Values A value of the enumerated datatype Encoding. Values are: EncodingANSI! EncodingUTF8! EncodingUTF16LE! EncodingUTF16BE! If filename does not exist, returns null. Usage Use this function to…
Creating the extended attribute system tables – PB Docs 126
Creating the extended attribute system tables When you create or modify a table in PowerBuilder, the information you provide is stored in five system tables in your database. These system tables contain extended attribute information such as the text to use for labels and column headings, validation rules, display formats, and edit styles. (These system…
Four examples – PB Docs 150
Four examples The following topics provide examples that illustrate using DataWindow expression functions. Document get from Powerbuilder help Thank you for watching.