List Info

Thread: Events seem to do nothing?




Events seem to do nothing?
user name
2006-05-05 07:44:13
Scrap that...sorry to be a pain! It is working now, probably something I did wrong somewhere!

Thanks

----- Original Message ----
From: Matt H <emotivemattyahoo.co.uk>
To: anthemion-devtools@yahoogroups.com
Sent: Friday, 5 May, 2006 8:40:30 AM
Subject: [anthemion-devtools] Events seem to do nothing?

Hi everyone, sorry to bother you!

I'm trying to get to grips with DB, and so far I'm loving it! I just have an issue with Events.

Whenever I add an event for a button, in the event handler for the button, and then put my own custom code in the function - it ignores it - i.e. does nothing :(

Could anyone tell me if i'm doing it wrong please? What I'm doing is creating a button, selecting it and going to the event handler area for the button. Selecting COMMAND_BUTTON_CLICKED and enabling it. Then going to the .cpp file for the window - finding the function, and entering my own code into it, removing all that is put in there by DialogBlocks. Saving the file, and then build/run. But no cigar!

Thanks in advance,
Matthew Harwood
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )