PrintPage – PB Docs 2017
PrintPage event (DataWindows) Description Occurs before each page of the DataWindow or DataStore is formatted for printing. PowerBuilder event information Event ID: pbm_dwnprintpage Argument Description pagenumber Long by value. The number of the page about to be printed. copy Long by value. The number of the copy being printed. Return Values Set the return code…
Expanding – PB Docs 2017
Expanding event (DataWindows) Description Occurs before a node in a TreeView DataWindow expands. PowerBuilder event information Event ID: pbm_dwnexpanding Argument Description row Long by value. The number of the first row in the group to be expanded. grouplevel Long by value. The TreeView level of the group to be expanded. Return Values Set the return…
ItemError – PB Docs 2017
ItemError event (DataWindows) Description Occurs when a field has been modified, the field loses focus (for example, the user presses Enter, Tab, or an arrow key or clicks the mouse on another field in the DataWindow), and the data in the field does not pass the validation rules for its column. ItemError can also occur…
ScrollHorizontal – PB Docs 2017
ScrollHorizontal event (DataWindows) Description Occurs when user scrolls left or right in the DataWindow with the tab or arrow keys or the scroll bar. PowerBuilder event information Event ID: pbm_dwnhscroll Argument Description scrollpos Long by value. The distance in PowerBuilder units of the scroll box from the left end of the scroll bar (if the DataWindow…
ClassName – PB Docs 2017
ClassName method (DataWindows) Description Provides the class (or name) of the specified object. Applies to DataWindow type Method applies to PowerBuilder DataWindow control Syntax PowerBuilder
|
1 |
string dwcontrol.ClassName ( ) |
Argument Description dwcontrol A reference to a DataWindow control Return value Returns the class of dwcontrol, the name assigned to the control. Returns the empty string (“”) if an…
Number – PB Docs 2017
Number DataWindow expression function Description Converts a string to a number. Syntax
|
1 |
Number ( string ) |
Argument Description string The string you want returned as a number Return value A numeric datatype. Returns the contents of string as a number. If string is not a valid number, Number returns 0. Examples This expression converts the string 24 to a number:…
Welcome – PB Docs 2017
Welcome This help describes how to deploy non-visual objects, like .NET assemblies, and .NET Web services, from PowerBuilder to a .NET environment. Document get from Powerbuilder help Thank you for watching.
Configuring ASP.NET for a .NET Web Service Project – PB Docs 2017
Configuring ASP.NET for a .NET Web Service Project Configure .NET Web Service projects. IIS and ASP.NET ASP.NET configuration includes making sure the Web server has a compatible version of IIS and that the 4.x version of ASP.NET is selected for your Web service components. For information on installing IIS and setting the default version of…
HasChildren – PB Docs 2017
HasChildren Description Determines whether this PBDOM_ATTRIBUTE object contains any child PBDOM_OBJECTs. Syntax
|
1 |
pbdom_attribute_name.HasChildren() |
Argument Description pbdom_attribute_name The name of the PBDOM_ATTRIBUTE Return value Boolean. Returns true if this PBDOM_ATTRIBUTE contains child objects and false otherwise. Throws EXCEPTION_PBDOM_OBJECT_INVALID_FOR_USE  — This PBDOM_OBJECT object is not associated with a derived PBDOM_OBJECT class object. Examples This example creates a PBDOM_DOCUMENT…
GetJavaClasspath – PB Docs 2017
GetJavaClasspath Description Gets the classpath of the current Java VM. Syntax
|
1 |
javavm.getJavaClasspath( ) |
Return value String Examples This example shows how to use GetJavaClasspath to get the classpath when the JVM is started and write it to a log file:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
// instance variables: // JavaVM i_jvm // boolean i_jvm_started = false // string is_classes //Start JavaVM and Prepare to Connect to EJB server string classpath Integer li_ret //create JAVAVM if ib_jvm_started = false then i_jvm = create javavm classpath = is_classes li_ret = i_jvm.createJavaVM(classpath, true) if li_ret = -1 then MessageBox("Error", "Failed to load JavaVM") end if if li_ret = -2 then MessageBox("Error", "Failed to load EJBLocator") end if ib_jvm_started = true integer li_FileNum string ls_classpath, ls_string li_FileNum = FileOpen("C: empclasspath.log", & LineMode!, Write!, LockWrite!, Append!) ls_classpath = i_jvm.getjavaclasspath() ls_string = String(Today()) + " " + String(Now()) ls_string += ": ~r~n" + ls_classpath + "~r~n" FileWrite(li_FileNum, ls_string) FileClose(li_filenum) end if |
See also CreateJavaVM GetJavaVMVersion IsJavaVMLoaded Document get from Powerbuilder help Thank you for watching.