I Have three form Home.aspx and Login.aspx Details.aspx on home.aspx i have two iframe in iframe one i open login.aspx in Login.aspx i have a button btnChangePage now i want to assign src property of second iframe dynamically ( src="details.aspx" ) on btnChangePage_Click Please if u have any suggetions please help me Thanks a lot in advance

Member Avatar
Member Avatar
+0 forum 8

Hello! Can you give me an example of Button widget in Kivy language? I can creat the button but don't know how to use it's callback. I mean how can i set a command for the Button in Kivy?

Member Avatar
Member Avatar
+0 forum 10

Hi, i'm using vb.net and i have connected a database to it. As per my interface i should add, delete,go back,go next and save my records. All the buttons work apart from delete. The problem is i do not know the codes for deleting a particular record during the run time, can anyone help me out with the codes and steps of deleting a particular record.

Member Avatar
Member Avatar
+0 forum 14

You can put an image and text on a Tkinter button widget. This small code shows you how. The GIF image file you want to use for the button should be in the working directory, or you have to give it the full path. Incorporate the Python Image Library (PIL) for other image formats.

Member Avatar
Member Avatar
+1 forum 3

i don't know how to change button backcolor after data change i use C# Oledb

Member Avatar
Member Avatar
+0 forum 1

im having a problem controlling a stepper motor using a microcontroller..what i did is that i test it with my board coz it has led's to check whether its working or not..we are tasked to make a program in c++ that would make a variable reluctance stepper motor work. If you press the the R button the rotor of the stepper motor will turn forward (clockwise), if you press L it will turn backward (counter clockwise), and if you press S the program will stop.. so how would you be able to make a program out of this conditions?

Member Avatar
Member Avatar
+0 forum 24

My toshiba laptop screen suddenly turned black,but if looking closely you can still barely see what is on the screen, like the screen saver turned it self on, but I restarted my computer many times and it loads up but still no results. I had this problem about 4 months ago, so i called toshiba helpline and they were very helpful and gave me instructions while on the phone. The guy on the phone told me to shut down the system, unplug it, take the battery out and press ON button for 20 seconds, then realise the finger and wait …

Member Avatar
Member Avatar
-1 forum 253

Hi, i have a datagridview : grd_ol and i added a button to it: Dim btnColumn As New DataGridViewButtonColumn() btnColumn.HeaderText = "Invoice" btnColumn.Text = "View Invoice" btnColumn.UseColumnTextForButtonValue = True grd_ol.Columns.Add(btnColumn) the table sort of looks like this: | ORDER_ID | CUSTOMER_ID | STAFF_ID | ORDER_DATE | TOTAL(RM) | INVOICE | | id1 | custid1 | staffid1 | 13/12/2016 | 12345 | 'View Invoice' | | id2 | custid5 | staffid3 | 13/12/2016 | 178342 | 'View Invoice' | | id3 | custid9 | staffid2 | 13/12/2016 | 1543 | 'View Invoice' | how do i get the order_id of the …

Member Avatar
Member Avatar
+0 forum 1

Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked: Private Sub btn_addline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_addline.Click Dim txtB1 As New TextBox Dim i For i = 0 To 5 Me.Controls.Add(txtB1) With txtB1 .Name = "chkDemo" & i End With Next i End Sub but it only creates one(well as i can see) and i cant tell whether the name is actually set as chkDemo(how to check?). I tried adding `.Location = 20,20` but got error something …

Member Avatar
Member Avatar
+0 forum 6

Hi, I have one CSS. .buttonSize { min-width : 58% } Actually, I have two buttons, with text "Hovers" & "Copy". My button without any css taking spaces which can wrap the text size. This way size of two buttons is not same. What I tried: a) I have hacked by adding two spaces to "copy" and tried. On some browsers, it worked fine but on mozilla it was taking little more space(as compared to hovers button). b) I have added the css class above & added in the tags of the buttons. worked fine on all browsers on all …

Member Avatar
Member Avatar
+0 forum 3

