ASP.NET Configuration for a .NET Project – PB Docs 125
ASP.NET Configuration for a .NET Project You can configure ASP.NET for a smart client project before or after you deploy the project to an IIS 5.0 or later server. All files and directories that you access from a smart client application on a Web server must have appropriate ASPNET (IIS 5.0), IIS_WPG (IIS 6.0), or…
SetAssemblyReference – PB Docs 125
SetAssemblyReference Changes PB assembly files to the reference list of the current application at runtime. SetAssemblyReference differs from AddAssemblyReference in that all PB assemblies in the reference list are replaced after invoking the function. Syntax Int SetAssemblyReference(string assemblyFullPath) Argument Description assemblyFullPath String. A semicolon-separated list of file names. Specify the full file name with its…
Working with Dynamically Loaded Assemblies – PB Docs 125
Working with Dynamically Loaded Assemblies Examples of working with dynamically loaded assemblies. Open a Window The window �w_test� is defined in a referenced assembly.
|
1 2 |
window w Open(w, "w_test") |
Open an Object The user object �u_cvuo� is defined in a referenced assembly.
|
1 2 |
UserObject u w_window.OpenUserObject(u, �u_cvuo�) |
Create a Menu The menu �m_test� is defined in a referenced assembly.
|
1 2 3 |
Menu m m = create using �m_test� w_window.MenuID = m |
Parent topic: Dynamically…
ResultSet object – PB Docs 125
ResultSet object The ResultSet object provides the ability to use EAServer result sets or ActiveX Data Object (ADO) record sets to return a result set to a client. Use ResultSet objects with the CreateFrom and GenerateResultSet DataStore functions. Properties ResultSet property Datatype Description ClassDefinition PowerObject An object of type PowerObject containing information about the class…
ScriptDefinition object – PB Docs 125
ScriptDefinition object Information about a script associated with a class definition. ScriptDefinition is used in the ClassDefinition object. You cannot instantiate a ScriptDefinition object for a particular script independently of a ClassDefinition object. Instead you access the ScriptDefinition instances that are elements of the ScriptList array of a ClassDefinition instance. The ScriptDefinition object has information…
Message object – PB Docs 125
Message object The Message object is used to process events that are not defined by PowerBuilder, to communicate parameters between windows when you open and close them, and to specify whether optional parameters are used in TriggerEvent or PostEvent. You can also customize your own version of the Message object by defining a class user…
mailFileDescription object – PB Docs 125
mailFileDescription object The mailFileDescription object is a system structure containing information about an attachment file to a mail message. A mailFileDescription object has no events. Properties mailFileDescription property Datatype Description ClassDefinition PowerObject An object of type PowerObject containing information about the class definition of the object or control. FileType mailFileType (enumerated) Specifies the type of…
Scrolling – PB Docs 125
Scrolling property for PowerScript controls Controls ListView controls Description When Scrolling is enabled, the user can scroll vertically when some of the items in a ListView control are not visible. When Scrolling is not enabled, the user cannot scroll. Usage In a painter To enable scrolling: Select the Scrolling check box on the General page…
ShowHeader – PB Docs 125
ShowHeader property for PowerScript controls Controls ListView controls Description When the ShowHeader property is enabled, column titles appear in the report view of a ListView control. When ShowHeader is not enabled, column titles do not appear in the report view. To enable report view in a ListView control, you must write a script that establishes…
PicturesAsFrame – PB Docs 125
PicturesAsFrame property for PowerScript controls Controls RichTextEdit controls Description When PicturesAsFrame is enabled, any bitmaps used in the control appear as empty frames. If this property is not enabled, graphics appear normally. PicturesAsFrame can also be enabled by the user at runtime from the properties item on the pop-up menu. Usage In a painter To…