Conversation

TPageControl OnDrawTab and Win64

(overview of excerpts from articles in conversation)

Newsgroup: embarcadero.public.delphi.vcl.components.using

# Lines
wrote on 01-Jun-2009:

When I run my app (D7 Pro) on SBS2008 64bit the tab captions on my
TPageControl do not appear.
The code is trivial ie
begin
with control as TPageControl, canvas do begin
16
  
Master User replied on 06-Jun-2009:

Include this unit to your project, it will patch this bug. I don't remember where I've found it :-)
  unit VCLFixes;
  interface
  implementation
  uses
214
    
Tony Christiansen replied on 08-Jun-2009:

Master User wrote:
    (snip)

Thankyou VERY much for helping me out here - I had googled my a.. off
    looking for information on this bug.
    Cheers
    
10
  
richard diamond replied on 17-Oct-2010:

I'm adding my thanks to Mr. Christiansen's.
  On my new Windows 7 64-bit Dell, the PageControl OwnerDraw wasn't working, even though in theory it should have (OwnerDraw was set True, I had a PageControl1DrawTab procedure, and the OnDrawTab even was pointing to it. Yet the breakpoint I set in the procedure never got triggered, nor did the tabs have their Caption property set by my code).
  After a fair amount of Googling (and head-scratching), I came upon this post, and Voila, problem solved!!!!
  Thank you so much...:-)
  Regards,
24
    
Dan McKay replied on 22-Aug-2013:

I know this is a very old thread however, i have just recently had to dust off some old D7 code and found that i did NOT have the captions showing for the TextPageControl. i too looked and looked for a solution and fnally found this one - and it works GREAT!! thank you so much for leaving this solution hanging around so it could be found!
    RisingSon
    Edited by: Dan McKay on Aug 22, 2013 5:23 AM
    
    
16
    
Aqua Rius replied on 02-Dec-2010:

Thank you, very mach!
    It works :)
    
    
    
1
    
carlos saenz replied on 28-Aug-2011:

(snip)

Thanks a lot for providing this! Been like a week scratching my head over this. Out of a sudden this also made JVPageControl work too. A much needed patch in fact!
    
    
    
    
12
    
Phil Goulson replied on 20-Nov-2012:

Thanks
    
    
    
    
0
    
David O'Donnell replied on 01-Aug-2013:

MasterUser you are simply a genius!! I'll just call you Obi Wan.
    (snip)

    
    
    
233
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Tue, 21 May 2024 11:33:20 UTC
Copyright © 2009-2024
HREF Tools Corp.