4,919 Topics

Member Avatar for
Member Avatar for killingmonk

I have this .js file called by my page. The function I'm caling with my onclick is working before the button is clicked. window.onload = function() { document.getElementById('clickMe').onclick = testOne(); } function testOne() { var para = document.getElementsByTagName('p'); var length = para.length; for(i=0; i<length; i++) { document.writeln("+"); //document.getElementById(para[i]).style.font = "Arial"; …

Member Avatar for Matt_17
0
211
Member Avatar for lewashby

I've always been able to navigate through my Windows drive after booting up in my Linux OS but ever since I got Windows 8 there seems to only my a 50/50 change of a successful mount. When I type this command sudo mount -t ntfs -o uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177 /dev/sdd4 /media/garrett/Windows I …

Member Avatar for lewashby
0
350
Member Avatar for nitin1

I have one project named P2PTicTac. I have one file named layout.java. and one with CLient.java. I have made simple GridView in layout file with 9 buttons in 3*3 Grid. I have run two threads in client.java. One for reading the data from server and one for writing data to …

Member Avatar for JamesCherrill
0
1K
Member Avatar for greenindia.hope

<div class="panel-body"> <div class=" col-xs-12 col-sm-12 col-md-12 col-lg-12"> <form class="form-inline" role="form" action="leadentry.php" method="POST"> <div class="form-group form-groupp"> <label>Business Name</label> <input class="form-control" type="text" name ="business_name" placeholder=""> </div><br> <div class="form-group form-groupp"> <label>Contact person</label> <input class="form-control" type="text" name="contact_person" placeholder=""> <div class="person" id="TextBox_person > <button id="add_person" type="button" value="Add more" class="btn btn-default btn-sm" placeholder=""> <span class="glyphicon …

Member Avatar for pritaeas
0
166
Member Avatar for mattster

Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very simple to use yet possesses the techniques seen in the more complex desktop applications such as Perl/Python/C/C++/C# etc. PHP has …

Member Avatar for Gideon_1
7
1K
Member Avatar for manateejoe

I am trying to create a GUI using Tkinter, that reads in serial data. I eventually want multiple check buttons (for each possible port), and when the checkbutton is clicked, I would like the raw data from the port to continuously print onto a textbox in the GUI. I did …

Member Avatar for woooee
0
2K
Member Avatar for basit_3

i'm making a programme in which there is a button to save new text file to disk, i make a programme but it not work help me what is the error i cant understand this private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { String^ add=textBox2->Text; String^ final=add+".txt"; ofstream save(final); save.close(); }

Member Avatar for NathanOliver
0
180
Member Avatar for Doogledude123

I have a custom ListCell in which I have methods to move the position of the cell to the right or left, but I want a button to be shown similar to deleting a Conversation in Messages on iPhone. If I add a new ImageView, which will act as the …

Member Avatar for Doogledude123
0
705
Member Avatar for vegaseat

This 'sticky' thread is for working examples of Python GUI code. Note that most wxPython examples have their own thread. Please use comments in your code to help the reader. The example code should be usable as a template, so folks get a feel for the toolkit and can use …

Member Avatar for vegaseat
9
45K
Member Avatar for tNicknames

Can I do ajax on 'Leave page' button? Below is my code: window.onbeforeunload = function (event) { var message = ''; if (typeof event == 'undefined') { event = window.event; } if (event) { event.returnValue = message; } return message; }

Member Avatar for pixelsoul
0
397
Member Avatar for tnd2491

I have 2 buttons name as "Build Start" and "Build Stop". what i want is when i click the stop button it will stop the execution of Building of all the projects. I have tried the Backgroundworker class but when i use the RunworkerAsync() function it will build only one …

Member Avatar for cgeier
0
1K
Member Avatar for Niloofar24

Hello. Is there any other way for not using the submit button? <?php $user_choice = $_POST['font_styles']; if ($user_choice == "font_style_1"){ $font = 'firstfont'; }elseif ($user_choice == "font_style_2"){ $font = 'secondfont'; }elseif ($user_choice == "font_style_3"){ $font = 'thiredfont'; }elseif ($user_choice == "font_style_4"){ $font = 'forthfont'; } ?> <html> <head> <style> h1 …

