In the previous article, I shown you how to create an object programmatically in Powerbuilder with static object. Now, I'm trying to explain, how if we want to add scripts associated inside the object.
For the first step, you need to create a Window and save it as "w_clickanddrag"
Unlike the static, if you want to add scripts inside the object, you need to create and utilize the user object.
So, create a new Picture user object, with Standard Visual type. Saved and named it as "uo_picture".
Wednesday, May 25, 2011
Thursday, April 28, 2011
Create Object Programmatically with Powerbuilder - Part 1
In Powerbuilder, we can create an object programmatically, means that you can create whenever you need or conditionally.
In this first part, I trying to explain how to create "static" picture object when user clicking the button. Static mean that we only create the object, without script associated inside the object. The function that will be used it's called: openuserobject
In this first part, I trying to explain how to create "static" picture object when user clicking the button. Static mean that we only create the object, without script associated inside the object. The function that will be used it's called: openuserobject
Wednesday, April 27, 2011
Click and Drag with Powerbuilder
This article will show you how to make an object to be click and drag capable in Powerbuilder. In this case, I'm using Powerbuilder 9.0 and Picture Object. In this version, I found DragAuto property in the list of the picture property, one that I can't found in version 6.5. I'm not sure, since when Sybase added this property.
Subscribe to:
Posts (Atom)