Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Basic4ppc Wishlist
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?


Label with transparent background


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-29-2007, 11:18 AM
Junior Member
 
Join Date: May 2007
Location: Germany
Posts: 31
Default Label with transparent background

Hello Erel,

for me, it seems not to be possible with the actual transparent functions,
to get Labels with transparent background.

It would be a very nice feature!

regards
Bernd
Reply With Quote
  #2 (permalink)  
Old 06-29-2007, 01:07 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 582
Default

Hi BerndB,

a suggestion for a workaround:

Just take an imageButton, use it's transparency feature and set editable = false.
Now it behaves like a transparent label...


specci48
Reply With Quote
  #3 (permalink)  
Old 06-29-2007, 01:59 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,849
Default

I guess you've meant enabled = false.
Another option is to draw the text using DrawString.
Reply With Quote
  #4 (permalink)  
Old 06-29-2007, 02:16 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 582
Default

Oh ... enabled, yes. Thank you for reading my answers carefully!

specci48
Reply With Quote
  #5 (permalink)  
Old 06-30-2007, 10:00 AM
Junior Member
 
Join Date: May 2007
Location: Germany
Posts: 31
Default

Oh great, that it is possible allready

Thank you specci48
Thank you Erel


regards BerndB
Reply With Quote
  #6 (permalink)  
Old 07-03-2007, 02:41 PM
Junior Member
 
Join Date: May 2007
Location: Germany
Posts: 31
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, 61 views)
Reply With Quote
  #7 (permalink)  
Old 07-03-2007, 03:00 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,136
Default

If you are drawing in forelayer all objects are drawn over, like if we had a tranparent sheet were we drew... all controls are bound to the forms layer and therefore have the forms backgroung, as it happend in your attemp to use an imagebutton...

So I would suggest that you drew all grafical inputs in forelayer and all the info bits in the forms layer, that should do what you want to achieve...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparent .gif? Zenerdiode Questions & Help Needed 2 06-29-2008 02:58 PM
ImageButton Background Transparent Issue gs4322 Questions & Help Needed 15 12-27-2007 04:32 PM
transparent background,label cdeane Questions & Help Needed 4 09-20-2007 05:45 AM
image transparent hung Questions & Help Needed 4 08-08-2007 02:00 AM
Something transparent (invisible) sloopa Questions & Help Needed 1 05-20-2007 09:27 AM


All times are GMT. The time now is 07:03 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0