The objective is to have the user guess the letters of a word which has to be the name of an object that can be seen. The user is presented with an array of 26 buttons corresponding to the 26 letters of the alphabet. Additionally the user is presented with a partially obscured picture of the object, underscores ( _ ) in place of each letter of the word, a simple graphics (consisting of lines & ovals) showing the hanging platform & noose. The game proceeds by the user clicking on a single button at each turn. On each successful …

Member Avatar
+0 forum 0

Hi , In my application I have to implement Tooltip for Link Button. When mouse hover on link button , I should get a Tooltip. It can be a Telerik ToolTip as well. Please help me with this concept. I need step by step process for implementing this. Regards.

Member Avatar
Member Avatar
+0 forum 4

i'm newbie in php. need more help to finish my project..i have 3 page: 1st page : status button(i'm using image button for each status and have 5 status button) code for image button: [CODE] <a href="negeri-semak.php" ><INPUT TYPE="image" value="" src="pictures/icon/image005.gif" width="230" height="37" border="0" id="RAKAN MUDA" onclick="javascript:this.form.submit()" name="BTN" alt="RAKAN MUDA"></a> [/CODE] 2nd page : state button(also image button for each state and have 14 state button) [CODE] <a href="search-form.php" ><INPUT TYPE="image" value="" src="pictures/icon/image010.gif" width="230" height="37" border="0" id="MELAKA" onclick="javascript:this.form.submit()" name="BTTN" alt="MELAKA"></a> [/CODE] 3rd page : search form [CODE] //status and state chosen from 1st and 2nd page display on top page …

Member Avatar
Member Avatar
+0 forum 3

I don't know javascript very well... I have a form with the name register_group and a radio button for pc_parade_float with yes/no options. I want to display a different comment depending on if they clicked yes or no in the radio button. The code I have is as follows: [CODE]<script type='text/javascript'> if(document.register_group.pc_parade_float[0].checked==true) {document.writeln('use PayPal to pay your &#36;75.00 registration fee.')} else {document.writeln('use PayPal to pay your &#36;50.00 registration fee.')} </script>[/CODE] Note that this code is outside the <form></form> if that matters. If I change the value of the button it does not change the value of the output. What am …

Member Avatar
Member Avatar
+0 forum 1

Hello, I am trying to build a GUI with 2 textfields (1 for tutoring time & 1 for payment for session), a textarea (display the inputs in 2-D array & show report), and a few buttons (ENTER, RUN REPORT & QUIT). The two textfields are for the user to enter in random numbers (one number in each textfield). I then want the person to be able to hit a enter button that will then take these two values, put them into a two-dimensional array, and then display those values inside the textarea. The person should then be able to enter …

Member Avatar
Member Avatar
+0 forum 2

Hi ! i m working on asp.net project and using c# for it , i want to place my delete button on the right most of the gridview , by default button is placed at left side of the grid , can any one please help me . as i m new in c# Best Regards Waqas

Member Avatar
Member Avatar
+0 forum 2

I am writing a program, but I cannot find what is wrong with the code. Only need to show one MP3, or an error message if there are any missing fields or an incorrect entry for seconds. It is not storing information about previous songs; it just display the current MP3. Here are the problem entire descriptions. [B]Create a class MP3 with instance variables for: artist, song, album, track length (in seconds)[/B]. Provide a constructor, get/set methods, and a toString. method. The toString method should convert the track length into minutes and seconds. For example, 265 seconds would be displayed …

Member Avatar
Member Avatar
+0 forum 5

Hello. I am struggling to create this website. It looks great so far. The 2 problems that I am having are trying to add button functionality to the slideshow as well as make it so the images are hyperlinked to another page. If you could help me I would be very grateful! Here is the JavaScript: [CODE]<script> var slideShowSpeed = 7500 var crossFadeDuration = 2 var Pic = new Array() Pic[0] = 'images/dr. gold.png' Pic[1] = 'Images/Award.jpg' Pic[2] = 'images/Brandi.jpg' Pic[3] = 'images/dream spa (2).jpg' Pic[4] = 'images/Kyle Richards (1).jpg' var t var j = 0 var p = Pic.length …

Member Avatar
+0 forum 0

I hate to complain, but I'm not terribly impressed at the documentation for utilizing binding, it covers quite a bit but not common stuff, or maybe I'm just missing it. I was wondering how I could make the <RETURN> key equivalent to a <BUTTON1> click when a button is highlighted (from being tabbed over to, such as in the case of a search button. Also how would I make this work for multiple buttons, or even if the user hit <RETURN> in the Entry field? Ideas? I'm sure this one is way easier than it seems.

Member Avatar
Member Avatar
+0 forum 4

hi, I worked around to modifying regular expression below but i could't get what I need. I google it, many things found but not for what i want. [CODE] Dim valid AS Boolean = Regex.IsMatch(TextBox1.Text, "^(,?\d+){0,20}$") [/CODE] Allow numbers exactly like 32,1,6,32,12,21,21,54,675,8,4,3,2,9,0,21,21,21,43,744 in TextBox1. Perfect. NOW i want 20 numbers as but this time "real numbers" (of type double), separated by commas in TextBox2 like (32.43343,1.43,6.0,32.434334,12.43432,21.8776,21.89,54.22,675.1232,8.453,4.5454,3.87,2.00,9.65,0.0,21.12,21.2,21.1,43.5,744.3633). Please help me out. thanks ...

Member Avatar
Member Avatar
+0 forum 4

Hello everyone, I've visited a lot of websites, like Daniweb, and found effects on the sites pages that are really of a considerable design. I know it's becoming common, but I really get impressed at seeing such things. When you put the mouse cursor on some button it becomes highlighted immediately without the need to replace the image of the button with another one. Also, there are the menus that appear on the top of each page. So, I just wanna know... Is it done using Javascript or what? Thank you.

Member Avatar
Member Avatar
+0 forum 2

I'm trying to learn java. Now I want to test the buttons, but I don't understand the part of the layout. Can't I just write button1.setLocation(50,50); or someting like that ??? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

Hi. I am working on improvement of my program. Here is it's code. [CODE]import wx class bucky(wx.Frame): def __init__(self, parent, id): wx.Frame.__init__(self, parent, id, "Testing erea", size=(280,400)) panel = wx.Panel(self) food = wx.Button(panel,label='Food',pos=(10,10),size=(80,40)) drink= wx.Button(panel,label='Drink',pos=(100,10), size=(80,40)) self.Bind(wx.EVT_BUTTON, self.drink, drink) self.Bind(wx.EVT_BUTTON, self.food, food) def food(self, event): box = wx.TextEntryDialog(None, 'What is your fav food?', 'Title', 'enter food name') if box.ShowModal()==wx.ID_OK: answer = box.GetValue() wx.StaticText(self, -1, answer, (10,60)) def drink(self, event): slider = wx.Slider(self, -1, 50,1,100, pos=(10,60), size=(260,-1)) self.Bind(wx.EVT_CLOSE,self.closewindow) def closewindow(self,event): self.Destroy() if __name__=='__main__': app=wx.PySimpleApp() frame=bucky(parent=None,id=-1) frame.Show() app.MainLoop() [/CODE] 1.My program has two buttons: "Food" and "Drink". When I click "Food" a …

Member Avatar
Member Avatar
+0 forum 1

The Java code I am writing is required to have the first, next, previous, and last buttons, and my program still needs to sort. I believe there is something wrong in my codes for each button. I currently have this (of course with each "" for each button. Any ideas how I can get the buttons to work properly and still keep my sorting function. Or just have each button do what they should do. After I click on the last button, and view the last DVD, the next button is supposed to take the GUI back to the beginning …

Member Avatar
Member Avatar
+0 forum 3

How can I sort label names on buttons within a form. Automatically sort the names and put into the correct place within the form. A-Z order sort can be left to right. Want some sensibility to the form not all mixed up.

Member Avatar
Member Avatar
+0 forum 4

wxpython i cant figure out the problem. it says that the global neme 'panel' is not defined. Traceback (most recent call last): File "C:\Users\Daniel\Desktop\Duffan Teorem", line 34, in clickbutton wx.StaticText(panel,-1,media,pos=(150,240)) NameError: global name 'panel' is not defined could someone please help me to figure tha problem out? Thanks in Advance import wx class duff(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Duffan Formula', size=(400,300)) panel=wx.Panel(self,-1) g=wx.StaticText(panel,-1,"________________________________________________________",pos=(10,65)) z=wx.StaticText(panel,-1,"Welcome to Duffan Formula!!",pos=(10,10)) r=wx.StaticText(panel,-1,"Here you can discover the score of any girl you are looking for.",pos=(10,30)) q=wx.StaticText(panel,-1,"Use it, with Knowledge!",pos=(10,50)) a=wx.StaticText(panel,-1,"What`s her name?",pos=(10,110)) b=wx.StaticText(panel,-1,"What`s her beauty score?",pos=(10,150)) c=wx.StaticText(panel,-1,"What`s her body score?",pos=(10,190)) average=wx.StaticText(panel,-1,"Average: ", pos=(80,222.5)).SetForegroundColour('blue') self.one=wx.TextCtrl(panel,-1,'Enter name',pos=(110,108),size=(80,20)) self.two=wx.SpinCtrl(panel,-1,'1',pos=(150,148),size=(60,20),min=0,max=100) self.three=wx.SpinCtrl(panel,-1,'1',pos=(130,188),size=(60,20),min=0,max=100) …

Member Avatar
Member Avatar
+0 forum 2

Hey, I'm wondering if anybody knows a site with a good tutorial on how to create a slideshow with javascript. The type of slideshow I'm talking about is a popular type that companies are now using. Basically there are 4-6 buttons. When the landing page is static, the images just switch and slide across but when you click each button it will go to that respective slide. Here are website with examples: [url]http://www.silverpop.com/[/url] - If you click the right and left arrows on the right and left, you can see that the slide changes. However, this example doesn't have the …

Member Avatar
Member Avatar
+0 forum 1

[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 final String DEFAULT_ADDRESS = "ERROR: Invalid Address"; public static final String DEFAULT_CITY = "ERROR: Invalid City"; public static final String DEFAULT_STATE = "ER"; public static final String DEFAULT_ZIP_CODE = "ERROR"; /*** Instance Variables ***/ private String name; private String address; private String city; private String state; private String zipCode; /*** …

Member Avatar
Member Avatar
+0 forum 5

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

Member Avatar
Member Avatar
+0 forum 2

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 of doing this - one by annotating the button with the name of its associated method, the other by annotating the method with the name of its associated button... [CODE]@ActionMethod(name = "okMethod") JButton okButton = new JButton("OK");[/CODE] or [CODE]@ActionMethod(button = "okButton") public void okMethod(ActionEvent e) { ...[/CODE] All that's required …

Member Avatar
Member Avatar
+0 forum 11

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 .Top = 100 .Width = 2000 .Height = 500 .Visible = True .Caption = "Student 1" .DragMode = 0 End With End Sub Private Sub Com_click() Com.BackColor = &HFF& End Sub[/CODE]It runs but does nothing. any help would be very much appreciated.

Member Avatar
Member Avatar
+0 forum 18

Hello everyone! My name is Uriel, and I'm from the Philippines. I'm currently doing our machine problem in Java. I'm using the BoxLayout for this GUI. [ATTACH]20069[/ATTACH] I can't seem to find the correct set of codes to make these buttons function. What codes do I use for these buttons in order for them to function? Thanks a lot guys... Uriel

Member Avatar
Member Avatar
+0 forum 2

I have just started learning Basic, and i know you can create command butons from the virtual environment, but how do you create (and, more importantly, let the user drag around) them from code?

Member Avatar
Member Avatar
+0 forum 6

hi... i have multiple buttons in a jsp page .. consider a department page where i have 3 textboxes--- 1- dept number 2-dept name 3-dept location below these i have 7 buttons--- 1)next 2)previous 3)last 4)add 5)edit 6)delete 7)save when i click on the button how do i get results on the same page... for eg- if i press "next" the record next to the present record should appear in the textboxes.... likewise when i press "previous" the previous record should appear in the textboxes.... wat concept should i use??

Member Avatar
Member Avatar
+0 forum 5

I need to get codes for ADD DELETE SEARCH (WHICH GOES TO ANOTHER FORM WHEN CLICKED) UPDATE (WHICH UPDATE AND SAVES RESULTS) [ATTACH]19289[/ATTACH] just the code for that thank you! :) it's from a SQL Database;

Member Avatar
Member Avatar
-1 forum 2

Hi, I'm a relative newb to Python and I'm starting my first major project - a logarithmic graphing system. I'm using tkinter for the GUI part of the design, but I've run into a problem. Basically, I want my graph (a tk canvas) to appear in the same (root) window as the buttons that control it. How do I go about this? Any help would be greatly appreciated. Thanks in advance :) [code=Python] # plot of log line from tkinter import * import math def particleCount(decay, p0, time): p = (p0*math.e)**(-(decay*time)) return (p) # define root window root = Tk() …

Member Avatar
Member Avatar
+0 forum 2

Hi all, Hopefully someone can help me out with this one. I have a form which gets populated by 15 buttons dynamically at runtime (these need to be dynamic as there will be a user config file at some point) What I need these buttons to do is to open a specific form when clicked. Which form that opens will be dealt with in the config file. [code=vb] Public Class frm_MainScreen Private Sub frm_MainScreen_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim count As Integer Dim ImageDir As String Dim xpos As Integer Dim ypos As Integer xpos …

Member Avatar
Member Avatar
+0 forum 2

Hi everyone, I have a flash files, which has navigation menus and the contents. I just want to know how to edit the name of the buttons? Example it has 4 buttons and these 4 buttons is linked to each others. Home Home Home Home If i change one of these, the rest will change as well.

Member Avatar
Member Avatar
+0 forum 3

I am currently coding a file browser in C# and I've never used C# before. I'm trying to make a list of files that will become active (ie: change skin) when I click on one. The problem is that I have no idea how to do so. Current implementation: Added buttons for each file in the directory inside loop and change skin to look like labels. Desired: Buttons will change skin when clicked on. I think I should be writing an event handler but I don't know how to add an event handler to a button that is declared inside …

Member Avatar
Member Avatar
+0 forum 3

There are already 2 checkboxes to change to bold and italic. Now I want to make four radio buttons to change the font of the saying "say it with style!". Below is my code. [CODE]//******************************************************************** // StyleOptionsPanel.java Author: Lewis/Loftus // // Demonstrates the use of check boxes. //******************************************************************** import javax.swing.*; import java.awt.*; import java.awt.event.*; public class StyleOptionsPanel extends JPanel { private JLabel saying; private JCheckBox bold, italic; // have a button for style1, button for style2, button for style3 private JRadioButton style1, style2, style3, style4; { style1 = new JRadioButton ("Arial", true); style2 = new JRadioButton ("Times New Roman", true); …

Member Avatar
Member Avatar
+0 forum 6

The End.