How come this pop-up gets a size other than what I have specified, when testing it in IE6 and FireFox 3.6? Firefox displays it correctly but IE6 is smaller for some reason. (620x530 instead) How can I fix it?
<A id="myID" onclick="window.open('/sitecollectiondocuments/myPage.htm', 'welcome','width=630,height=590')"…
Hi guys,
I am making a Desktop Application using Netbeans 6.8. What I would like to do is to programmatically set the size of my Application so that it fills the entire screen. I have looked around and it seems to be quite a nasty problem.
I have been trying the code shown here, but it doesn't seem to be working.
Anyone has any idea…
I want to create and fill/stroke a path that consists of an outer boundary which is a square of side d and an inner boundary that is the outline of any of the capital letters.
How can I do this? (challenges = creating a mask from a font, and figuring out the right size/position to use)
I want to cut Postgres to its minimal size for purpose of including just database function with my application. I'm using Portable Postgres found on internet.
Any suggestions what I can delete from Postgres installation which is not needed for normal database use?
I have code which works on windows, that calls LocalAlloc as follows:
LocalAlloc(LMEM_ZEROINIT, size)
I need the equivalent malloc or calloc call to get this to work on Unix systems, through Mono. Simple answer?
good morning all :)
was wondering if anyone can tell me how come I cant get my windows form size to go to 1280x 768 in vs 2008?
My resolution that I am working on is 1024x768..but the computer that I am going to be running this program on is a wide screen..1280x768.
I try to change it in properties but it keeps defaulting back to…
I was wondering if there was any recommended max size for MDF and/or LDF Files for an SQL server instance.
For example, if I want to create a 400 GBytes Database, is there a rule to help me decide how many mdf files I should create ? or should I just go ahead and create a single gigantic 400Gbytes mdf file?
If so is this going to…
hi
i am using below code to change the the font type of text view. but its not changing the font
textView3.font = [UIFont fontWithName:@"Helvetica" size:17.0f];
tell me where i am wrong.
Ok, here's the problem. I have a label component in a panel. The label is aligned as alClient and has wordwrap enabled. The text can vary from one line to several lines. I would like to re-size the height of the the panel (and the label) to fit all the text.
How do I get the necessary height of a label when I know the text and the…
DisplayMetrics displaymetrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(displaymetrics);
height = displaymetrics.heightPixels;
width = displaymetrics.widthPixels;
Log.e("FirstImage", "Width = "+width+"Height = "+height);
the above was the code i have used to display the screen sizes.. but the…
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
Enterprise Manager’s compliance framework is a powerful and
robust feature that provides users the…
I have the following code delivering a file to users when they click on a download link. For security purposes I can't just link directly to the file so this was set up to decode the url and transmit the file. It has been working fine for a while but recently I started having problems where the file will start downloading…
Hello all,
I am using following code in iPhone to get smaller cropped image as follows:
- (UIImage*) getSmallImage:(UIImage*) img
{
CGSize size = img.size;
CGFloat ratio = 0;
if (size.width < size.height) {
ratio = 36 / size.width;
} else {
ratio = 36 / size.height;
}
CGRect rect =…
I'm trying to do something which seems like it should be extremely simple and yet I can't see how. I have a very simple layout, a TextBox with an image next to it, similar to the way it might look adorned with an ErrorProvider in a WinForms application. The problem is, I want the image to be no higher than the TextBox…
Hi
I'm new to javascript/jQuery this really has me stumped.
What I'm trying to achieve here is
On toggling a#sameDayTab jquery will look for .changeAlert and fadeOut it's container div, when toggled again the div will fade in (this works well.)
Each toggle will also call a function that tells me how many…
I have a Vostro 2520 and not sure how to enable wireless on my machine. The details are given below, would appreciate any pointers to resolving this issue.
lsmod returns
Module Size Used by ath9k 132390 0
ath9k_common 14053 1 ath9k ath9k_hw 411151 …
Every time I change the font, it goes back to the default size, which is 12, even if I change it before with the "Tamano" menu, it only goes back to 12 every time, my guess would be the way I change the size with deriveFont(), but don't I now any other way to change it.
public static class cambiar extends…
Here is a function I would like to write but am unable to do so. Even if you
don't / can't give a solution I would be grateful for tips. For example,
I know that there is a correlation between the ordered represantions of the
sum of an integer and ordered set partitions but that alone does not help me in…
I have made a program in VB.net (visual studio 2003) that connects to a SYBASE ASE database using the ADO.NET data provider. Recently, after a hard disk failure, I restored the program's code from a (rather old) backup. But now the connection fails with a message that does not remind me of anything that…
Hi,
I'm using iTextsharp library to create PDF files. I can declare for A4 Landscape paper like this:
Dim pdfTable As New PdfPTable(9)
pdfTable.WidthPercentage = 100
Dim pdfDoc As New Document(PageSize.A4.Rotate())
I'm wondering how I can set Height of pdfTable or A4 Height manually. Because…