Click here to Skip to main content
15,893,190 members
Everything / GUI

GUI

GUI

Great Reads

by Colin Vella
This article presents an algorithm and data structures to implement auto-tiling as seen in RPG Maker, the Starcraft level editor, etc.
by Sergey Alexandrovich Kryukov
Popular question on Forms collaboration, also answered for WPF
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands
by Mark Pelf
Comparison of Git functionality of Visual Studio 2022 to some other Git Gui clients

Latest Articles

by Chris Boss
BASIC: A powerful language often underestimated and undervalued
by Steffen Ploetz
My way to have a first sample program running with "Texus' Graphical User Interface" (TGUI) - a cross-platform modern C++ immediate GUI, on which I use "Simple and Fast Multimedia Library" (SFML) as backend.
by Mark Pelf
Comparison of Git functionality of Visual Studio 2022 to some other Git Gui clients
by Jovibor
PE (x86) and PE+ (x64) files viewer, based on libpe.

All Articles

Sort by Updated

GUI 

29 Feb 2024 by Maxim Kartavenkov
To implement that you need to have the base program which performs an encryption your exe with the given password and create primary executable - let's call this application "Creator". In this application you specify the password and select an...
29 Feb 2024 by merano99
From the context, I understand that we are talking about Windows EXE programs that are to be protected with a password regardless of their location and computer. This would result in the following requirements: 1. creating password protection...
28 Feb 2024 by Chris Boss
BASIC: A powerful language often underestimated and undervalued
28 Feb 2024 by Richard MacCutchan
If you have no experience of creating such a program then it would probably take many months to create your own version. And since the Exelock program already offers this feature, I suggest you use that.
28 Feb 2024 by Uzbek Tv yangiliklari
I have no any idea on creating a gui program that locks an exe file with given password by user, and when user tries to open that exe app, a form should appear and ask for the password to open that exe app for user, no matter the exe file's name...
15 Apr 2023 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
16 Feb 2023 by Richard MacCutchan
You get date and time information via datetime — Basic date and time types — Python 3.11.2 documentation[^].
16 Feb 2023 by Member 15916612
I am trying to set date and time on my window 1. I don't know how to do that. Can anyone please help me. What I have tried: from tkinter import * import tkinter as tk from tkinter import messagebox import serial class Win1(tk.Frame): def...
15 Jan 2023 by Aura Blue
So, I have a program project in mind where the user enters some specifications, java stores the input as variable and by using an if else statement displays the result accordingly. The program is about finding your anime girl. I need some tips on...
15 Jan 2023 by Richard MacCutchan
See Java Swing How to - Add Background image to JPanel[^]. As to how to make the program more polished, that is really not a question that can be answered simply in a Quick Answers forum.
15 Nov 2022 by James Murinio
How would you make such an animation in python? The animation is about showing the concept of time division multiplexing. Each user has data to send through the shared medium. Data is combined into frames. Length of the frame is equal to number...
15 Nov 2022 by Richard MacCutchan
It is impossible to tell you which package is better, as that depends on too many unknowns. You need to try them for yourself to see which one best fits your requirements.
5 Nov 2022 by Steffen Ploetz
My way to have a first sample program running with "Texus' Graphical User Interface" (TGUI) - a cross-platform modern C++ immediate GUI, on which I use "Simple and Fast Multimedia Library" (SFML) as backend.
24 Oct 2022 by Member 14769677
I want to do a textbox in Raylib. I have printed out a string with an example on raylib's website, but how do i select text, or put the cursor to edit text. I have no idea how this would work at all. How does the cursor know where to be put and...
24 Oct 2022 by Michael Haephrati
/*****************************...
1 Sep 2022 by Richard MacCutchan
Your self.tenlistchecks contains a single element which is the array of tuples (double brackets): [[(120, '21-08-2022', '1112', 'Alfa Romeo', 'james'), (122, '21-08-2022', '465', 'Buick', 'daniel '), (123, '21-08-2022', '789', 'Buick', 'daniel...
31 Aug 2022 by asaad kittaneh
I am trying to select rows and fetch them from the DB table and then insert them into a list so I can insert all of the rows at once into the database. but I got an error : self.dashboard_buying_checks_dates = self.cursorObj.executemany(...
5 Aug 2022 by Mark Pelf
Comparison of Git functionality of Visual Studio 2022 to some other Git Gui clients
4 Aug 2022 by crypL edEntity
You should not create a new instance of MainWindow() class inside button_click() method. Use the same mw you created, when accessing the label attribute and setting the text. I did it for you. import PyQt5.QtWidgets as qtwidget import...
4 Aug 2022 by Anh Nguyen Jul2022
I'm creating a calculator app using PyQt5, and when I'm assigning an action to my button to update the label text that resides in a different class from the button class. It seems to be doing something, but instead of what I'm expecting to...
4 Aug 2022 by Jovibor
PE (x86) and PE+ (x64) files viewer, based on libpe.
1 Aug 2022 by Mark Pelf
We are giving an overview of 6 free Git GUI clients
1 Jul 2022 by honey the codewitch
Adapt a TextBox to make it writeable like any other text based I/O
2 Jun 2022 by Pandora Finance
You can paste the text file in a word processing software like Google Docs or Microsoft Word and then you can download or save them as pdf. Thanks
2 Jun 2022 by asaad kittaneh
I am trying to save a textbox text as a pdf file but I got an encoding error, I have tried the following: What I have tried: from tkinter import * from tkinter import ttk from tkinter import filedialog from tkinter.filedialog import...
21 May 2022 by daniel wakeley
So this is roughly what I want to do. But instead of add it to an ArrayList I want to add it to a class instance and then take the Array of the class instances and put it into another class cp.add(addPetB); cp.add(doneOutputB); ...
15 May 2022 by daniel wakeley
So I'm making a festival scheduling app that takes user input from a Swing GUI and then schedules all the songs according to time and priority. I'm just wondering do I store the input in multiple Variables or an array. Also, after that how do...
8 May 2022 by Richard MacCutchan
Your code is somewhat confusing. You have the following two lines: texte = Text(right_panel) texte = Entry(right_panel) So you create a Text widget, and immediately replace it with an Entry widget. So remove the Entry line, and add a height...
8 May 2022 by abc174
So i'm a newbie and I to created a gui with 3 panels. One panel is at the bottom and the other two are splitted vertically. I want to put a text field into the right top panel but however I can't resize it. Can anyone help? What I have tried: ...
6 May 2022 by asaad kittaneh
I am trying to make a notification depending on the current date, and I have a date list from the database, so when the current date matches any date from the date list so the GUI will display a notification message box that includes that date...
3 May 2022 by Richard MacCutchan
Why do you need to read all the database records and then search for any with today's date? A much simpler method would be: date = datetime.now() # you may need to convert the date to the format stored in the DB now = date.strftime('%d-%m-%Y')...
10 Apr 2022 by Scyasa
Goal: I'm trying to automate Canva.exe to create designs via GUI automation. Specs: Spyder V5 (via anaconda) and Python 3.8 on Windows 11 Home OS Problem: pywinauto is finding duplicate target values for the last 2 lines of my code (below) and...
18 Feb 2022 by asaad kittaneh
geniuses I am trying to insert all Treeview rows into the sqllite3 database, and instead of that, it only inserts the last row. What I have tried: I have tried the following: def buying_addcheck(self): self.conn = sqlite3.connect('car...
18 Feb 2022 by Andre Oosthuizen
The reason you see only the last entry saved is because you have only called the last record in the list. You need to loop through all the list items and add them yo your database as you count through the list using a loop. Your code should look...
1 Jan 2022 by Nicke Manarin
As a hack, you can try drawing with DrawIconEx, increasing the cursor step until it returns false. The step prior to the failed attempt is the maximum number of frames of the cursor.
26 Dec 2021 by Member 15435322
Hi all.I started working as a junior java developer at my workplace. But I am facing some problems. The moment I worked was actually understanding what a back end developer was doing. But I couldn't understand. I finally realized something, that...
22 Dec 2021 by asaad kittaneh
0 I'm building my first Tkinter GUI, and I need to create a multi-column Listbox using TKtreectrl, but when importing the module I get this error, import error: No module named "TkTreectrl". How to solve this problem, thanks in advance. What I...
22 Dec 2021 by Richard MacCutchan
You first need to install the library from its online repository. See TkTreeCtrl[^] for details.
29 Nov 2021 by Doug Fulford
I'm trying to add xrtpds_2.4.0 widgets to Builder's Xcessory (BX). When I bring up BX 6.2.2, I get several wml errors like the following example: wml: no XtLiteral specified to name the widget class to use "XrtTable" Defaulting to...
26 Oct 2021 by Azim Zahir
This article demonstrates creating user-interfaces using PySimpleGUI.
19 Sep 2021 by JoeyWad
Hello Everybody Recently I started learning how to read data from the Arduino board as well as how to write data to it using C# windows forms. It was so easy as all I have to do is using the serial-port class and specify the port name and the...
23 Aug 2021 by Richard MacCutchan
How about you make the effort to do your own work. Lots of help can be found at Java Tutorials Learning Paths[^]
23 Aug 2021 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
23 Aug 2021 by Wendelius
This is not a coding service. If you're stuck in a specific problem when writing code there are a lot of people willing to help you but no-one will do all the work for you. Try breaking the problem into little pieces. Explore examples, search...
22 Jul 2021 by Diasalva5
I have this array in C# for a GUI, however is not displaying all the numbers, just the last one. Any ideas, please? Thanks private void button4_Click(object sender, EventArgs e) { double[] BMI = {18.5,24.9,25,29.9,30}; ...
22 Jul 2021 by Diasalva5
I did as advised by OriginalGriff and it worked as expected,Thanks. private void button4_Click(object sender, EventArgs e) { double[] BMI = {18.5,24.9,25,29.9,30}; for (int i = 0; i
21 Jul 2021 by OriginalGriff
As Dave says, a textbox only has one Text property, and if you overwrite it, you lose teh previous content. If you want to display all the numbers in a single text box, then you either need to add a separator such as a comma or use a multiline...
21 Jul 2021 by Dave Kreskowiak
It's only showing the last value because that's exactly what you told it to do. When you set the Text property of a control, you are telling it to replace the previous value with a new value, NOT append to the end of the text. The TextBox will...
16 Jun 2021 by DsouzaOsmond
Hi Guys,My implementation of data has puzzled me as to how to represent the data.On a Gridview, i have monthly data populated dynamically, with months on the Grid columns.Now the task assigned is to go one level inside.For example: i select one particular month and the column...
16 Jun 2021 by Member 15250293
DsouzaOsmond Did you find any leads for expandable columns?
29 May 2021 by Member 15078716
I have read about using buffers to move a ball on the screen. I am using C++11 on Microsoft Windows 32 bit. No visual C++. No Visual Basic. No .NET. No Active X. Please. Thank you. Would you please look at what I have and adjust it to correct...
26 May 2021 by lil_mint
I am making a simple calculator which only adds the user's input. Based on what I have tried I want to put the results in box just like the entry field. What should I add or edit? I also want to ask on how to bold the error message.. Thank you. ...
26 May 2021 by Richard MacCutchan
See GUI Programming with Python: Text Widget[^]
6 May 2021 by Allan Nanks
i am working on a standalone core java project using graphical user interace. i have created buttons to show days of the week from sunday to saturday. now the problem is that i want to create buttons such that when the user clicks on a day, they...
4 May 2021 by Preston Felber
We have prewritten code that we need to make into a game board in a Java GUI project. I have created game boards before but I am VERY new to programming and don't want to revert to the way I did it last time. Our teacher gave us some code for a...
4 May 2021 by Richard MacCutchan
You just need to add the code that iterates through the array and adds the buttons to your game board. Something like: for (int i = 0; i
26 Apr 2021 by Kevedvoc
String toPrintOnGUI = ""; while (resultSet.next()) { for (int i = 1; i
26 Apr 2021 by Richard MacCutchan
Your definitions are not valid. Try the following: JComboBox comboBoxSelection = new JComboBox(); comboBoxSelection.setModel(new DefaultComboBoxModel(new...
26 Apr 2021 by Nandini Sathyan S
I have been creating a gui which has a comboBox.I am not able to initialise the combo box items and I get syntax error on below pasted code. What I have tried: ScrollPane scrollPane = new JScrollPane(); comboBoxSelection = new JComboBox();...
28 Mar 2021 by saif khan 2021
I have designed two screens in PyQt5 It is runnig fine on startup every button is working. But when I click back button on second screen that is Ui_Dialog to go to first screen then on first screen If I click again any button It gives error that...
23 Mar 2021 by Richard MacCutchan
It really is time ... Google Maps API in a Python GUI - Google Search[^]
17 Mar 2021 by Jeevan83
I am a beginner want to do a GUI based server client TCP based programming in visual studio. cannot find it on net. please give me any completed programs or sources from where I can perfectly learn.
15 Mar 2021 by Peter Huber SG
Covers in depth all WPF color related issues from Color Models, ColorPickers, Colors to helpful methods for mixing colors and making them brighter and darker.
10 Feb 2021 by Richard MacCutchan
This is not a programming question. You should post it at the IronPython support site.
27 Jan 2021 by Brian Lowery
I am interested in building a bitmapped schematic editor. And yes I know that this has probably been answered before. I found this site by accident while searching the internet. It was Michael Scanlon's response to a user who wanted to do this...
27 Jan 2021 by CPallini
Quote: I worked with two experienced programmers, however, each of them gave up on the project. Maybe there's agood reason for they leaving. Search for a open source project having a similar target and have a look at the code. probably you...
20 Jan 2021 by Richard MacCutchan
UpdateLabel() You forgot to pass the temp value to the UpdateLabel function. It should be: update_label_1(temp) [edit] Corrected the function name. [/edit] [edit version="2"] I have reviewed your code and the issue is slightly more...
19 Jan 2021 by Member 14589606
Im trying to display the real time temperature of the sensor on the GUI, Im able to get different temperatures and updated temperaure in the console but when I link it to a label in the GUI, it does not update, it only updates for the first time...
12 Jan 2021 by Richard MacCutchan
See tkinter — Python interface to Tcl/Tk — Python 3.7.9 documentation[^].
12 Jan 2021 by OriginalGriff
This is not a code conversion service: we are not here to translate code for you. Even if we did, what you would end up with would not be "good code" in the target language – they are based on very different frameworks, and what makes something...
25 Dec 2020 by Stanley Robinson
I am having problem with having a GUI interface to be implemented via a second file which just contains the file to read, plots made and some new functions to be evaluated based on that. I am trying to create a GUI application using Tkinter. The way I am doing is as follows. I have a...
25 Dec 2020 by Member 15030566
use if __name__ == "__main__" in both programs . The use import Background.py in GUI.py and save both files in same folder. try one small demo first with a simple GUI
2 Dec 2020 by Member 15010622
Hello, Sorry for the late answer. I had the same problem that you, so I developed a library to control directly the Remote app using the pywinauto library. Sorry, there is no doc or comments. Let me know if you have troubles. ...
11 Nov 2020 by Richard MacCutchan
I strongly suggest you go to Graphical User Interfaces with Tk — Python 3.7.9 documentation[^] and see how to construct a well ordered tk application.
11 Nov 2020 by Sreeraj Nair
I am new to Python, trying to make the Launch TFL App button open another GUI called "Menu GUI" but I don't know what to do for the def open_Menu(): function below. I want to use the popup GUI below as a launcher which takes the user to my main...
7 Nov 2020 by Richard MacCutchan
OK, so a longer look at the code reveals that your program is designed to do nothing. 1. The definition of the launcher button: button = Button(root, text = 'Launch TFL App', command = MainMenu, bg = "black", fg = 'white', padx = which calls...
2 Nov 2020 by Gerry Schmitz
The problem is, you don't know how to write "generic" code. The "pattern" here is that you're using letters of the alphabet and you should be able to create a "loop" that steps through the alphabet and does it's thing with some "common letter...
2 Nov 2020 by Member 14981080
Last week I was meant to do this Java exam based on this code. Our tutor insists that this code works but I showed it another software developer and he insisted that the code sucks. I didnt go through with the exam as I feel Im not trained...
18 Oct 2020 by Sakshi Nikam
Q1. Grade Processing System University grading system maintains a database called “GradeProcessing” that contains number of tables to store, retrieve and manipulate student marks. ‘Java2’ is one of the tables which contains following attributes...
18 Oct 2020 by RickZeeland
You can use a database design tool like DBeaver to create the database and tables: database-design-programs[^] A lot of databases come with their own tool, e.g. PGAdmin for PostgreSQL. These tools are also handy for viewing and checking the data...
17 Oct 2020 by OriginalGriff
You have been told what the table you require is called, and what columns it should contain. So work out what datatype those columns should be for starters - Text based data goes in NVARCHAR columns; numeric data in INT, FLOAT, or DECIMAL; and...
2 Oct 2020 by Evoluteur
A web color picker which looks like the one in Microsoft Office 2010
26 Sep 2020 by lelouch_vi 2
Hello, I'm currently studying java and I'm just wondering if in java you really need to code every component of your GUI unlike in visual basic where there is a drag and drop approach? Do I need to code every button, textbox, etc. in java? I know...
26 Sep 2020 by Maciej Los
Yes, there is few: WindowBuilder | The Eclipse Foundation[^] JFormDesigner - Java/Swing GUI Designer | FormDev[^] Designing a Swing GUI in NetBeans IDE - Tutorial[^] Good luck!
26 Sep 2020 by Richard MacCutchan
Go to The Java™ Tutorials[^] and see the section headed "Creating Graphical User Interfaces".
15 Sep 2020 by Sergiy P
I want to write code in CLion or maybe Visual Studio IDE, but I found no ready solutions for such cross-platform development. My app needs only basic GUI things (buttons, text areas, alert dialogs etc.) as well as working with files and http...
2 Sep 2020 by udi orit
For example, if I'll want to change to "Copy" string under "edit" menu on notepad. What I have tried: I am trying to do the following: use enumWindowsProc (works well): BOOL CALLBACK enumWindowsProc( __in HWND hWnd, __in LPARAM lParam...
2 Sep 2020 by Richard MacCutchan
You cannot change it easily as menus are held in the application resource section. It is possible to modify resource items, but should be done with care as it could easily make the application unusable. See Adding, Deleting, and Replacing...
7 Aug 2020 by Member 14900256
I have used the pyautogui module to automatically take pictures using Imaging Edge Desktop Application. The problem is I'd like for this code to run headlessly. I've considered things like Xvfb and virtual displays. My question is do you see any...
27 Jul 2020 by Member 14900256
Hello, I am trying to automate Imaging Edge Desktop using pyautogui. I was able to get this to work using the attached code( see What have you tried). The problem is I'd like to have this program control my camera autonomously without a...
22 Jul 2020 by honey the codewitch
Diving into some of the core plumbing behind the Windows operating system
17 Jul 2020 by honey the codewitch
Add a flexible knob control to your .NET projects
12 Jul 2020 by honey the codewitch
PianoBox is a customizable musical keyboard control for Windows Forms. This is the first part of MidiUI.
25 Jun 2020 by Member 14873171
we are coding a quiz on netbeans basically what the submit button does is when you click it, it's supposed to look for a match of the answer you selected from the correctAns string and adds a point if it's correct, if not it displays "wrong...
25 Jun 2020 by Patrice T
Quote: what's wrong with the code? Your code sets addedScore accordingly to answer is correct or not, but you do nothing with it. You get oldscore from an objet (GUI ?) but it is not updated after that.
15 Jun 2020 by Garth J Lancaster
Well, if it were me, I'd be looking at using maybe 'Nancy' to add a WebGUI to my app - obviously there's a lot of ifs/buts/whens etc to consider, but for example, it means you dont need to deploy an IIS component, because you can go the Nancy...
15 Jun 2020 by fanoftheplanet
I have a VB.NET forms application running on a machine. What I would like to do is add a webpage to the app, so I can remotely login and control the app. E.G: Much like the settings page of a router. So the machine with the app running will act...