User Objects - Hyderabad Colleges
Download
Report
Transcript User Objects - Hyderabad Colleges
User Objects
Visual User Objects
Class User Objects (Non-visual User Objects)
PowerBuilder Online Courses - by Prasad Bodepudi
User Objects
Visual User Objects
Standard
Custom
External
VBX
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
Standard Visual User Objects
Includes all window controls.
All events that are available at the standard
window control are available in this user
object.
Can be placed in another custom visual
user object or on a window.
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
Custom Visual User Objects
Any window control including standard/ custom/
external visual uo can be placed on this type of
user object.
Can be placed in another custom visual user
object or on a window.
Has only constructor, destructor, drag-n-drop
events along with rMouseButton and other
events.
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
External Visual User Objects
Allows you to use third-party controls in
PowerBuilder.
All events that are available for custom
visual user objects are available are
available.
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
VBX Visual User Objects
Allows you to use VBX (Visual Basic)
controls in PowerBuilder.
VBX controls are supported only till v4.0.
From v5.0, you can’t create a new VBX
user object, however, you can migrate v4.0
applications that are using VBX user
objects.
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
Visual User Objects
Class User Objects (Non-visual User Objects)
PowerBuilder Online Courses - by Prasad Bodepudi
User Objects
Class User Objects (Non-visual uo)
Standard
Custom
C++
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
Standard Class User Objects
Allows you to create user objects that are
inherited from standard classes such as
Error, Transaction, etc...
Useful you to extend the functionality of
standard classes.
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
Custom Class User Objects
Allows you to create user objects and put
business logic.
You can auto-instantiate these user
objects.
Does not have any events other than
constructor and destructor.
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
C++ Class User Objects
Allows you to write the business logic in C++ and
use those classes in PowerBuilder.
Good when the business logic includes a lot of
arithmetical calculations and iterations.
The speed benefits are narrowed once
PowerBuilder started creating machine code
executables from v5.0.
PowerBuilder Online Courses
Http://www.applied-software.com
© Prasad Bodepudi. All rights reserved.
User Objects
Visual User Objects
Class User Objects (Non-visual User Objects)
Questions/Comments? Drop an e-mail at [email protected]
The End
PowerBuilder Online Courses - by Prasad Bodepudi