16 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Peter_TARAS

Hello, I am learning Tkinter. As a part of the learning process I am building a Notepad clone in order to become familiar with Tkinter widgets. I am pretty close to completing it - I added about 90% functionality to the application - but I face two problems: 1) The …

Member Avatar for bevis.hobbs
0
22K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to get only the visible section of the image from picturebox1 and place it in picturebox2. So what I have is picturebox1 set to a certain size, and the image size mode is set to center. Picturebox2 is also set …

Member Avatar for joshl_1995
0
1K
Member Avatar for nathan.pavlovsky

Hello Programmers! I am working on a 'comics' page of my website. It is going to have multiple pictures (arranged neatly in a table) for the viewer to see and enjoy. I would like to have the images (by default) have a width of 10% of the browser window's width …

Member Avatar for nathan.pavlovsky
0
331
Member Avatar for nathan.pavlovsky

Hello programmers! I am a beginner in html using the w3 school website help as a guide. Currently, I am working on an excercise website. The code is as following: <!DOCTYPE html> <html> <title><head> ------- Website </head></title> <body bgcolor= #FFCCFF BACKGROUND="background.gif"> <h1> What This Site Is All About: </h1> <hr …

Member Avatar for JorgeM
0
308
Member Avatar for MasterHacker110

I have this code: <html> <head> <title> Psycho Site - About Us </title> <style> /* container */ div.container { width: 1574px; } /* end container */ /* header */ div.header { background-color: #DDA500; } h1.header_h1 { margin-bottom: 0; font-size: 65; } /* end header*/ /* menu */ div.menu { background-color: …

Member Avatar for crescendo
0
284
Member Avatar for Vingklippt

I am trying to automatically resize the iframe to fit the content. Works great in chrome, firefox and opera. Fails in Internet Explorer. Ideas? <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Leontinas</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> var framefenster = document.getElementsByTagName("iFrame"); var auto_resize_timer = window.setInterval("autoresize_frames()", 20); function autoresize_frames() { for …

Member Avatar for Squidge
0
252
Member Avatar for hankmeyer

Hello, I currently have a script that Uploads an image, resizes and saves successfully. I am having trubble understanding how I would rename the uploaded image according to the other image names in the directory. For example there are 3 images in the directory (Image1.png, Image2.gif and Image3.jpg) How would …

Member Avatar for cereal
1
4K
Member Avatar for 117

Hello, I'm trying to make a JPanel with JFrame capabilities, such as resizing, and moving, Everything seems to work fine, altough there are minor flickering inside the JPanel, I have numeral repaints and I have a method called update(), which uses absolute position to arrange Containers and Components. Whenever the …

Member Avatar for 117
0
4K
Member Avatar for comSysStudent

I'm trying to get my JPanel (JFrame?) to resize itself to fit randomly drawn shapes. I have a shape superclass and right now I'm working with my line subclass. Everything is working fine except I can't figure out how to make the shapes fit the size of the JPanel. Should …

Member Avatar for comSysStudent
0
7K
Member Avatar for pendo826

My methods dont seem to be working for example void Resize doeznt do anything. AM i using it in the wrong way oris the method faulty. [CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. …

Member Avatar for pendo826
0
466
Member Avatar for brainstorm85

Hello, I've coded an image resizing function. It works very well for most image types but I've found that there seems to be a problem with progressive jpeg. If I resize my image for a thumbnail size, 50 px of width the result is only a small black square. I've …

Member Avatar for kevindougans
0
185
Member Avatar for priyamtheone

Hi, we all know how to dock or anchor controls so that they resize themselves accordingly when a form is resized. It works fine till we have rows of controls on left and right size of the form. But what if have three columns (Columns as in visual sense. I'm …

Member Avatar for priyamtheone
0
223
Member Avatar for Spycat

Hi, I have a site that looks fine locally, but when I view it online, it gets messed up. Specifically, it does not resize correctly (eg at 800x600). In a turnabout, this only occurs in Firefox (3.6.16) - in IE 8 it resizes ok. To further confuse the matter, if …

Member Avatar for Spycat
0
218
Member Avatar for hindu times

Hi there, I've been working over the past few weeks on these pages... - [url]http://www.rjt-online.com/photos.php[/url] - [url]http://www.rjt-online.com/video.php[/url] The issue I'm facing is with the Video page. As you can see, the iFrame that hold the videos themselves is working fine in IE, but when you look at it on other …

Member Avatar for hindu times
0
103
Member Avatar for johnroach1985

Hi. I really know very little about linux scripting. And I need help writing this script. The script is to get one parameter which is <directory>. And than the following will ensue; [CODE] for each image within directory [INDENT]if not(image exist in temp-directory) [INDENT]cp image to temp-directory and resize to …

Member Avatar for rch1231
0
171
Member Avatar for kurtzky

Hey guys. I have a question. In my program, I'm calling a Process (Internet Explorer) on button click, but I want to customize the size of the IE window being opened to something like 800 x 600 pixels. Do you know how do it? Below is my base code. [CODE]Process …

Member Avatar for Lusiphur
0
3K

The End.