1. IDE for win32lib 0.70.4 and eu 4.xx

Hi

i have now added fixes for the block label bug on tabs. Note this will not fix previously created projects, you should edit the label color manually (either on the properties sheet, or directly in the code). I have added it to RDS' site. When runnung a program, make sure you have an eu.cfg, pointing to the location of your win32lib in the program you create's folder.

I added this into IDE_design, line 1205

    if equal(control[Class], "LText") and not equal(whoIs[2], "TabItem") then 
        --add a color property for labels 
        --puts(1, "LText added ") 
        --this adds the background colour of the label, to the same as the 
        --window colour - note this is a little different to th COLOR_WINDOW 
        --for some reason. If you are dropping a label on a tab, then handle this a  
        --little differently 
        control[BkColor] = getSysColor( COLOR_BTNFACE ) 
    end if 
 
    if equal(control[Class], "LText") and equal(whoIs[2], "TabItem") then 
        control[BkColor] = getSysColor( COLOR_WINDOW ) 
    end if 

I seem to remember some drop down combos having similar issues, so I will look at that in due course if that bug reappears.

You can also change the backgoround colour odf the window, and because COLOR_BTNFACE is defined as transparent, the label background colour changes too. The tab colour is a little different though.

Cheers

Chris

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu