899 Topics
| |
I used code originally by vegaseat what's wrong with code ** error : Traceback (most recent call last): File "C:/Users/Cameron/Computing Work/Year 13/F454 - Computing Project/Design/newthingnewthing.py", line 68, in <module> canvas.create_rectangle(x0, y0, x1, y1, fill="purple") AttributeError: 'NoneType' object has no attribute 'create_rectangle'** _______________________________________________ code: from tkinter import * data = [10, … | |
Shows you how to create multiple Tkinter buttons in a loop, each with its own name, label and command response. | |
Hi everyone! I have in my GUI and two radio button **choco** and **gecode** and under each button (choco or gecode)I have 2 radio buttons *solution optimal* and *Feasible solution*: my problem lies in the selection buttons. Let me explain: when I click the radio button **choco**, I … | |
Hi, I have a table view controll whihc has 3 views. in one view I have a button. When the button is pressed another differnt view is loaded. This works fine, but when I go back and try to click the one of the main view the view from the … | |
Hi there, I am a newbie in programming. Python is my choice. because it is easy to learn. But the Tkinter GUI making is horiible. I don't like to write code for GUI. I like the visual basic method. So i installed Qt Designer. But i don't know how to … | |
Here little debugged version of my calculator posted earlier in GUI calculator thread. I prepared it after listening that their teacher did more limited calculator in around 150 lines of code with their graphics module. This is 115 lines without empty lines and comment lines [CODE]>>> li=[i for i in … | |
I'm programming a UI mock-up and need to make the window of fixed size and position. The lines of code for setting the size are as follows : widthOfScreen = mainGUI.winfo_screenwidth() #Get the width of the screen heightOfScreen = mainGUI.winfo_screenheight() #Get the height of the screen mainGUI.geometry("%dx%d+0+0" % (widthOfScreen, heightOfScreen)) … | |
Hey guys I recent wrote the deal or no deal game in Java for fun. It currently operates using a Command driven interface where users input numbers based on textual feedback. My aim is to develop this into a full GUI interface, however, I have not met GUI's yet in … | |
Hey everyone, I am working on a win32 project right now and I have a few buttons that I wanted to change how they look so I gave them the BS_OWNERDRAW property and drew them myself. Now sense I am using ownerdraw there is no visual indication of when someoone … | |
Hi all, I have an interesting challenge that so far I have not been able to correct. What I have is a workbook that tracks orders and when they are recieved the sheet then copies the row that was completed and then it moves it to a second sheet for … | |
Hi, I am new to the eclipse plugin developement. I want to create an launch button (eg: Run, Debug button). the only link that I found was http://www.eclipse.org/articles/Article-Launch-Framework/launch.html and it is difficult to understand. could some one point to a tutorial that is explained more appreciate a response Thanks | |
my problem is i want to save a date from label in vb to field in ms access but i do not know that problem with my coding, the error appear is run-time error 91 object variable or with block variable not set, can anyone check my coding? Dim Con … | |
I want to have a changing output in the 2nd textfield that is 'output' in my Action class as I enter input in the 'input'textfield. I don't know why it doesn't give any output... pls help The comboBoxes convertTo---contains "IEEE" and "DEC" while precisions contain "Long", "Single", "Double". Any advice … | |
Hello to all, I'm new to C++, but I have a program in C++ that runs from DOS console. I'd like to execute the same program adding a simple GUI with a button to select a file and inserting a value in a text box. How can I do this? … | |
like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws … | |
Private Sub cmdfind_Click() Dim search As String search = txtfind.Text Con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\HOSTEL STUDENT.mdb;Persist Security Info=False" Rs.Open "SELECT * FROM STUDENTS WHERE [REG] LIKE" & "'" & search & "'", Con, adOpenStatic, adLockOptimistic Do Until Rs.EOF Rs.MoveNext Loop If Rs.EOF = True Or Rs.BOF = True … | |
Hi I am creating a quiz of 10 questions, using a string array. When the user clicks on the next button the next question follows. How do i set it up that when the user comes towards the end of the array the previous button changes to finish. I know … | |
hey i want to create two *buttons* namely** submit** and **update** button in one page,but i need to knw wheather both the actions of the button can be performed in the same page or in diffrent page,if it is to be performed in diffrent page,how do i do it?? | |
Hello everyone. I'm currently exploring Java's GUI and trying a lot of codes now. I found a game GUI source code on the net. This program uses images to properly run. I can run the program now but it only displays black screen. It already have the folder for the … | |
I have a lottery program nearly completed, thought i had the last of the problems sorted but it seems i did not!! The program has a couple of issues. 1: Everytime i click a button it stores what i clicked, for example 10, and also creates a random number. Problem … | |
| This is a part of addtobasket.php file i want to change the normal submit button with my stylish one but dont know how to do. here is code... ...require("header.php"); echo "<form action='addtobasket.php?id=". $_GET['id'] . "' method='POST'>"; echo "<table cellpadding='10'>"; echo "<tr>"; if(empty($prodrow['image'])) { echo "<td><imgsrc='./images/image_not_found.png' width='50' alt='". $prodrow['name'] . "'></td>"; … |
import java.awt.Color; import java.awt.event.ItemListener; import java.awt.event.ItemEvent; import javax.swing.*; public class framed implements ItemListener { JToggleButton jtButton; public JPanel createAndShowNewPane() { JPanel GUI= new JPanel(); GUI.setLayout(null); JPanel buttonPane= new JPanel(); buttonPane.setLayout(null); buttonPane.setSize(200,300); buttonPane.setLocation(0,0); GUI.add(buttonPane); jtButton= new JToggleButton("On"); jtButton.setSize(90,50); jtButton.setLocation(100,0); jtButton.addItemListener(this); buttonPane.add(jtButton); return GUI; } public static void window(){ JFrame.setDefaultLookAndFeelDecorated(true); JFrame frame= … | |
Hi Everyone I have been programming on Linux for about 8 years part time. I have learned many languages and I am not afraid of using them. However I have learned to fear build systems, operating systems and IDEs. I have been going around in circles for years with Gui … | |
Using the PySide GUI toolkit will make selecting, copying and pasting encrypted and decrypted text somewhat easier. Not ideal yet, but it will be a good start for those of you who are not very familiar with GUI programming. | |
Hi there, I like programing very much. Fortunately or unfortunately my sujects in collage was arts, because i hate maths. Visual basic is my favourite language. I have learned it partially. But it didn't support my native language. I need some menu button text in my native language, but it … | |
Can anybody tell me Why I click on button to submit form -> it works, but when I use javascript to auto submit -> it failed ? I have this form on aaa.com, it submit to bbb.com/result.jsp (another domain) <form id="myForm" name="myForm " method="post" action="www.bbb..com/result.jsp"> <input name="var01" value="var01 "> <input … | |
Hi All, I have just finished reading fundamental topics in Java and now i have decided to do a New Project in Java which comprises all basic features of Java. I need help in Understanding/visualizing the architecture / Design model for my Project. Specification is : 1 . Develop a … | |
Hello everyone. I have successfully added an image to my JPanel, but what I want to do is this: I want to be able to mark a section of the image as clickable. Then when the user clicks within that section, I run some action. So essential I want to … | |
Hello Good day. I have an interesting question as it relates to adding a background image to a JPanel (or whichever component is best for what I'm trying to achieve. Hopefully I'll get some help here.) I have a large picture that I want to use as a background image … | |
Hi All, Im still finding it hard to understand Paint method, Almost all websites i had gone thru, they are showing examples of how to use it in an applet. I just cant understand on how to use it in a GUI application by extending Jframe object. Here is one … |
The End.