<html> <head> <style> .button { font-size: 1em; padding: 10px; color: #fff; border: 2px solid #06D85F; border-radius: 20px/50px; text-decoration: none; cursor: pointer; transition: all 0.3s ease-out; } .button:hover { background: #06D85F; } .overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.7); transition: opacity 500ms; visibility: hidden; opacity: 0; } .overlay:target { visibility: visible; opacity: 1; } .popup { margin: 20% auto; padding: 20px; background: #fff; border-radius: 5px; width: 30%; position: relative; transition: all 5s ease-in-out; } .popup h2 { margin-top: 0; color: #333; font-family: Tahoma, Arial, sans-serif; } .popup .close { position: absolute; …

Member Avatar
Member Avatar
+0 forum 1

how to save that text boxes data into database ,by using this button evet,please tell me iam fresher. < protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) Session.Remove("clicks"); } protected void Button2_Click1(object sender, EventArgs e) { int rowcount = 0; rowcount = Convert.ToInt32(Session["clicks"]); rowcount++; Session["clicks"] = rowcount; for (int i = 0; i < rowcount; i++) { TextBox TextBox1 = new TextBox(); TextBox TextBox2 = new TextBox(); TextBox TextBox3 = new TextBox(); Label Label1 = new Label(); Label Label2 = new Label(); Label Label3 = new Label(); TextBox1.ID = "TextBox1" + i.ToString(); TextBox2.ID = "TextBox2" + i.ToString(); TextBox3.ID = …

Member Avatar
Member Avatar
+0 forum 1

hi there guys! how can i add textbox using button? i know that it can be done using javascript but i was required to use php. Is it possible to do it in php? thanks

Member Avatar
Member Avatar
+0 forum 6

<button type="button" class="button" href="adminform.php">ADD ADMINISTRATOR</button>

Member Avatar
Member Avatar
+0 forum 3

Is it possible to upload a file in php without form tag browse button and upload button. if particular file exist in folder i want to upload that file to server..how it is possible

Member Avatar
Member Avatar
+0 forum 2

<div id='ad' style='position:absolute; left : 174px; top : 14px; width : 597px; height : 740px;'> <div style="opacity: 1.0;"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- 500-400 --> <ins class="adsbygoogle" style="display:inline-block;width:500px;height:300px" data-ad-client="ca-pub-********" data-ad-slot="*****"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <script type='text/javascript'><!-- window.onscroll = function () { //hope this works, havent tested it document.getElementById ('ad').style.top = (200 + document.body.scrollTop) + 'px'; } --></script>

Member Avatar
Member Avatar
+0 forum 7

Hello. I am trying to add new button during runtime. Here is the scenario: when I click 'Food' button, the fields from food column in MySQL database will appear as button. #newbieproblems

Member Avatar
Member Avatar
+0 forum 5

the window have a icon, on caption\title bar. that icon show us the System Menu(mouse right button). my objective is add to it the Allways on Top option. using a program, on background, i can do it. but i will have another program on process's. so is there another way for add that option on System Menu?

Member Avatar
Member Avatar
+0 forum 4

How to use one button to insert true into column Status and when clicked the second time will update column Status with false This is the table clicked the first time ====================================================== UserName | Status --------------------------------------------------------------- Steve1 | false ---------------------------------------------------------------- This is the table clicked the second time ============================================================ UserName | Status --------------------------------------------------------------- Steve1 | true --------------------------------------------------------- protected void btncount_Click(object sender, EventArgs e) { if (Session["UserName"] != null && Session["UserName"].ToString() != string.Empty) { string username = Session["UserName"].ToString(); Follow(username); } else { } public void Follow(string username) { string str = ConfigurationManager.ConnectionStrings["CONN"].ConnectionString; string getADPOST = "Insert INTO USERFollow (UserName,FriendUserName,Status) values (@UserName,@Id,1)"; …

Member Avatar
Member Avatar
+0 forum 1

hi, can u help me, what can i do to print a form, example: in form1 there is a button that will print the form2 that has registration form. it is possible or other ways? please help

Member Avatar
Member Avatar
+0 forum 3

The problem: I am want to create static websites for dynamic restaurants. A restaurant enters their details and from this, I want to create a web page for each restaurant with their own unique details on thi html page. So when I run them, in them will be their name, logo, opening times etc... This will be all by the click of a button.

Member Avatar
Member Avatar
+0 forum 3

Im doing a appointment booking site for a project And Im trying to disable radio button(s) if the sql statement returns true. Example: User selects a date from asp calendar and a timeslot is in the form of radio button I wanted that the count of radiobutton selection should be stored in SQL and if it exceed count data in SQL the radiobutton should be disable na back color should be red , plzz anyone can help me with this its urgent I am stuck in this project For example the 10 user can select the same time slot so …

Member Avatar
Member Avatar
+0 forum 1

I had button code to print data in data grid view on vb.net program. But when I click on print all times it show print preview lost first of record. this is my code Dim mRow As Integer = 0 Dim newpage As Boolean = True With dgvreciept Dim fmt As StringFormat = New StringFormat(StringFormatFlags.LineLimit) fmt.LineAlignment = StringAlignment.Center fmt.Trimming = StringTrimming.EllipsisCharacter Dim y As Single = e.MarginBounds.Top Do While mRow < .RowCount Dim row As DataGridViewRow = .Rows(mRow) Dim x As Single = e.MarginBounds.Left Dim h As Single = 0 For Each cell As DataGridViewCell In row.Cells Dim rc As …

Member Avatar
Member Avatar
+0 forum 5

I have the following code which handles my Print Button but I'm getting my ListView contents all on 1 page only (overwriting). How can I loop through the ListView items an d print on more than one page? Excuse my "newbiness". Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim prn As New Printing.PrintDocument prn.PrinterSettings.PrinterName.ToString() AddHandler prn.PrintPage, AddressOf Me.PrintPageHandler prn.Print() RemoveHandler prn.PrintPage, AddressOf Me.PrintPageHandler End Sub Private Sub PrintPageHandler(ByVal sender As Object, ByVal args As Printing.PrintPageEventArgs) Dim lvwItem As ListViewItem Dim lvwSubItem As ListViewItem.ListViewSubItem Dim xPos As Integer = 0 Dim yPos As Integer = 0 ' Counter …

Member Avatar
Member Avatar
+0 forum 2

how can i get the value ...which code write in button click event that get my id.. USE DATATABLE Public Function inst() As DataTable Dim tb2 As New DataTable Dim st As String Dim dfsty As DataSet Dim df As New SqlClient.SqlDataAdapter Try cn.Open() st = "SELECT EmMaster_EmploId FROM(EmMaster) WHERE EmMaster_EmploId=(SELECT max(EmMaster_EmploId) FROM EmMaster)" df = New SqlDataAdapter(st, cn) df.Fill(dfsty, "EmMasater") tb2 = dfsty.Tables(0) cn.Close() Catch ex As Exception MessageBox.Show(ex.Message) Finally cn.Close() End Try Return tb2 End Function Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnSave.Click Try Dim dss As DataTable dss = inst()

Member Avatar
Member Avatar
+0 forum 2

I need to sort three numbers that are entered in 10 different textboxes and display these numbers ascending and when I press a different button display them descending. Now I think that I need to put these three numbers into an array, sort and display, but I'm not really too proficient in code to accomplish this. Is there a way to do this without putting them into an Array. Here is my code so far? Which is not much of anything so far. Any guidance would be greatly appreciated, Thanks in advance. Public Class Form1 Private Sub Button1_Click(sender As Object, …

Member Avatar
Member Avatar
+0 forum 4

Hello, I have small problem and can't solve it. I am trying to write javascript function inside html file and call it from click button but it does not work. I try both tags: `<script type="text/javascript">` `<script language="JavaScript">` I include it at the head tag, at first of body, at end of body, before head. but, does not works! it called from `<input type='button' name='but' onclick="alertx();">` and it just alerting <script type="text/javascript"> function alertx() {alert('hi');} </script> Any help please. Thanks,

Member Avatar
Member Avatar
+0 forum 5

My desktop computer CPU button just blink and turn off and it never turn on unless I remove the CPU main cord from back side and it always repeated

Member Avatar
Member Avatar
+1 forum 3

I have three pages page 1 :through a submit button in page 1 ... I want to be redirected in page2 in new tab and page3 in the same tab. Is that possible? Page1 contains : using (MemoryStream memoryStream = new MemoryStream()) { document.Save(memoryStream, false); memoryStream.Position = 0; Session["BinaryData"] = memoryStream.ToArray(); ScriptManager.RegisterStartupScript(this, this.GetType(), "openPDF", "javascript:window.open('../../Service/Pages/Page2.aspx');", true); Response.Redirect('../../Service/Pages/Page3.aspx'); } page2: to be opened in a new tab protected void Page_Load(object sender, EventArgs e) { if (Session["BinaryData"] != null) { Response.Clear(); Response.ContentType = "application/pdf"; Response.AddHeader("Content-Disposition", "inline; filename=" + filename); ////Write the MemoryStream to the Response. Response.BinaryWrite((byte[])Session["BinaryData"]); } then page 3: will be …

Member Avatar
Member Avatar
+0 forum 1

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Thomas' Story</title> </head> <body style="background-color:lightblue;"> <h1 style="color:Orange; text-align:center;"><B>Thomas'Story Page</B></h1> <h1 style="color:Orange; text-align:center;"><B>Let's Make a Story Together!</B></h1> <h2 style="color:Black; text-align:center;">You fill in the blanks and we'll go from there!</h2> <hr> <h3>Now, just fill in the boxes below and when you're finished click the button for your story!</h3> <p> Enter an Animal: &nbsp;&nbsp;&nbsp;<input type="text" id="animalBox" size=20 value=""><br> <br> Enter a Name: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="nameBox" size=20 value=""><br> <br> Enter a Number: &nbsp;&nbsp;&nbsp;<input type="number" id="numberBox" size=20 value=""><br> <br> Enter an adjective: <input type="text" id="adjectiveBox" size=20 value=""><br> <br> Enter a color: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="colorBox" size=20 value=""><br> <br> </p> <input …

Member Avatar
Member Avatar
+0 forum 2

The End.