I have two apps that are both open source, I am using Swift on iOS. I want to incorporate one into the other. The main App is a radio station, the second is a news feed. I want the news feed as a "sub project". After a few days of Googling I have added the sub-project as advised on the following pages: https://forums.developer.apple.com/thread/49659 https://curisious.com/the-correct-way-to-add-existing-project-to-workspace/ And I have tried to link the sub-project/framework as detailed here https://www.raywenderlich.com/126365/ios-frameworks-tutorial I seem to have got the first bit sorted, I have the newsfeed as a dependency to the radio player, but I am struggling …

Member Avatar
+0 forum 0

I'm trying to create a navigation menu that is a table of 4x5 boxes. The top 4 should have radio-style behavior that brings up a different set of 16 boxes below it when clicked. I'm also trying to have a default set of boxes that display pictures when the page first initiates and no boxes are yet selected AND when a box is de-selected. Lastly, I'd need for another table to display once an actually link (of the 16) is selected. I've given this my best attempt over the past few days, but I'm getting nowhere fast. Any help would …

Member Avatar
+0 forum 0

I am trying to display scores by what the user is requesting either 'Average','Total',or 'Both'. The following is my code for the loop_tester.php and below that is the code for my index.php. I am trying to add a switch statement to the index.php file that will sets values for only the average calculation if the user selected the "average" radio button, only the total calculation if the user selected the "total" radio button, both the average and total if the user selected the "both" button. After the user puts in the scores and then selects either 'average','total','both' it should display …

Member Avatar
Member Avatar
+0 forum 3

Hello. A section of what I am developing for my site requires the User to select an avatar for their account. 1)Instead of using visible radio buttons I have decided to allow the actual avatar image to act as the radio button for selection. I am receiving various results based upon the browser being used, different renderings and functionalities. (Please see attached screenshot for each browser) ![radioButtons.jpg](/attachments/large/0/4766f2f75cd1372c48aa15327f4d907b.jpg "align-center") I need to learn how to fix this and make it consistent across all browsers. Also, This link is to a JSFIDDLE example which I have been using to learn how to …

Member Avatar
Member Avatar
+0 forum 1

Hi guys I was wondering how to make a button that revealed one textblock on the first press, another on the second press, and a third on the third press. Also on the fourth press I want the button to change to another form. Is this possible?

Member Avatar
+0 forum 0

Hi., I'm new to php using yii framework.The radiobuttons in the radio buttonlist are not displayed in IE9 and above.The code written is as follows. The radio buttons are displayed well in all the remaining browsers and also below IE-9(even not in IE-9). how to resolve this issue. <div class="services_opts"> <ul> <li class="house_cleaning"> <div class="row-fluid"> <?php echo $form->radioButtonList($homeModel, 'HouseCleaning', array('1' => 'Please clean my house', '0' => 'Not Required'), array('separator' => '     ', 'class' => 'styled', 'id' => 'HomeServiceForm_HouseCleaning')); ?> </div> </li> <li class="car_wash"> <div class="row-fluid"> <?php echo $form->radioButtonList($homeModel, 'CarCleaning', array('1' => 'I want my car to be washed', …

Member Avatar
Member Avatar
+0 forum 1

How would I be able to have a button that's command is to return it's text in the button to a variable

Member Avatar
Member Avatar
+0 forum 2

Hi I am creating a quiz of 10 questions, using a string array. When the user clicks on the next button the next question follows. How do i set it up that when the user comes towards the end of the array the previous button changes to finish. I know how to change the name and the event handler for that button, but just cant work out how to get the code in to say its the end of the array so lets change the function of that button Thanks for any help

Member Avatar
Member Avatar
+0 forum 9

