Print Page | Close Window

Execute parameter in PB

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11462
Printed Date: 11 November 2024 at 3:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Execute parameter in PB
Posted By: WaleedSeada
Subject: Execute parameter in PB
Date 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



Replies:
Posted By: WaleedSeada
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net