It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how to handle orientation change event inside a usercontrol?
I'd recommend against having your control worry about the orientation it is being displayed in. This should be the concern of the page the control is contained in, not the actual control. You want to avoid the situation where the two are fighting fo determining how something should be displayed.
Try and write your control so that it work regardless of the page orientation. If you can't do that make 2 versions of the control and let the page decide which one to show based on orientation.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Well, in my application, you can select an image and put it in the form using opendialog. The problem is that the image won't be loaded, unless it's bitmap. So what do you suggest me to do?
Delphi 7 only supports bmp and jpg out of the box. To get wider image support you need to use a third party library. I recommend Mike Lischke's GraphicEx: http://www.delphi-gems.com/index.php/libs/graphicex-library
Based on the comments from the Andreas Rejbrand answers, I believe you should install the TGIFImage component. It supports Delphi7 and newer versions of Delphi.
Include the unit GifImage.pas to your project path from gifimaged2010b.zip, and add to your uses list. This will automatically add GIF in filters for openpicturedialog.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is it possible to store multiple small images or icons as parts of a single image, so that my webpage can get all the icons it needs from a single GET request. This would help my page load faster.
This is an example of the sort of composite image I'm referring to:
http://oi40.tinypic.com/2saaxac.jpg
It seems to me that it is some kind of array of images put into one file. I'm hoping there is some way that i can use each individual icon in the image in a project.
These are called sprite sheets, there's a great article about them on css-tricks that should help you understand how they work on the web.
CSS Sprites: What They Are, Why They’re Cool, and How To Use Them
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am working on directshow filters and looking for the filter that take two input pins with one out put
Main idea is i want to write switch filter that can swith from one input pin to another input pin Please help me i am new in directshow filters
No standard filter of this kind. Write your own or look for third party solution. You request quite specific functionality (most likely you would have to make more assumptions as for its operation), so you would probably have to end up with your own custom filter.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
how can i create custom interfaces in xcode 4? i've seen programs like Kaleidoscope (http://designshack.co.uk/images/designs/kaleidoscope-for-mac.jpg) using custom controls or something not available for drag and drop on xode.
any help? thanks
You'll get better help if you take the time to craft more specific questions.
Since you're speaking generally, I'll answer generally: Xcode 4 will not help you create custom interfaces (at least not beyond letting you edit the code to build them). This is done entirely in code.
Learn to draw with Cocoa then learn how controls and cells work, then ask specific questions when you don't understand.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
<link rev="made" href="mailto:test.com">
It is a way to add semantic information to a page. In this case the email address of the maker.
The value made is not in the HTML spec as a link type, so this appears to really be informational only.
The rev attribute is supposed to be a link back to a parent page (or previous page), it is short for "reverse link".
Read about the rev attribute here and here.
In terms of SEO, I don't believe this example will make a difference.