Using DDE in an Application – PB Docs 150
Using DDE in an Application About this chapter This chapter describes how PowerBuilder supports DDE. Contents Topic About DDE DDE functions and events Document get from Powerbuilder help Thank you for watching.
Using database data – PB Docs 150
Using database data You can make a connection between a RichTextEdit control and a DataWindow control or DataStore object. When an input field in the RichTextEdit control has the same name as a column or computed column in the DataWindow object, it displays the associated data. Whether or not the RichTextEdit control has a data…
Runtime requirements for synchronization on remote machines – PB Docs 150
Runtime requirements for synchronization on remote machines Support files required on remote machine If you do not install PowerBuilder or SQL Anywhere on remote machines, you must copy the files listed in Table 13-1 to use MobiLink synchronization with a PowerBuilder application. These files must be copied to the system path on the remote machine…
Dot notation – PB Docs 150
Dot notation Dot notation lets you qualify the item you are referring to—instance variable, property, event, or function—with the object that owns it. Dot notation is for objects. You do not use dot notation for global variables and functions, because they are independent of any object. You do not use dot notation for shared variables…
Starting the pipeline – PB Docs 150
Starting the pipeline With the setup chores taken care of, you can now start the execution of your pipeline. To start pipeline execution: Code the Start function in an appropriate script. In this function, you specify: The Transaction object for the source database The Transaction object for the destination database The DataWindow control in which…
Giving the user control – PB Docs 150
Giving the user control In the Window or User Object painter, on the Document page of the RichTextEdit control’s property sheet, you can enable or disable the features in Table 16-1. Table 16-1: RichTextEdit control features Features Details Editing bars A toolbar for text formatting, a ruler bar, and a status bar. Pop-up menu Provides…
Controlling access for instance variables – PB Docs 150
Controlling access for instance variables Instance variables have access settings that provide control over how other objects’ scripts access them. You can specify that a variable is: Public Accessible to any other object Protected Accessible only in scripts for the object and its descendants Private Accessible in scripts for the object only For example:
|
1 |
public integer ii_currentvalue<br>CONSTANT public integer WARPFACTOR = 1.2<br>protected string is_starship<br> <br>// Private values used in internal calculations<br>private integer ii_maxrpm<br>private integer ii_minrpm |
…
Canceling pipeline execution – PB Docs 150
Canceling pipeline execution In many cases you will want to provide users (or the application itself) with the ability to stop execution of a pipeline while it is in progress. For instance, you may want to give users a way out if they start the pipeline by mistake or if execution is taking longer than…
Preparing consolidated databases – PB Docs 150
Preparing consolidated databases Whether you are designing a new database or preparing an existing one to be used as a MobiLink consolidated database, you must install the MobiLink system tables in that database. SQL Anywhere provides setup scripts for Sybase Adaptive Server Enterprise, Oracle, Microsoft SQL Server, and IBM DB2. A setup script is not…
Manipulating Graphs – PB Docs 150
Manipulating Graphs About this chapter This chapter describes how to write code that allows you to access and change a graph in your application at runtime. Contents Topic Using graphs Populating a graph with data Modifying graph properties Accessing data properties Using point and click Document get from Powerbuilder help Thank you for watching.