Page 1 of 1

How to change bitmap in dctabpage

Posted: Wed Sep 12, 2018 11:14 am
by digitsoft
hello Roger
How to change bitmap in dctabpage

Re: How to change bitmap in dctabpage

Posted: Wed Sep 12, 2018 1:00 pm
by rdonnay
Are you asking about the bitmap or icon that is used in the Tab area?

Re: How to change bitmap in dctabpage

Posted: Wed Sep 12, 2018 2:20 pm
by digitsoft
yes
rdonnay wrote:Are you asking about the bitmap or icon that is used in the Tab area?

Re: How to change bitmap in dctabpage

Posted: Thu Sep 20, 2018 9:52 am
by rdonnay
oTabPage::selectedImage := DC_GetBitmap(<bitmap>,,,,,.t.)
oTabPage:invalidateRect()

Re: How to change bitmap in dctabpage

Posted: Thu Sep 20, 2018 2:24 pm
by digitsoft
Thanks Roger
for your help I solved it in this way

oTabPage:Image := DC_GetBitmap(<bitmap>,,,,,.t.)
rdonnay wrote:oTabPage::selectedImage := DC_GetBitmap(<bitmap>,,,,,.t.)
oTabPage:invalidateRect()