I have two picture boxes on a .net compact framework form.
Both picture boxes have their image set to a .png.
My problem is that when I compile or run the application, one of the images appears "greyed-out" or like a shadow of the actual image.
What might be causing this?
In what context? In the application or the designer? If it's in the designer, does closing the form designer and re-opening it fix it? If it's in the app, we need to see some code.
Related
Does anyone know how to add a watermark in a Reports using source of database?
i was try using picture box to test the database source and its work fine but if i want my image to be in the background it never works.
My picture box:
Background:
Thank you
The current version of Report Designer does not support control overlays.
If you try to set the image behind another control you will find it highlights in red and won't show up when you use your report if both the image and the other control are visible.
This means you won't be able to setup a traditional watermark in the backround of the report, the most you could do for now is to locate the image someplace where it doesn't cross with any other control or where the other control is only visible when the image is invisible and vice versa.
I'm trying to resolve for my self the issue stated in this post from 2011:
https://bugreports.qt.io/browse/QTBUG-19008
Using the stylesheet approach does not work however.
What I would like to do (regarding my own GUI project) is ensure that the images on any disabled QLabels appears the same as when those QLabels are enabled.
Any help in resolving this particular problem would be awesome. Thanks.
Ok. So disabling the GUI is a problem if you have custom graphics for all the widgets because mid-grey boxes appear everywhere. So what is the solution?
Ekhumoro has provided one solution but here is another:
If you are using Animated GIFs there is no problem - they won't turn mid-grey.
If you are using static images (PNGs) all you have to do is make sure the background is transparent so that only the visible image will turn mid-grey for the duration that those graphics are disabled.
This may not be elegant but it is a workaround that can be considered.
While running the application the design layout is not same as in the preview as all the widgets are overlapping at the top-left corner no matter where I place them.
Can we see your code please.
Perhaps you're using a Relativelayout without specifying the position with its attribute.
can you provide you xml code.
and in my case i faced the same issue. when i using the relative layout. just use linear layout and check it again...
I am trying to create a Microsoft SharePoint page which will contain an image and then there will be a lot of other clickable images on top of it. I am familiar with how to do this using HTML and CSS, but from what I can tell, SharePoint does not allow this type of image placement. Can anyone give me some pointers on how to do this?
I was originally trying to just insert images onto the page editor, and then manually try to drag one image onto another. This didn't work. But then after some experimenting I found the Insert Code Snippet tool, which I then constructed a custom HTML image of exactly what I want. Worked perfectly.
Office 365 newbie. Just want to build a web page. Create a web page. Fine. Try to embed some SVG (from InkScape). Displays resulting image fine (yay!) but when I save, image disappears and says I should have used "embed command". Ok, try embed dialog. Displays resulting image fine (yay!) which then disappears when I save. I would just assume no SVG support, but it seems to be able to draw images from SVG just fine, but tosses the SVG code whenever I save. Hoping there's a checkbox somewhere that says "stop throwing away embedded SVG".
When I used Word 2010 and Inkscape, I found it useful to export the image from Inkscape as an Enhanced Metafile (EMF). I did so because the images then remained vectorized in PDFs. Not using Windows anymore, I can't speak for Word 2013, but I'd suggest you try it.
Office 365 started to support SVG format recently. Saving an Office file with SVGs in it shouldn't cause any problems anymore.
Btw: If someone needs to export a document to PDF, it is still recommended to use EMF as vector graphic format, since PDF doesn't support SVG natively.