Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGUI GadgetClicked() Help Needed

Author
Message
Sunflash
19
Years of Service
User Offline
Joined: 28th Jun 2005
Location: Seattle, Wa
Posted: 28th Oct 2006 23:58 Edited at: 29th Oct 2006 00:01
He, I'm having some problems with the GadgetClicked command. Here's my code:



Here is the code where the actual gadgets were created:



The prblem is that no matter what, SetFormation always equals 0.

Also, the SetFormation variable is global for those wondering.
So can someone spot what I'm doing wrong? Thanks,
-Sunflash

With all the FPSC media packs, and the DBPro DLLs, and every single TGC product, how does one manage not going broke? Register here, it's awesome: http://www.surfjunky.com/?r=sunflash
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 29th Oct 2006 12:18
Can I suggest printing out the value of gadgetClicked() directly in your loop to see what its value is?


BlueGUI Windows Plugin
Sunflash
19
Years of Service
User Offline
Joined: 28th Jun 2005
Location: Seattle, Wa
Posted: 31st Oct 2006 00:31
It just displays a constant zero. The funny thing is (I just noticed this) that when you click the first button (BLOCKB) it returns a one, but whenever you click something else it dosn't change the value of SetFormation.

With all the FPSC media packs, and the DBPro DLLs, and every single TGC product, how does one manage not going broke? Register here, it's awesome: http://www.surfjunky.com/?r=sunflash

Login to post a reply

Server time is: 2024-11-22 11:43:00
Your offset time is: 2024-11-22 11:43:00