Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TabCtrl » TabDlg callback when another Tab is selected?
TabDlg callback when another Tab is selected? [message #15609] Wed, 30 April 2008 17:05 Go to next message
cdoty is currently offline  cdoty
Messages: 23
Registered: April 2008
Location: Houston, TX
Promising Member

I want to change the Label on the ok button, based on the tab selected. How can I set up a callback for this? I tried using a WhenAction callback, but it's never called.

a3e77f341aa1d91d0388a0c8b786e8b5

[Updated on: Wed, 30 April 2008 17:21]

Report message to a moderator

Re: TabDlg callback when another Tab is selected? [message #15610 is a reply to message #15609] Wed, 30 April 2008 17:29 Go to previous messageGo to next message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Are you using TabDlg.tabctrl.WhenAction()? That should work.
Re: TabDlg callback when another Tab is selected? [message #15611 is a reply to message #15610] Wed, 30 April 2008 21:04 Go to previous message
cdoty is currently offline  cdoty
Messages: 23
Registered: April 2008
Location: Houston, TX
Promising Member

mrjt wrote on Wed, 30 April 2008 10:29

Are you using TabDlg.tabctrl.WhenAction()? That should work.


That was it. I thought I tried that, but obviously I didn't Smile

Thanks.


a3e77f341aa1d91d0388a0c8b786e8b5
Previous Topic: Why this doesn't work ?
Next Topic: Missing API for what I need to do?
Goto Forum:
  


Current Time: Thu Apr 25 10:52:43 CEST 2019

Total time taken to generate the page: 0.00593 seconds