899 Topics

Member Avatar for
Member Avatar for Namibnat

Hi there, I would like to be able to change a button during the runtime of a gui. I can change the value no problem (set Label) but I need to change the size of the button as well. I have managed to change it with SetSize((120, 30)) but then …

Member Avatar for Namibnat
0
276
Member Avatar for HelpMeIT

Simply put i would like to open a new form as simply as possible using a button i looked at this [URL="http://www.daniweb.com/forums/thread99518.html#"]http://www.daniweb.com/forums/thread99518.html#[/URL] but it confused me i dont want any values passed on i just simply want it to hide the old form and open then new form can this …

Member Avatar for House_of_Dexter
0
2K
Member Avatar for GReddy4u

I'm attempting to add a skip intro button within the intro. I've tried using methods that have worked with regular animations but they aren't working. I tried this code with no luck so I'm hoping someone else has something that will work. [CODE]monkey_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); function mouseDownHandler(event:MouseEvent):void { navigateToURL(new URLRequest("http://www.domain.com/")); }[/CODE]

Member Avatar for rajarajan2017
0
264
Member Avatar for basslover

Hi.. right now i'm doing hangman project, and i have some problem to deal with. As you know, hangman game consist of many letters button (A,B,C,D,....Z), and usually when the user click a button, it became disable. I already know how to disable it, which is [code] private void btnQ_Click(object …

Member Avatar for basslover
0
130
Member Avatar for GReddy4u

If a mod comes across this thread feel free to delete it, I've re-posted it in the html forum since it has more to do with html, although it does deal with js as well. joshsonunionsquare dot com/index1.php I just added a 3rd button on the main section titled 'Photos' …

0
77
Member Avatar for Ulukay

I got a button array of 40 buttons And i handle all the button events in 1 sub . But i need to know what button is pressed. Can someone help me ? [CODE] Private bttonArray(41) As Button Public Sub Hoofdscherm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load …

Member Avatar for morke
0
552
Member Avatar for P00dle

Hi all, I've been google'ing my backside off in search of a good example/tutorial for java gui's. Could anyone supply me with a link to a website that could supply a tutorial and/or some examples? Would be great, thanks. P.S. I use Eclipse, with no GUI editors, so I need …

Member Avatar for jbennet
0
376
Member Avatar for nertos

