View Single Post
  #6 (permalink)  
Old 07-03-2007, 02:41 PM
BerndB BerndB is offline
Junior Member
 
Join Date: May 2007
Location: Germany
Posts: 45
Default ImageButton as a transparent Label over a bitmap

Hi,

I now managed it, to use the DrawString in the ForeLayer. (see picture in attachment)

The (blue number) 864 in Top Middle is written with DrawString over a bitmap, and both, the number and the bitmapline becomes updated every second with new data in height over ground (in meters).

For the sake of completeness, I would like to know, wether it's possible to see the line behind the text, using a imageButton, as well.
I couldn't find it out till now.

If I put the ImageButton (with transparenty checked) on the form, where the bitmap will be, and run the progi, the background of the Button is black (correct as bitmapBackground) but the(yellow) line drawn in the bitmap is masked out from the Buttons outline.

Thanks for anny hints.
regards
BerndB
Attached Images
File Type: jpg Graph1.jpg (46.4 KB, 94 views)
Reply With Quote