TriggerEvent – PB Docs 2021
TriggerEvent PowerScript function Description Triggers an event associated with the specified object, which executes the script for that event immediately. Applies to Any object Syntax
1 |
objectname.TriggerEvent ( event {, word, long } ) |
Argument Description objectname The name of any PowerBuilder object or control that has events associated with it. event A value of the TrigEvent enumerated datatype that identifies a PowerBuilder…
TraceFile object – PB Docs 2021
TraceFile object The TraceFile object is used to access the contents of a trace file created from a PowerBuilder application. Unlike the Profiling and TraceTree objects, the TraceFile object does not provide properties and functions to create an analysis model. You use the TraceFile object in conjunction with the TraceActivityNode, TraceBeginEnd, TraceError, TraceESQL, TraceGarbageCollect, TraceLine,…
TraceTreeUser object – PB Docs 2021
TraceTreeUser object The TraceTreeUser object provides information about a tree model node identified as an occurrence of an activity you selected for logging, including the activity argument and message. To access the extra properties of the TraceTreeUser object, you assign a TraceTreeNode object whose activity type is ActUser! to the TraceTreeUser object. The TraceTreeUser object…
Using options for nested reports – PB Docs 2021
Using options for nested reports Using the Autosize Height option Autosize Height should be on for all nested reports except graphs. This option ensures that the height of the nested report can change to accommodate the rows that are returned. This option is on by default for all nested reports except graphs. Usually there is…
TrailingTextColor – PB Docs 2021
TrailingTextColor property for PowerScript controls Applies to MonthCalendar controls Description The TrailingTextColor property specifies the color used for text for leading and trailing days in the calendar. Usage This property does not work on the Windows 8.1/10 operating system. In a painter Select the desired color from the TrailingTextColor drop-down list on the General tab…
Working with Controls – PB Docs 2021
Working with Controls Contents About controls Inserting controls in a window Selecting controls Defining a control’s properties Naming controls Changing text Moving and resizing controls Copying controls Defining the tab order Defining accelerator keys Specifying accessibility of controls Choosing colors Using the 3D look Using the individual controls About this chapter Users run your application…
TabOrder – PB Docs 2021
TabOrder property for PowerScript controls Applies to Visible controls (except for RibbonBar and WebBrowser) within a window. Description TabOrder specifies the order in which the control receives focus when the user tabs among controls within a window. Setting the TabOrder for a control to 0 means that the control cannot be tabbed to. Usage In…
Synchronization techniques – PB Docs 2021
Synchronization techniques This section highlights some issues that you need to consider when designing an application that uses MobiLink synchronization. Limiting data downloads One of the major goals of synchronization is to increase the speed and efficiency of data movement by restricting the amount of data moved. To limit the data transferred by the download_cursor…
TimeFormat – PB Docs 2021
TimeFormat database parameter Description When you update data in the DataWindow painter, PowerBuilder builds a SQL UPDATE statement in the background. The Time parameter determines how PowerBuilder specifies a time datatype when it builds the SQL UPDATE statement. Applies to ADO.NET OLE DB SNC SQL Native Client for Microsoft SQL Server MSOLEDBSQL Microsoft OLE DB…
TotalSelected – PB Docs 2021
TotalSelected PowerScript function Description Determines the number of items in a ListBox control that are selected. Applies to ListBox, PictureListBox, and ListView controls Syntax
1 |
listcontrolname.TotalSelected ( ) |
Argument Description listcontrolname The name of the ListBox, PictureListBox, or ListView in which you want the number of items that are selected Return value Integer. Returns the number of items…