899 Topics
| |
i am working on a database application project and i need to put some user authorization where it will change the visibility of button based on the role. so i save all related form name in the database then i retrieve all the form name from the database into my … | |
[CODE]/*********************************************************************************** * * File: Customer.java * * Author: Austin Smith * * Date: 04/04/2011 * * Description: The Customer class handles all client information * such as name and address. * **********************************************************************************/ public class Customer { /*** Defaults/Constants ***/ public static final String DEFAULT_NAME = "ERROR: Invalid Name"; public static … | |
Hi, I have a C++ program (built in Visual Studio 2010) and want to add a user interface to package it up. I've been reading around about windows forms and the win32 API, and found loads of tutorials showing how to create interfaces but I can't find any advice on … | |
Hey everyone, I'm new at visual c++ and MFC Applications, and so I am going through Ivor Horton's Beginning Visual C++ 2010 to make a drawing application through Microsoft Foundation Class. I added menu bars for options, such as shape(rectangle, line, and ellipse) and select colors (black, red, blue green). … | |
Hello, it seems I am having some difficulties with my project in witch I am training my C# skills. Well, the problem is I have wrote the biggest part of the code, but I have problem to finish what i started, so I left blank code lines. Here is a … | |
Hi everyone, I know there's a section designated for Mobile Development but, that's really dead and It wouldn't hurt anyone if I posted here - It's a C# related question anyway. I'm making a Naughts and Crosses game on my Windows Mobile - HTC. The game works fine, I can … | |
Hello, I'm re-creating the game Riveter using wxPython. I have all the basic fundamental groundwork done, and now I'm just trying to polish certain aspects. I am, however, having problems removing buttons from the screen. I have a panel, with a vertical sizer inside of it. Inside of that vertical … | |
Hi. I am trying to display a JFrame containing a JLabel with an image, and I can't get the image to display. The text appears fine. I've done this before with no problem, so I have no idea what is wrong. I've tried everything I can think of to fix … | |
Hi so basically im pretty sure i have all my code right and its compiling but for some reason when i run it the frame will load and then quit on me without saying anything i dont know why here is my code [CODE] import javax.swing.*; import java.awt.event.*; import java.awt.*; … | |
I have a Computer Science project due Monday. We have to make a game and use GUI in order to ensure ourselves a good score. I decided to make Hang Man. The class reads in a txt file of common SAT words (I'm a sophomore in high school, so I … | |
Hello all, i'm building a register page for my forum my problem faced is i can't disable the DAMN Button! while the user input duplicate or wrong format ! Pls help me! T^T [CODE]<?php include 'dbconn.php'; include 'Header.php'; ?> <form name="frmRegisteration" action="Register.php" method="post" onSubmit="return DataValidator()"> <?php $name = $_POST['txtname']; $password … | |
I'm creating a silly game, and the first thing I want to make is to tell you "You Lose" if the all that you control with the mouse is not inside the frame. I created a JComponent and every 20 milliseconds it is repainted (A thread does that). Inside it, … | |
I want to limit the size of a list control box. Let us take the following code: [code] import wx class Students(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(380, 230)) hbox = wx.BoxSizer(wx.HORIZONTAL) panel = wx.Panel(self, -1) self.list = wx.ListCtrl(panel, -1, style=wx.LC_REPORT) self.list.InsertColumn(0, 'name') self.list.InsertColumn(1, 'age') hbox.Add(self.list, … | |
Hey everyone, I have my code written I just have one error I am stuck on, any help is greatly appreciated, thanks in advance. My one error is on line 80 saying "illegal start of expression" pointing at the 'p' of public [CODE] import javax.swing.*; import BreezySwing.*; public class binary … | |
| Hello, I think I have the right location for this thread. I'm working on a C++ project where I need to create a GUI. I'm using wxWidgets, which is cross platform compatible. Now I know that Cocoa/Objective-C/not C++ is the option of choice for GUI programming on the Mac, but … |
Hey everyone, I am writing a GUI that allows a person to enter all their own numbers into an array, then they can search the array for any number they want. I have it almost completely written except for two compile errors I can't figure out The first one is … | |
[B]For the error and my question, skip to the bottom. I just posted all of the code in case it's needed.[/B] [CODE]/*********************************************************************************** * * File: Customer.java * * Author: Austin Smith * * Date: 04/04/2011 * * Description: The Customer class handles all client information * such as name and … | |
Hi everyone, I'm trying to create a program that you can use to communicate to other people with the same program. It connects to a Server program that gets your message an send it to everyone. I found 2 problems that I haven't been able to solve. The first one … | |
My program talks to a USB device over a serial connection. I have WMI ManagementEventWatchers watching for the device to be plugged in and unplugged. If I try to enable, disable, or change anything about the GUI from the event handlers for the WMI Events, I get a InvalidOperationException because … | |
My boss says we are going to be creating "some cross platform windows type apps that will be used for utilities and some user things" and he is interested in using Python. I have used Python and love it, but only with a web framework and low level scripting. I … | |
Hello, Could someone help me with this one? I have developed a small application. It has a MDIParent form on which the other childforms are displayed. I have a Panel on the MDIParent on which there are buttons to call up the MDIChild forms. Now my issue is, when anyone … | |
Hy, could anyone please told me how can i move controls on a windows form when i click for example, on a button? When i click on a button i want to increase the height of my form and move a textbox and label a little down... Please help.Thanks | |
Hi y'all. I'm looking for feedback and discussion on the use of annotations to eliminate the boilerplate code for linking buttons and methods. Hopefully this will be especially useful in RAD or rapid prototyping environments. Over the weekend I hacked together a little proof of concept that supports two ways … | |
Please i just downloaded the latest version of pygame, but I've been finding it difficult to install, okay when i unpacked it, everything came up, but i don't know which should go to which. Python experts in the house what do i do. | |
hey. i had a question regarding activating and making command buttons control visible in a form by manipulating it from another form. ex. form 2 command button will be activated by manipulating it in form 1. i had this syntax for form 1 cmdActivate [CODE] form2.cmdAdd.Enabled=false [/CODE] will form 2's … | |
Hello everyone :) I'm learning Java and I'm creating a pong game. There is something I don't understand how to do though. It's how do I make it so that when a button in one panel is pushed, it calls a method in another panel. Let me quickly explain the … | |
I have figured out how to create command buttons and have tried to change their general color, but to no avail. This is what I tried, but it did nothing: [CODE]Option Explicit Dim WithEvents Com As CommandButton Private Sub Form_Load() Set Com = Me.Controls.Add("vb.commandbutton", "BtnName") With Com .Left = 100 … | |
I want to draw an image at X Y position when the user click the mouse so I'm using an InternalFrame with layout set to NULL , inside a JFrame with Layout free - using netbeans here is the image class [CODE=java] package myPak_1; import java.awt.*; import java.awt.image.*; import java.io.*; … | |
I'm in the process of creating a program that would change a background color by pressing a button. Now, I already have everything set up. The background image is just an image of a rainbow, and when a button is clicked, it would change the whole background color. The thing … | |
Hi there guys, I would just like to know how I would go about by searching through a <select> list in an HTML page? I assume one would use JavaScript for something like this. On the HTML page there's a textbox which the user can type in a keyword, and … |
The End.