Change Tab Caption Dynamically

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,

I'm trying to change the Captions of Tab items in a dialog dynamically.
Each tab item is a Dialog embeded in the tab control. I tried
SetWindowText of the Tab Item Dialog within the control that holds all
tabs, but that throws an exception. Then I tried to SetWindowText
within the Dialog of each tab in the Init function... That didn't work.
Am I doing this right? OR is there a better way to do this.

Thanks

Marcus de Leon

.



Relevant Pages

  • Re: Tab Colors in Access2000
    ... Do you have the class clsTabs from Stephen's sample? ... Background color on a "tab" form ... Select the TAB control itself...not one of the individual TAB pages. ...
    (microsoft.public.access.forms)
  • Re: Tab Colors in Access2000
    ... The expression On Load you entered as teh event property setting produced the ... Background color on a "tab" form ... Select the TAB control itself...not one of the individual TAB pages. ...
    (microsoft.public.access.forms)
  • Re: Tab Controls
    ... seems to be what you did regarding tab controls. ... Background color on a "tab" form ... Select the TAB control itself...not one of the individual TAB pages. ... Candia Computer Consulting - Candia NH ...
    (microsoft.public.access.forms)
  • Re: Tab Controls
    ... Candia Computer Consulting - Candia NH ... seems to be what you did regarding tab controls. ... Background color on a "tab" form ... Select the TAB control itself...not one of the individual TAB pages. ...
    (microsoft.public.access.forms)
  • Re: Group boxes - colours and more
    ... If you got to Windows Display ... Properties and select the Screen Saver tab, there are 2 group boxes whose ... > that you were placing control on a tab control. ... >> Problem - when I select a tab, the active tab sets the background colour ...
    (microsoft.public.vc.mfc)