Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Execute parameter in PB
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Execute parameter in PB

 Post Reply Post Reply
Author
Message
WaleedSeada View Drop Down
Groupie
Groupie
Avatar

Joined: 29 March 2007
Location: Egypt
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaleedSeada Quote  Post ReplyReply Direct Link To This Post Topic: Execute parameter in PB
    Posted: 16 July 2008 at 6:05am
Dear all,
 
I am using Commandbar in Power builder so far so good.
 
I have to implement the execute event, I found PB naming it ocx_execute but it is working when you click on any button.
 
I want to examin the parameter in the execute event (XtremeCommandBars.ICommandBarControl) to check the ID for the clicked item, but wiith no success.... a GPF always popup when I check the control.id ....
 
Does anyone have experiance this before and can help me go forward ...
Best regards
Waleed
:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada
Back to Top
WaleedSeada View Drop Down
Groupie
Groupie
Avatar

Joined: 29 March 2007
Location: Egypt
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaleedSeada Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2008 at 3:21am

Thanks guys I manage to do it ...

Just cast the Control.ID to integer or string before use

 

Regards

 

:Powerbuilder 10.5
:Codejock suite 11.2.2
=========================
Waleed Seada
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.