Wednesday, May 25, 2011

Part 2 - Create Object Programmatically with Powerbuilder

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".