NTK and The NTK Project
are properties of Jn Dechereux
Home | Documentation | FAQ.

Vanilla 1.1.8 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
      CommentAuthorMarkus II
    • CommentTimeMay 27th 2020
    I search for properties and instance variables to set color, style and position of the tab label. I found TabStyle to set the width size based on label (value 2) but no effect on this. I want to center my labels in tab, have a another color label (only white and blue when over) and also size my tab with lenght of label. Thanks to help me.
      CommentAuthorMarkus II
    • CommentTimeMay 27th 2020
    Oh, i forget my screen capture of my application.
    • CommentTimeMay 28th 2020
    hi markusII
    and why not using default color clauses?
    ADD PAGE TO oMyTab ID ID_PAGE1 LABEL "&Tab1"   ;
                     SUPER ACCEL KEY K_ALT_1       ;
                     BITMAP UP  "TabPic1_up"       ;
                     BITMAP DN  "TabPic1_dn"       ;
                     BITMAP OVER "TabPic1_ovr"     ;
                     BITMAP GRAYED "TabPic1_off"   ;
                     TEXTCOLOR NTK_RGB(0,0,255)    ;
                     BACKCOLOR NTK_RGB(192,192,192); // BACKGROUND BRUSH hTabBkgBrush
                     TOOLTIP "Go to 1st page..."

    if you need to redefine default tab's theme&style i think your best bet is NTK_OdTabThemeSetProperty()&NTK OdTabThemeGetProperty(). also give a try to tabctrlthemed.prg sample.
    ps nice pict looks good. are you writting another ntkmkr?
      CommentAuthorMarkus II
    • CommentTimeMay 30th 2020
    Hi Wilson,

    Thanks for that but i show tabctrlthemed.prg and btn.ch but i don't see any define for center my label and change the over color of a tab. Can i do that with tab class ?

    And yes, i rewrite NtkMkr, more useful i think, config page in progress, finish perhaps this WE... localization, themization, font adaptable, small help, more options and compatible with original NTKmkr.
    Show the last screenshot joined.

    Markus II
    • CommentTimeJun 3rd 2020
    hi markusii
    i'm afraid you're right. i checked out ntkrad&ntkttab manuals, had a look to sc in ntkttab.prg oo class but didnt find any features expected to fit your needs. hope someone here will have better brain to point you right direction or maybe should you ask folks at ntk?

    what you are doing sounds good - keep on sharing.
      CommentAuthorTeam NTK
    • CommentTimeJun 17th 2020
    Hi there,
    Thanks for pointing us these missings. We've taken in account your suggestion and we're currently working on a solution for enhancing property settings related to Tab-Object's centering and on-over fg+bg colors . We will keep you informed when the new upgrade patch is available.........
    Your NTK Team