Hi, i have a little problem, i dynamic generate a buttons in two columns [CODE=c#] for(i=0;i<=10;i++){ Button prz = new Button(); prz.Location = new Point(12,40+i*25); prz.Name = "But"+(p-i)+"up"; prz.Image = Image.FromFile(picture_from_file_1); prz.ClientSize = new Size(20,20); prz.Click += new System.EventHandler(this.Button_Click_Code); Controls.Add(prz); Button prz1 = new Button(); prz1.Location = new Point(45, 40 …

Member Avatar for nertos
0
334
Member Avatar for nikeetavanjara

when we use download data() of webclient() , it returns the data in the form of bytes... then this bytes we do response.binarywrite() such that it opens dialog box to "save", "open" , "cancel" is there any way that we can trace programatically, that user has actully save button to …

1
87
Member Avatar for cVz

HI there. We are currently creating a page which contains (a) 10 Check Boxes (b) for each check box there is a radio button list with 10 values. What we want to achieve is the following When e.g. The first checkbox is checked, the forst radio button list should be …

0
104
Member Avatar for gedas

hi everyone, im trying to create a little form that would simply keep the count of people that have voted and the score of the votes . here is my form in static html [CODE]<form name = "contestants" method="POST"> <font size = "3" face="Arial" color="#dddddd"> <input type="radio" name ="contestant" value …

Member Avatar for Atli
0
144
Member Avatar for denni2727

At the moment Im developing a java application but Im having a problem. Im using a JFrame that takes different JPanels, I mean i change its ContentPane for another JPanel everytime i want to show new information. Im using a database too, im reading data from it im writing them …

Member Avatar for denni2727
0
219
Member Avatar for arshad115

hi,i am making trees and i want to draw the structure of the tree in windows forms applications.since the class tree has the access to the trees root pointer.so only a member function of the class can draw the nodes of that tree. but i cannot use the graphics pointer …

0
152
Member Avatar for garcon1986

Hello everyone, I've searched a lot of time today for a solution, but not succeed! I want to insert value from the radio button and checkbox into mysql database. Here is my code: insert.php [CODE] <div id="form"> <form method="post" action="process.php"> <h1>BESOIN </h1> <br><br> <label>Sujet:</label><input type="text" name="sujet" />&nbsp;&nbsp; <label>Date: </label><input type="text" …

Member Avatar for garcon1986
0
2K
Member Avatar for karen.tao

I am creating a GUI program with java and when I run it, I get this stack of errors. [CODE] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at ButtonPanel$AllocateListener.actionPerformed(ButtonPanel.java:52) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at …

Member Avatar for darkagn
0
265
Member Avatar for kiranpreddy05

[code=c++]class StripChartWindow : public PegDecoratedWindow { public: StripChartWindow(const PegRect& Rect, const PEGUINT TitleId); virtual ~StripChartWindow() {} virtual PEGINT Message(const PegMessage& Mesg); private: PegStripChart* mpChart; PegStripChart* mpChart2; PEGUBYTE mID; PEGUBYTE mSin; PEGUBYTE mID2; PEGUBYTE mSin2; };[/code] This is the part which is givin me errors as below... error C2143: syntax error …

Member Avatar for kiranpreddy05
0
254
Member Avatar for llemes4011

Hello. I've been using NetBeans for quite a while, and I really like the Draggable components that it uses. In both the GUI Builder & the GUI itself. So, my question is, How do you drag components around in the UI like that? I've looked into the java.awt.dnd package, and …

Member Avatar for llemes4011
0
160
Member Avatar for nagatron

Hallo to all, I need help on how to put a radio button on the coordinates I want. . .I have this map program and I want to place the radio button on the specified place on the map. I don't know how. . .I have attached an image of …

Member Avatar for nagatron
0
193
Member Avatar for theonlyhugeg

ok i'll try to explain it simply and clearly. i have looked for a solution for a long time but they either didnt work and were too complicated for my little skill. so i have a main .swf which im working on. i then have buttons which when clicked, launch …

Member Avatar for JasonHippy
0
314
Member Avatar for ITfav

Basically what I want is to have the timer be reset back to 3 sec once the [COLOR="red"][B]Reset button[/B][/COLOR] is clicked. Preferably, I want the code to be in the same sub as the timer, though any better ideas are most welcomed. I've already put in comments where i want …

Member Avatar for TomW
0
305
Member Avatar for feoperro

Hi, I am trying to develop a GUI application that has a text area for a 10 digit number. I would prefer to right click on the field and select a max length and "number type" instead of coding an 'if function on keypress' and so on. Is this possible? …

Member Avatar for feoperro
0
508
Member Avatar for einjelle

This is a program for generating a state table for flip flop circuits. My problem is that the program does not get anything from the Textfield which gets the value for KAEquation, but for JAEquation, it works just fine. [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; /** * @author Jenielle …

Member Avatar for einjelle
0
189
Member Avatar for facadie

I have two form. Form 1 and Form 2 In form 1, i have a few textbox and and combo box. and BTNOk [to save] and BTNCancel[when BTNCancel is click, user are prompt whether to save file if there is changes in entry] Form 2 is the file where BTNCancel …

Member Avatar for Geekitygeek
0
214
Member Avatar for einjelle

This is really frustrating. Whenever I run this, a blank window frame appears The components only appear when I click the edge of the frame. Please check if I did something wrong: [CODE] import javax.swing.*; import java.awt.*; /** * */ public class FFGen{ public void First(){ /** * @param args …

Member Avatar for einjelle
0
243
Member Avatar for Ulukay

Okee here my problem When i create a button in the designer , i got options in the properties window for putting a Image in the button and even a ImageAlign But i want to change the image at runtime I looked at the button members , but i cant …

Member Avatar for Ulukay
0
174
Member Avatar for yorro

How do you set or adjust opacity of controls during runtime? (buttons/textbox/etc) I've tried this [CODE=vb] Public Sub setOpacity(ByVal opacity As Integer) Me.BackColor = Color.FromArgb(opacity, 255, 255, 255) End Sub [/CODE] But error returns that it controls does not support opacity. [B]I want my controls to load on runtime with …

Member Avatar for yorro
0
486
Member Avatar for root59

Hi there all I would like some help with my client and server program that uses gui to chat with each other. The program works fine the first time but somehow when i try to send a second message nothing gets displayed and the person object is empty. I dont …

0
148
Member Avatar for khess

This week my crystal ball tells me that Linux is due for a major makeover and not just another pretty theme: A real makeover. It's time for Linux developers to stop following the Windows and Mac Desktop deveopers and get creative on their own. I understand the argument against this …

Member Avatar for de_wizze
0
193
Member Avatar for ddanbe

Hi all, I have made (just to learn C#) a calculator program, which is working OK. I made a Round button class for it, but the edges of the buttons still look "crispy". I set [B]SmoothingMode [/B]and [B]PixelOffsetMode[/B] to [B]HighQuality[/B] but it seems to have no effect. Is this once …

Member Avatar for emarshah
0
868

The End.