Member Avatar for Niloofar24
0
429
Member Avatar for Dawnbox

I'm currently creating the game checkers(draughts) and have problem moving the pieces on the board. So far I have all the pieces on one side of the board ready where each piece is it's own function. For the pieces to move i've created a function called mousePressEvent. It takes the …

0
112
Member Avatar for dddomodossola

The question is: Is it simple to build a GUI that can be accessible remotely? We worked a lot on this and we built a GUI library, portable, lightweight, Python! Hosted on github https://github.com/dddomodossola/gui Here is an example (suggestions are gratefully accepted :-) ): import gui from gui import * …

Member Avatar for dddomodossola
0
460
Member Avatar for Slavi

Hey guys, I am making a few gui programs and I was wondering on this code .. class PaintChart(wx.Panel): def __init__(self, parent, data): self.data = data.split() wx.Panel.__init__(self, parent) self.SetBackgroundColour('BLACK') self.Bind(wx.EVT_PAINT, self.drawChart) def drawChart(self, e): dc = wx.PaintDC(self) dc.SetDeviceOrigin(30, 240) dc.SetAxisOrientation(True, True) dc.SetPen(wx.Pen('RED')) dc.DrawRectangle(1, 1, 300, 200) Here I set the …

Member Avatar for Slavi
0
417
Member Avatar for hkdani

Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize that command button in VB6--after the program is running that is. It's just that VB6 has not provided you with …

Member Avatar for hefaz
1
803
Member Avatar for basil60

Hi I'm using a template from the web for a tabbed GUI.[Click Here](http://informationsystems.uf9.in/rspcy/tabs_demo_real.html) I'd like to use php includes to existing files I've created. But if I do, all the tabs disappear. Can I do this, or something similar, without the tabs disappearing? The following is an example of how …

Member Avatar for diafol
0
326
Member Avatar for _ MSCrafter2006
Member Avatar for hefaz
0
261
Member Avatar for aymenchouikh

Hello i'm using visual studio 2010 express. I'm beginner. I'm searching how to design a button and to program it ? Thanks for any help

Member Avatar for ddanbe
0
413
Member Avatar for Navee30

Hello, I have a GUI with a timer... but when I put too many lines of code inside the timer method, the GUI lags. private void timer_tick(object sender, EventArgs e) { ... } How could I resolve this problem? I know there are 3 types of timer... Do I use …

Member Avatar for DaveAmour
0
196
Member Avatar for davidbr

I have this code which open a frame, count 5 seconds and then open another frame. Here i have some buttons that should open different frames but they all open same second frame that is already opened by counter. I don t get it why is this happen. Any idea …

Member Avatar for Gribouillis
0
481
Member Avatar for Dipanjana

Hi , i hv a website wherein there are many fields and at the end of the page , there is a cancel and save button .Whenever I minimize the browser window , all letters in the cancel button do not appear and only "cance" appear i want all letters …

Member Avatar for pritaeas
0
244
Member Avatar for Simon180

Am having a awful time trying to get this to work I googled it and even asked few friends about it, but it seams it more difficult than I expected it to be. basicly what am trying to do is capture if or when a user clicks on a button …

Member Avatar for Simon180
0
2K
Member Avatar for Niloofar24

