HScrollBar and VScrollBar – PB Docs 2022
HScrollBar and VScrollBar You can place freestanding scroll bar controls within a window. Typically, you use these controls to do one of the following: Act as a slider control with which users can specify a continuous value Graphically display information to the user You can set the position of the scroll box by specifying the…
AnimationTime – PB Docs 2022
AnimationTime property for PowerScript controls Applies to Window controls Description Specifies the time in milliseconds that an opening or closing animation effect associated with a window takes to complete. Usage Use the AnimationTime property to control the number of milliseconds an opening or closing animation takes to execute. The value must be a positive integer…
When execution stops – PB Docs 2022
When execution stops Contents Whether rows are committed Execution of a pipeline can stop for any of these reasons: You click the Cancel button During the execution of a pipeline, the Execute button in the PainterBar changes to a Cancel button. The error limit is reached If there are rows that cannot be piped to…
ASin – PB Docs 2022
ASin PowerScript function Description Calculates the arcsine of an angle. Syntax
1 |
ASin ( n ) |
Argument Description n The ratio of the lengths of two sides of a triangle for which you want a corresponding angle (in radians). The ratio must be a value between -1 and 1. Return value Double. Returns the arcsine of n. Examples This…
How PowerBuilder searches for objects – PB Docs 2022
How PowerBuilder searches for objects Contents Which objects are copied to the executable file Which objects are not copied to the executable file Which objects are not copied to the dynamic libraries How to include the objects that were not found When searching through the target, PowerBuilder does not find all the objects that are…
AsymmetricGenerateKey – PB Docs 2022
AsymmetricGenerateKey PowerScript function Description Generates a secret key for asymmetric algorithm. Applies to CrypterObject objects Syntax
1 |
crypter.AsymmetricGenerateKey ( algorithm, len, privKey, pubKey) |
Argument Description crypter The name of the CrypterObject object algorithm A value of the AsymmetricAlgorithm enumerated type that specifies the type of asymmetric algorithm. Values are: RSA! – The Rivest-Shamir-Adleman cryptopsystem DSA! – The Digital Signature Algorithm. It…
Working in a grid DataWindow object – PB Docs 2022
Working in a grid DataWindow object If you are viewing a grid-style DataWindow object in the Preview view, you can make the following changes. Whatever you do in the Preview view is reflected in the Design view: Resize columns Reorder columns Split the display into two horizontal scrolling regions You can use this feature to…
AllowModify – PB Docs 2022
AllowModify property for PowerScript controls Applies to PDFSecurity object Description Whether modifying the file is allowed. The default is no. Usage To allow the permission of modifying a file, both the AllowForm and AllowAssemble properties should be set to true. In scripts This example sets AllowModify for the PDFSecurity object lpdf_security:
1 2 3 4 5 6 7 |
PDFDocument lpdf_doc PDFSecurity lpdf_security lpdf_doc = Create PDFDocument lpdf_security = lpdf_doc.security lpdf_security.allowmodify = true |
Document get from…
Tracing import – PB Docs 2022
Tracing import When you import data from XML with or without a template, you can create a trace log to verify that the import process worked correctly. The trace log shows whether a template was used and if so which template, and it shows which elements and rows were imported. To create a trace log,…
About the sample applications – PB Docs 2022
About the sample applications PowerBuilder provides sample applications with source code so you can learn and reuse the techniques used in the samples. These samples are contributed by Appeon employees and users and are updated frequently. They include standalone applications that illustrate specific features of PowerBuilder, including features such as writing visual and nonvisual extensions…