4,919 Topics
![]() | |
You can put an image and text on a Tkinter button widget. This small code shows you how. The GIF image file you want to use for the button should be in the working directory, or you have to give it the full path. Incorporate the Python Image Library (PIL) … | |
Hello, I'm trying to read a serial port data from a controller and plot it using chart. I could read the data from the controller and see the data in a textbox earlier. Now I'm trying to use a chart along with the textbox. There are complication when I'm trying … | |
I have been comparing a Java GUI program's start time to both native apps and another Java based app, and I have concluded that my program is launching a little too slowly, or at least a little slower than I would like. I think it's taking too long to load … | |
I have good design skills and want to create web pages but I dont want to do web development or programming. There is so much out there and so much of it is complicated. I want to keep it real simple. I have Dreamweaver but not a lot of time … | |
i don't know how to change button backcolor after data change i use C# Oledb | |
im having a problem controlling a stepper motor using a microcontroller..what i did is that i test it with my board coz it has led's to check whether its working or not..we are tasked to make a program in c++ that would make a variable reluctance stepper motor work. If … | |
Most common quiestion is: [quote]Is there any C++ GUI API?[/quote] My answer is MANY. There are many API's for making GUI applications. Here are some. [B] 1. WinAPI: (C based)(MFC is C++ based)[/B] [I]Its a great API and the best solution if you are windows programmer. First code will look … | |
Just a relatively simple calculator using the Tkinter GUI. It has a few nice features such as correcting division by an integer (for older Python versions), error trapping, to and from memory buttons, and an editable display. The editable display allows you to backspace mistakes, and also to enter things … | |
Modify the Week Two Java non-GUI console application using NetBeans IDE (or jGrasp) to meet these additional and changed business requirements: • The company has recently changed its total annual compensation policy to improve sales. • A salesperson will continue to earn a fixed salary of $35,000.00. The current sales … | |
how to fetch data from PostgreSQL to WXpyhon GUI to automaticaly open the next processe ? | |
hi everybody I am currently creating a simulation of a pizza ordering system in object oriented program. I have some question. the instruction and guideline is long but I will try and cut it down a lot. the instruction is to create a program that simulate a pizza restaurant using … | |
A little calculator written in BCX basic and then translated to C code and modified to compile with Dev C++ (GCC/G++). Once you find your way past the standard GUI gibberish you can figure it out. For those who need some hand holding with the Dev C++ IDE: In the … | |
Hi, ive written and made a simulation using Vpython and i was wondering if its possible to embed this simulation made using vpython into a GUI made with Tkinter? | |
Hi all, I am developing a Qt Gui application. Here I have a Qtreeewidget that has a list of Qtreeewidgetitems. I also have a qtablewidget beside it which displays some information when any item present in the list is clicked/selected.When the content of any of the cell in the tablewidget … | |
Hi I've recently downloaded Vpython and python3.1 I have been impressed with the 3D animation ability of Vpython and playing around with the sample code available. I am a physics teacher and would like to make some interactive simulations to use in class. Is there any way that Vpython and … | |
Hi, i have a datagridview : grd_ol and i added a button to it: Dim btnColumn As New DataGridViewButtonColumn() btnColumn.HeaderText = "Invoice" btnColumn.Text = "View Invoice" btnColumn.UseColumnTextForButtonValue = True grd_ol.Columns.Add(btnColumn) the table sort of looks like this: | ORDER_ID | CUSTOMER_ID | STAFF_ID | ORDER_DATE | TOTAL(RM) | INVOICE | … | |
Hi All, I am working on a little side project for myself. i have created an interface which contains two listboxes and a few buttons. Clicking on each button would load separate csv files and they would populate in listbox 1. This is as far as i have gotten, what … | |
Is there a way to develop a GUI which has graph data structure at the backend so that if we want to have information about a particular node or edge, we just tap its corresponding GUI representation and the app gives us the required info? | |
Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked: Private Sub btn_addline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_addline.Click Dim txtB1 As New TextBox Dim i For i = … | |
Well if you were like me and Python is your first language. You are trying to learn programming and many people suggested that learn Python as a first language. You take their advice, your download Python and get all set up. Maybe you take a tutorial or two in order … | |
I am a student struggeled in the following task I very appreciate if you can help, and send me an e-mail of solutiont ASAP please. The task is: Design and implement an object-oriented program describing two kinds of bank accounts, FixedFee and ChargeableFee, that differ in the way that fees … | |
Hello dear memebers, after searching for a multiple chat client i have come across a multithreading chat system which i have attached the code .I have taken the code of the server class and added it to my application form as well as the gui.My question is(well i know it … | |
I am trying to generate a random image everytime someone clicks spin. I am not able to generate a random picture. Some help would be really nice. Thanks in advance. Here's my code so far : import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Random; import javax.swing.*; public class Gui { … | |
I have generated checkbutton from inputstatus dictionary to set as default values.After tht once it get display on GUI when i select it respected text and status will be added to new dictionary '''inputstatus = { 'maggi': 1, \ 'pizza': 1, \ 'cold drinks': 1, \ 'fries': 1, \ 'chapati': … | |
Suppose i have one dictionary menu={'pizza':1,'Burger':1,'sandwitch':0} when i run tkinter gui these all key will be displayed on GUI. If value is 1 then respected key must be ticked rest will be unticked | |
Our company is developing a large, database (MySQL) system on top of the Netbeans RCP. This is a Java Swing GUI based application. We want to take advantage of Rich Client Platform to develop the "Government Platform" and use its module project type to develop the "Government Modules", essentially Java … | |
I am developing a Graphics package in Java that allows the user to draw triangles, squares, circles, etc. and group/move/manipulate them in order to make animated stick-figure movies. I have an interface that allows users to add figures with GUI buttons, drop-downs, mouse-clicks and the like, and also a text … | |
My current program is text based, is there a way to convert it to a GUI based one? import sqlite3 from tkinter import* import sys import random from random import shuffle import time #------------------------------------------------------------------------------------------------------- def database1(): conn = sqlite3.connect("Database1.db") #connection to database #directory will need to be changed in order … | |
Hi all, Ive been looking to convert one of my programs to include a GUI, and am having issues with the timing aspects of it. Ive included a mock scenario of what my problem is below: Ive defined my GUI as an object via a class, and am using the … | |
Hello guys, I would like to know how and where I can find a grid layout after compiling my java program using blue j. I've tried checking the tools section but I cannot find it. Thank you | |
Hi, I am trying to create something which you can type into entry boxes, then save that information to a .txt file. I have got this to work however I wish to name the file as what is stored in one of the entry boxes and cannot figure out how … | |
HI guys, as my next application I thought I'd build a simple converter, something that allows me to convert from, say, Km to miles and so on. The framework I will use is vaadin (unfortunately) but it will still be java anyway :-). So, I just thought I'd see if … | |
I like art and I like web development. I've been out of the loop the last two years and coming back, I see tons of new in-browser abilities. I don't know advanced code but wonder if the Internet can handle serving an adjustable (with scaling limbs), posable mannequin (like those … | |
It's been a few years since I last dabbled in C++ and then it was only learning the console stuff but by no means was I a master of it. I'm comfortable with VBA, MS Access and SQL. I'm wanting to delve into the GUI world of C++ with a … | |
Hello ,I'm writing a GUI with C Win32 API and facing following issue. When I start the program and click the button for Opening the file dialog everything works fine. I can choose a file and all informations seem to fit properly into the ofn structure. If I choose to … | |
Hello, this question is related to an older post of mine ([Click Here](https://www.daniweb.com/programming/software-development/threads/505499/getopenfilename-freezes-at-second-execution)). In this question i stated that my program freezes at the execution of GetOpenFileName. After struggeling a while with that problem and doing other more important stuff first, i came back to the original problem and found … | |
HI, I am using zend guard for encryption of my php code. I would like to ask that is there a way to automate the process through command prompt or gui that we can zip the files of the source code and encrypted code in seperate folders automatically. Thanks in … | |
*There's lots of ground ("gaps") missing in-between the background. Beware.* There's that point in time where I'd like to get myself a good trusty hosting. Attempt to start any kind of project, get any community moving. Whatever. Long story short: I'm seeking for a good hosting (VPS/Dedicated, Website+SSL) for "rest … | |
Hello, it is me once more. I am using Python 2.3, and I must use Zelle's graphics class (and I must agree with many of you. Tkinter is much better). We have been tasked with creating a Graphical Scientific Calculator. In addition to the normal operators, it must contain the … | |
Hello. Im doing some practice questions and Im kinda stuck. So basically I have three Jbuttons: "Menu", "Left" and "Right", a JTextField : "tDisplay" and an array : status. code (dummy code for example): String[] status = {"hello","goodbye","goodnight","goodmorning"}; what needs to happen is when Menu is clicked Hello is displayed … | |
Hi, I have problem I can't add to the JTable new row (public void addRow(ArrayList<Object> newRow)) from the other class with action of the button Main.java import com.sun.javaws.Globals; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import javax.swing.event.TableModelEvent; import javax.swing.table.AbstractTableModel; import javax.xml.bind.annotation.XmlElementDecl; public class … | |
Hi there! I am having trouble figuring out what is wrong with my code also I'm kinda new to Python. I'm trying to get variables to one class to another class then return it back. Here is my code: from tkinter import * from tkinter import ttk class Logic: def … | |
Hi, I have one CSS. .buttonSize { min-width : 58% } Actually, I have two buttons, with text "Hovers" & "Copy". My button without any css taking spaces which can wrap the text size. This way size of two buttons is not same. What I tried: a) I have hacked … | |
Hi Dw. I'm a bit stuck with a lot of confusion here. I'm developing a client/server applications which communicates to each other, my project is a multi-thread based and I'm currently using MS Access and database but I have hit a very challenging problem as this was the wrong database … | |
<html> <head> <style> .button { font-size: 1em; padding: 10px; color: #fff; border: 2px solid #06D85F; border-radius: 20px/50px; text-decoration: none; cursor: pointer; transition: all 0.3s ease-out; } .button:hover { background: #06D85F; } .overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); transition: opacity … | |
how to save that text boxes data into database ,by using this button evet,please tell me iam fresher. < protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) Session.Remove("clicks"); } protected void Button2_Click1(object sender, EventArgs e) { int rowcount = 0; rowcount = Convert.ToInt32(Session["clicks"]); rowcount++; Session["clicks"] = rowcount; for (int … | |
Hello, I would like to create a chess game GUI but I have a problem with my code. When I run my programm, at the beginning, my code is supposed to read a ".lvl" file to place pieces on the chessboard (same method as in Mario Sokoban). However, it doesn't … | |
hi there guys! how can i add textbox using button? i know that it can be done using javascript but i was required to use php. Is it possible to do it in php? thanks | |
I'm trying to create a navigation menu that is a table of 4x5 boxes. The top 4 should have radio-style behavior that brings up a different set of 16 boxes below it when clicked. I'm also trying to have a default set of boxes that display pictures when the page … | |
I am trying to display scores by what the user is requesting either 'Average','Total',or 'Both'. The following is my code for the loop_tester.php and below that is the code for my index.php. I am trying to add a switch statement to the index.php file that will sets values for only … |
The End.