how to use the com controls in PowerBuilder ? If it is used in an application.. how can i identify it?
how to use the com controls in PowerBuilder ? If it is used in an application.. how can i identify it?
how to use the com controls in PowerBuilder ? If it is used in an application.. how can i identify it?
To start with, it d probably be good to point you towards the manuals, available online and on the product disks, as you don t mention the version of PowerBuilder you re using, and you don t mention the type of COM object you re concerned about, so this answer may be hit and miss. I m going to assume you re referring to a visual COM control.
Placing it on a window or user object is pretty easy, with the menu item Insert / Control / OLE..., then select the desired OLE control from the dialog. There s also an option in the drop down toolbar item that lists all the controls. Once it s on the window or user object, you can script events on it just like any other control.
To determine if a given control on a window or user object is a COM visual control, if you select it, the title on the Properties pane will say something like "ole_1 inherited from olecustomcontrol". If you re looking at the Edit Source view of the object, search for "from olecustomcontrol". You can similarly do a search across your application for that string to find out where COM controls are used (at least at the first level of inheritance; determining every place will be more complex, looking for descendants of objects that use COM as well).
Good luck,
Terry.
how to use the com controls in PowerBuilder ? If it is used in an application.. how can i identify it?
Where can I find documentation for the actual PowerBuilder language. I am referring to the kind of code you get when you select "Edit Source" from a right-click menu on the library painter. Not the ...
Dynamically how to count the datawindow computed fields and DDDW Fields? is there any functions in PowerBuilder? otherwise we need to take DW Syntax? then parsing...
All, I am trying to access a .NET dll registered as a COM Object with PowerBuilder 10. I keep running into problems where .NET objects return lists. I have built out a very simple class for a proof ...
在PB6.5.1和PB9.0中:
Unfortunately searching for Sybase Post doesn t get me the answers I m looking for. I want to know what the actual function is of POST As in .. procedure lala POST procedure1() procedure2() I m ...
In my (PowerBuilder) application, I d like to be able to determine the graphicobject object which corresponds to a given window handle. Simply iterating over the Control[] array and comparing the ...
Please clue this newb in. I ve got a menu with it s object type set to menu cascade. I can reference the items in the menu just fine and I can even st the items to enabled or visible. But what I can ...