Hi All, Im still finding it hard to understand Paint method, Almost all websites i had gone thru, they are showing examples of how to use it in an applet. I just cant understand on how to use it in a GUI application by extending Jframe object. Here is one example, i want to create an oval shape Button to use it in my program. Im starting my program in this way, package painttest; import Javax.swing.*; import Java.awt.* public class PaintTest extends JFrame { private JButton oval; private static final int HEIGHT = 400; private static final int WIDTH = …

Member Avatar
Member Avatar
+0 forum 2

Hi All, I have created an application that allows a user to select a diectory, where we parse the photos, and upload to a database. The issue that I am having is that I have a button on the form found in the newJFrame.java class called upload that when pressed will call a method from a class that has be initalized in the photouploader.java class. This class has the main function for the application. It is being used to initalize and instatiate all of my classes, such as: fileParser fp = new fileParser(); //create new fileparser fp.setFiles(matches); //send in all …

Member Avatar
Member Avatar
+0 forum 2

Hi I am trying to create this application where I need to create a panel with different buttons. I can select a button and drag a button on to a canvas. Can anyone tell me how to create a dragging button.

Member Avatar
Member Avatar
+0 forum 2

IE is screwing up my site. the button headings dont show up in IE. Am i missing something here? all other browsers work fine. I feel like I am cursed via IE! Any help would be great! http://www.christmaslightup.com/

Member Avatar
Member Avatar
+0 forum 4

Hi my name is Abby, I need some major help. Its spring break and before we left class our teacher gave us a cruel assigment. I need to create 1 btn that makes a div - I need 1 brn that creates text using prompts - I need 1 btn that changes a div element, and I need one button that changes text. I have been working on this for 15hrs and still can't get. I want to enjoy my spring break. Please Help?

Member Avatar
Member Avatar
+0 forum 3

Hi everybody, I have this really little piece of code wich I want to implement inside wordpress: http://jsfiddle.net/YPAy6/9/ I simply need how or where to put the "function" and how to call it from a post in wordpress. Any idea? really thanks! PD: I'm loading all scripts from google's cdn and as far as I know its not necessary to load any other jquery cos wordpress its loading also its own version, anyway I'm not 110% sure about this.

Member Avatar
Member Avatar
+0 forum 2

Ive been stuck on trying to validate multiple radio buttons. Can anyone please help me out? I have about 5 radio buttons.......

Member Avatar
Member Avatar
+0 forum 1

Hi There. I joined here some three years ago when i created my ONE and ONLY Python program that actually functions as intended *YAY*, it's a little ugly and i've decided to return and learn more, improve it and maybe start up some new projects. I'm a little confused as this isn't the regular forum layout so if i make some mistakes, please forgive me and i'll do my best to mimimise the damage and learn. I've got some catching up to do :) My question for today. I use a locked window, you can't move it, resize it etc, …

Member Avatar
Member Avatar
+0 forum 3

How to add **Facebook like button** , **twitter share button** and **google plus button** on website?

Member Avatar
Member Avatar
+0 forum 6

Please help I've written this code and it works until i asked it to check if the radio buttons were checked and if none of them were checked to come up with an error alert and if one of them was checked to ask the user to confirm if it was the level they wanted. Please help!! <head> <title>Exam entry</title> <script language="javascript" type="text/javascript"> var level; result = true; msg=""; function validateForm() { var result = true; msg=""; if (document.ExamEntry.name.value=="") { msg+="You must enter your name \n"; document.ExamEntry.name.focus(); document.getElementById('name').style.color="red"; result = false; } if (document.ExamEntry.subject.value=="") { msg+="You must enter the subject …

Member Avatar
Member Avatar
+0 forum 3

I have created a form in netbeans with two radio buttons in a button group with a text box. Box 1 = Yes Box 2 = No when form loads no is already selected. I want the text box to be ivisible until user selects yes. but everything I have tried is not working. I put this in the form init part txtMajorAmt.setVisible(false); did not work. But after everything is loaded if I click on yes then no it starts working correct. any help would be appreciated. Thank you.

Member Avatar
Member Avatar
+0 forum 9

when i click in the search button it must display whatever i type in

Member Avatar
Member Avatar
+0 forum 18

Hello, I am trying to write a program that will calculate the volume of a hole to be dug for a pool or spa. I have some radio buttons that the use can select. Once a button is chosem, the user enters information and then can hit the calculate button to get the volume of the hole. I have already checked the GUI, and the math. I cannot get the radio buttons to work, nor can I get it to compile with the GUI and the calculate method in the same program. I get "cannot find symbol jbr.setSelected(true);" for all …

Member Avatar
Member Avatar
+0 forum 3

hi, i want to disable menu bar button(left-top) in office 2007 word document opened in windows form. please provide sample code. ASAP Thanks in advace...

Member Avatar
-1 forum 0

My goal is to create a clone of minesweeper. I've created a custon component that extends the JButton class, for each of the minesweeper buttons. I've called this new class SweeperButton. the game board is going to be made in another class by creating a two deminsional array of SweeperButtons, displaying them, and handling the logic for the game. That having been said, there's somewhere between 12 and 15 images that I need to load into the program as ImageIcons, so that my SweeperButtons can use them as icons. although I'd like the array of images to be loaded into …

Member Avatar
+0 forum 0

