About Web Forms properties – PB Docs 115
About Web Forms properties In addition to PowerScript properties that are converted to .NET properties and JavaScript attributes, a .NET Web Forms application has global properties that you can set at design time on the Configuration tab of the Project painter or after deployment in the generated Web.Config file for your application. Several built-in control…
Unsupported functions for controls in Windows Forms – PB Docs 115
Unsupported functions for controls in Windows Forms Table 11-6 is an alphabetical listing of unsupported functions, the controls on which they are not supported, and any notes that apply to specific controls. If your application uses these functions, rework it to avoid their use. Table 11-6: Unsupported functions for Windows Forms deployment Function Controls AddItem…
Chapter 12 .NET Assembly Targets – PB Docs 115
Chapter 12 .NET Assembly Targets About this chapter PowerBuilder includes targets for creating .NET assemblies from nonvisual custom class objects. This chapter describes how to create .NET Assembly targets “from scratch” and from objects in existing PowerBuilder libraries. Contents Topic The .NET Assembly target wizard Modifying a .NET Assembly project Supported datatypes Deploying and running…
Sharing data across sessions – PB Docs 115
Sharing data across sessions Sharing DataWindow objects You can share the data from primary, delete, and filter buffers of read-only DataWindow objects across Web Forms application sessions. The Web.config file global property PBCachedAndSharedDWs is available for this purpose. You must set its value to the string of comma-delimited names of the DataWindow objects you want…
SMTPPermission – PB Docs 115
SMTPPermission Table A-13 shows the required SMTPPermission setting for the MailLogon MailSession object function in .NET targets. Table A-13: SMTPPermission required in .NET targets MailSession object function Permission required MailLogon Connect (if using default port) or ConnectToUnrestrictedPort Example 1 The following permission setting allows a Windows Forms application to log onto a mail session and…
About conditional compilation – PB Docs 115
About conditional compilation You can use the number sign (#) at the start of a line or block of code in PowerBuilder to mark the code for specialized processing prior to PowerScript compilation. Each line of code or block of conditional code set off by a leading number sign is automatically parsed by a PowerBuilder…
Chapter 4 User Management and Registry Operations in Web Forms – PB Docs 115
Chapter 4 User Management and Registry Operations in Web Forms About this chapter This chapter describes how to create permanent user accounts for Web Forms applications and the use of registry functions in these applications. Contents Topic Creating permanent user accounts Managing permanent user accounts Using the registry functions Document get from Powerbuilder help Thank…
Using DataWindow information to populate a TreeView – PB Docs 115
Using DataWindow information to populate a TreeView A useful implementation of the TreeView control is to populate it with information that you retrieve from a DataWindow. To do this your application must: Declare and instantiate a DataStore and assign a DataWindow object Retrieve information as needed Use the retrieved information to populate the TreeView Destroy…
How the synchronization works – PB Docs 115
How the synchronization works How MLSync events are implemented The MLSync object in a PowerBuilder application and the dbmlsync process communicate with each other by sending messages between two windows, as shown in Figure 13-2. The window that the MLSync object creates uses an internal function, MlSyncControlWindowProc, to process these messages. The Synchronize function adds…
Chapter 16 Implementing Rich Text – PB Docs 115
Chapter 16 Implementing Rich Text About this chapter This chapter explains how to use rich text in an application, either in a RichText DataWindow object or in a RichTextEdit control. Contents Topic Using rich text in an application Using a RichText DataWindow object Using a RichTextEdit control Rich text and the end user Before you…