Hello. This is a part of my script: <table id="table-5"> <thead> <th>ID</th> <th>URL</th> <th>Editor</th> <td>More....</td> </thead> <tbody> <?php include('connection.php'); try { $sql = "SELECT * FROM Data ORDER BY ID DESC"; $result = $conn->query($sql); foreach($result as $key => $row) { echo "<tr>"; echo "<td>" . $row['ID'] . "</td>"; echo "<td>" …

Member Avatar for Niloofar24
0
436
Member Avatar for vdls

**BUTTON SAVE** Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click get_kon() Dim simpan As SqlClient.SqlTransaction = kon.BeginTransaction Dim command As SqlClient.SqlCommand = kon.CreateCommand bersih() Try With command .CommandText = "InputAnalis5C" .CommandType = CommandType.StoredProcedure .Connection = kon .Transaction = simpan .Parameters.Add("@NONAS", SqlDbType.NVarChar, 12).Value = TextBox1.Text .Parameters.Add("@NAMA", SqlDbType.NVarChar, …

Member Avatar for djjeavons
0
866
Member Avatar for basketmen

Hi, guys this is phpmyadmin search page, for example i want to search keyword1 in few tables that already selected http://freakimage.com/images/525phpmyadmin_search_page.jpg then its go to the result page http://freakimage.com/images/248phpmyadmin_result_page.jpg now how to get back to search page again, that already have the few tables selected? i try push Back button …

Member Avatar for basketmen
0
186
Member Avatar for Niloofar24

Hello. There is a button in the page when i click it, a div will appear or disappear by toggling to the left and right. I want when the page loaded, user can only see the button and have to click to appear the dive. But the problem is that …

Member Avatar for lps
0
511
Member Avatar for paul-lucas

Hello, could you help me to make the submit button work! Thank you so much! <?php class XooWooCommerce { /** * Edited by HTC */ function show_my_schedule() { global $wpdb, $current_user, $xoouserultra; $user_id = get_current_user_id(); $sql = 'SELECT `id`, `member` FROM ab_staff WHERE `wp_user_id` = "' . (int)$user_id. '"'; $msgs …

Member Avatar for paul-lucas
0
463
Member Avatar for ccandillo

I have a tkinter app that has 2 frames. The frame on the left has a bunch of buttons and the frame on the right has a text widget. I use the create_buttons function below to make the buttons. Is there a way to have the button stay sunken when …

Member Avatar for ccandillo
0
769
Member Avatar for vulcano224

HI Guys, I am trying to Create a GUI in Python that calculate the average of three numbers. I am having some issues tring to create the three boxes where the user should enter the numbers, so can anybody please give me a hand? Thank you so much!!!!

Member Avatar for minyechil
0
425
Member Avatar for scomx

i have a tool strip button for bookmarks like the one in Mozilla fire fox or google chrome, i can add button and i can click it but i cant remove it , because that i added context menu to the tool strip with remove, so i want the code …

Member Avatar for scomx
0
1K
Member Avatar for spud91

Hi Guys I have a program thats supposed to generate 9 random objects made from lines and then allow me to save the panel showing the state of all 9 objects. Currently all 9 objects are being generated and when i click save the panel is being saved to a …

Member Avatar for JamesCherrill
0
405
Member Avatar for papuccino1

A THOUSAND apologies if this question has been asked time and time again. Google gave no results and Jeeves is retired so I come looking for help in the best programming forum around. [code=csharp]private void button1_Click(object sender, EventArgs e) { pictureBox1.ImageLocation=??????????? }[/code] My question is fairly simple, what do I …

Member Avatar for NetJunkie
0
2K
Member Avatar for Mike1986

Hi I did a Simpletron program in GUI interface, but when I want to print the instructions in the window, it will not be as I want to. I used JGrasp to run the program and it just prints the instruction after each and not the way I wrote it …

Member Avatar for JamesCherrill
0
471
Member Avatar for naz1234

I have Button A and Button B. How to make Button A, same with action like Button B ? For example , if I click Button A , it will do calculation x = 1 + 1 . Button B also will do that if I click at somewhere else. …

Member Avatar for Reverend Jim
0
223
Member Avatar for idmanner

Hello, I've been working on this chat program which has a gui. Basically for now im just pressing start then connect to get a connection. Start is for the server window and if you press connect that will be the client window. I can send messages from the client to …

Member Avatar for idmanner
0
291
Member Avatar for Pobunjenik

So I'm building this pretty simple top trumps card game as part of an assignment. I have the game logic built, the swing GUI is in place and I plan to do all the calculation on the server app and have it update the client up with the game's state, …

Member Avatar for Pobunjenik
0
688
Member Avatar for sandesh.ps.9

Hello,I've a gridview control and inside a cell, i've put 3 radiobuttons under a same group. I'm not able to get which radio button is selected through checked property. As checked property is giving false always, when i check it with breakpoint. How can i get a the selected value …

Member Avatar for johnny-bravo
0
4K
Member Avatar for Goldfinch

** I was building a program that is supposed to paint an image in a JPanel. I should be able to select an image (such as a JPEG) from the Open item in the File drop down menu and then it should be visible in a new window. However, the …

Member Avatar for Goldfinch
0
201
Member Avatar for adebayo.sas

In the course of installing adquick 2.4 as instructed. I came across this error Parse error: syntax error, unexpected '''' (T_CONSTANT_ENCAPSED_STRING), expecting identifier (T_STRING) in C:\xampp\htdocs\ads\install\index.php on line 1226. I HAVE JUST BOLDED THE LINE 1226 FOR EASY REFERENCE IN THE CODE. <? function startparsing () { $content = '' …

Member Avatar for pritaeas
0
2K
Member Avatar for kxjakkk

I'm trying to make a program that removes all occurences of a specified string from a text file. I'm having trouble with tying in everything to make it work, so that the user is prompted to enter a string. This is what I've got: import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; …

Member Avatar for JamesCherrill
0
458
Member Avatar for seanj1992

hi everyone, i am doing a pizza ordering Gui. i am stuck on 2 things, i am trying to get the receipt string to store the items that are checked. they are multiplying when they are displaying. the second is displaying the string in the jtext area, any help woud …

Member Avatar for Traevel
0
187
Member Avatar for ramsiva

In my project i have a problem is: Without clicking browse button we have to get name using <input type="file"> any body help me to clear this one <img src="<?php echo $image; ?>" style="width:190px; height:150px;" /> <input type="file" name="userfile" id="userfile" value="<?php echo "Penguins.jpg"; ?>"> i am not getting the userfile

Member Avatar for cereal
0
197
Member Avatar for mattyd

Hello. This is probably something very simple that I am missing (Or something that I have done wrong), but upon filling in and validating all fields of the form and pressing the "Register" button nothing happens; Usually the page would reload as if the form had been submitted. The code …

Member Avatar for Troy III
0
399
Member Avatar for HenCa

I have a GUI which I have compiled it with Cygwin and it talks to an electricity meter using Chinese protocol DLT/645. However, in some other parts it seems that IEC1107 is used to communicate. The thing is I would like to know how I can used the current GUI …

0
62
Member Avatar for shayan_doust

Hello there. Currently, I am trying to develop a graphical number guessing game in JAVA. This is my first project in java. Here is an insight in the application: When the application is first opened, a random number (1-100) is assigned to a variable. When the user enters their guess …

Member Avatar for TekknoDraykko
0
535
Member Avatar for patk570

Hello everyone, Have a code that works well but I need it to open to the right on hover. Right now its going below the element and making my page look bad. Here is the code i have: <style type="text/css"> .hide_img3 { display: none; } .hide_img3 { background: none repeat …

Member Avatar for sudhir869939
0
2K
Member Avatar for Suzie999

I'm currently using this code to restart app with admin rights. // If application can not write to path, alert user. if (!pathiswritable) { if (MessageBox.Show("The application cannot use the current location\nRestart as administrator?", "Need elevation", MessageBoxButtons.YesNo) != DialogResult.Yes) { Exit(ExitError.NOT_WRITABLE_USER); } ProcessStartInfo SelfProc = new ProcessStartInfo { UseShellExecute = …

Member Avatar for Suzie999
0
293
Member Avatar for mattyd

Hello, I am experimenting with implementing jQuery to validate my form (I hired a programmer one year ago to do this but it seems she made a mess of it so I am attempting to rebuild it.) I have multiple fields in my form and I wish many of them …

Member Avatar for jj.dcruz
0
366
Member Avatar for Teo_1

import random print(" Welcome to the guess my number") print("I'm thinking of a number between 1 and 50") print(" Welcome to the guess my number") print("try guessing in 10 attempts") num=random.randint(1,50) guess = int(input()) tries = 1 while guess != num and tries !=10: if tries ==3: print ("Do you …

Member Avatar for vegaseat
0
155

The End.