Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TBitBtn caption centering

0 views
Skip to first unread message

Kyle Kincaid

unread,
Nov 4, 1998, 3:00:00 AM11/4/98
to
I have a BitBtn that initially has no Bitmap on it. Then, I load one
in. All is still good. But then when I try to take the bitmap off
again, the image does in fact disappear, but the button caption is no
longer centered. It's pushed off to the side as if there were still an
image there. Anyone know how to push the text back where it belongs?
I've tried a little bit of everything without luck:

BitBtn->Glyph->Dormant();
BitBtn->Glyph->FreeImage();
BitBtn->Glyph->ReleaseHandle();
BitBtn->Realign();
BitBtn->Repaint();
BitBtn->Update();

Thanks
Kyle


0 new messages