I am making a c# level editor and it is a bit out of my league but it should be good to learn oop algorithems. I have only just started and have already come across a problem. ** I need to load images as sprites and then create a button with the image on and the button's text being the images name. **The button will then call a diolog box which will contain a load of check boxes about which premade methods the sprite will use. All the information: checkboxes, name, image will later be compiled down to a class …

Member Avatar
Member Avatar
+0 forum 6

Well, I have managed to create controls during runtime. Dim Rbut As New Button() Dim Lbut As New Button() With Rbut .Location = New Point(590, y + 15) .Text = "Remove" .Name = FontName(ListBoxCount) End With With Lbut .Location = New Point(590, y + 45) .Text = "Lock" .Name = FontName(ListBoxCount) End With Me.Panel1.Controls.Add(Rbut) Me.Panel1.Controls.Add(Lbut) AddHandler Rbut.Click, AddressOf RemButton_Click AddHandler Lbut.Click, AddressOf LocButton_Click Private Sub RemButton_Click(ByVal Sender As Object, ByVal e As System.EventArgs) ListBox1.Items.Remove(Sender.Name) End Sub Private Sub LocButton_Click(ByVal Sender As Object, ByVal e As System.EventArgs) ListBox1.SelectedItem = Sender.Name End Sub Here Rbut is Remove Button and Lbut is Lock …

Member Avatar
Member Avatar
+0 forum 12

I am working on a project where i need to dynamically count how many buttons need to be added to a certain panel. Each button press has to change a variable in the parent class and then to excute generation of a child panel which also dynamically generates buttons. my problem is that even though I am able to generate the buttons, and add them to the layout, I dont know how to change their individual actionlisteners. The code I have right now is this: private void PopulateBooks() { for (int i = 0; i < 14; i++) { books.add(new …

Member Avatar
Member Avatar
+0 forum 1

Hello, Something really weird started happening in my web application. I have some buttons defined in a Master Page File and then I have a lot of pages that derive from this Master Page file. One of the buttons (In the master page file) closes the user session. This means that this button is present in all the pages that derive from the master page. Here is the weird thing, the buttons works in all pages except for one. This page works perfectly but the button does not work. Obviously the page is deriving from the master page (checked in …

Member Avatar
Member Avatar
+0 forum 1

Hi there i m having some problems in creating and handling multiple buttons. The idea is that i have two buttons "Accept" and "Reject" and i want to give them differnt names using the variable $i from the for loop. Below i give you the code which shows what i am trying to do. The code has wrong syntax on purpose, in order to depict what i am trying to do!! [CODE] for ($i = 0; $i < count_req($getuser[0]['email']); $i++){ echo $req_array[$i]['s_fname']." ".$req_array[$i]['s_lname']; echo "<form><input type='submit$i' name='accept' value='Accept'> <input type='submit' name='reject$i' value='Reject'><br></form>"; echo "Request".count($_REQUEST); if($_REQUEST['accept$i'] == 'Accept') { echo "Accept"; …

Member Avatar
Member Avatar
+0 forum 3

Hey everyone, I'm trying to make a button have an image, it used to work but for some reason, now it doesn't. This is the error: [COLOR="Red"]Exception in thread "main" java.lang.NullPointerException at javax.swing.ImageIcon.<init>(Unknown Source) at Main.createImageIcon(Main.java:109) at Main.<init>(Main.java:82) at Main.main(Main.java:103) [/COLOR] I see that the error is the: [CODE]ImageIcon NewFileIcon = createImageIcon("Images/NewFileIcon.png"); ImageIcon LoadFileIcon = createImageIcon("Images/LoadFileIcon.png"); ImageIcon SaveFileIcon = createImageIcon("Images/SaveFileIcon.png"); ImageIcon OptionsIcon = createImageIcon("Images/OptionsIcon.png");[/CODE] I see nothing wrong with it... It's not in the main method or my Main method. public static void main(){} public Main(){} It used to work which is what makes me think I'm stupid, it must …

Member Avatar
Member Avatar
+0 forum 8

I have 3 arrays with 3 items in each. I want to divided them into groups of 3 radio buttons and i want to select one radio button, hit a submit button and have it post on the same page and then move to the next set and have it keep my previous selections. Ex: Group 1 Group 2 Group 3 1 A 2 A 3 A 1 B 2 B 3 B 1 C 2 C 3 C Submit Submit Submit You chose A for G1 You Chose A for G1 You Chose A for G1 You Chose B …

Member Avatar
+0 forum 0

The End.