How can i change the field size diynamicaly?
I have a select field and there are 3 options with different values.
So if the user selects one of them in the you see the values.
But how can i change the size that the values from option field fits in the
function changeText()
{
var select = document.get...
Hi dudes, my app has 3 controls: TThumbnailList (image viewer from TMS components), TImage, and TLabel. I wish that when I drag an image from TThumbnailList to TImage, and drop it, the TLabel object shows the size in bytes for that image. How do I get this?
Thanks in advance.
procedure TForm1.AssignImage;
begin
//tl: TThumbnailList
...
How many characters can a SQL Server 2008 database field contain when the data type is VARCHAR(MAX)?
Thanks guys, helped me out a lot :)
...
Hi,
I want to create the thumbnail using the CG. It creates the thumbnails.
Here i want to have the thumbnail with the size 1024 (with aspect ratio.) Is it possible to get the desired size thumbnail directly from the CG?
In the options dictionary i can pass the max size of the thumnail can be created, but is there any way to have mi...
What does exactly the star in size terms in WPF mean?
...
I'm trying to show a div on a webpage, with mostly text. I would like to know if I can make it smaller so that not all the contents are able to be seen. (Javascript would make it larger later on.)
...
I'm developing a Java Applet, and reducing the size of the binary code will make the applet open faster and will improve the user experience.
Is there anything I can do to reduce the size of classes and / or jar files? I want to be sure I'm not missing obvious tricks.
I know that in the C++ world compiler options for e.g. stripping deb...
If a web page is zoomed out/in in any modern browser, then how I can find size of a DIV element at 100% zoom?
EDIT:: I asked another similar question here, which was unanswered.
...
Hi everyone
I am trying to programmatically position certain controls within a form, based on the difference between the forms minimum size and its client size - this unfortunately produces different results depending on what theme the user has loaded (mostly the problem seems to be due to the fact that the title bar and form border hav...
This question goes out to the C gurus out there:
In C, it is possible to declare a pointer as follows:
char (* p)[10];
.. which basically states that this pointer points to an array of 10 chars. The neat thing about declaring a pointer like this is that you will get a compile time error if you try to assign a pointer of an array of d...
Is there a historical reason or something ? I've seen quite a few times something like char foo[256]; or #define BUF_SIZE 1024. Even I do mostly only use 2^n sized buffers, mostly because I think it looks more elegant and that way I don't have to think of a specific number. But I'm not quite sure if that's the reason most people use them...
I've been given a Flash file (.swf extension) to put into a web page. Opening the file in my browser makes it quite blurry, so I'm assuming there is a natural size for the file, same as an image.
It's also rectangular so I need to work out the aspect ratio if I don't have an exact size. How would I find this information out?
...
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 but there's n...
I got the following method body to generate a key for encryption:
new BigInteger(500, new SecureRandom()).toString(64);
Could anyone explain what is the size of generated key?
...
Is there any way to make a window fixed so that the user can't change the window size in java?
...
I have a VC++ dll library which is built (with Visual Studio 2003) on Windows XP machines ( a US-English PC and a German PC). The source code is the same and does not have any language specific code. The Release version of the dll built on the German PC is approx 30 MB whereas the dll built on the US-English PC is approx 7 MB.
What coul...
Hi,
I was wondering:
1) if I compute the digest of some datas with SHA-512 => resulting in a hash of 64 bytes
2) and then I sign this hash with RSA-1024 => so a block of 128 bytes, which is bigger than the 64 bytes of the digest
=> does it mean in the end my signed hash will be exactly 128 bytes?
Thanks a lot for any info.
...
Hi,
what is the size of an empty UDP datagram? And that of an empty TCP packet?
I can only find infos about the MTU, but I want to know what is the "base" size of these, in order to estimate bandwidth consumption for protocols on top of them.
Thanks in advance for infos.
...
Hi folks,
I am calculating a large number of possible resulting combinations of an algortihm. To sort this combinations I rate them with a double value und store them in PriorityQueue. Currently, there are about 200k items in that queue which is pretty much memory intesive. Acutally, I only need lets say the best 1000 or 100 of all ite...
In C as we know the size of data types (ex. int) can vary depending on compiler / hardware.
But why the size of data types is constant in java language? why don't we have the flexibility for different data type size in java depending on compiler?
...