41 Topics

Member Avatar for
Member Avatar for avirag

This is a snippet I use to clear a form. Right now it clears: TextBox, RichTextBox, ComboBox, CheckBox and RadioButton. More can be added if needed... :)

Member Avatar for JOSheaIV
4
801
Member Avatar for joshl_1995

Hello Daniweb Community, I was wondering if there is a way to reset a tabcontrol. What I'm wanting to do is have it so when the user will click New it will reset all the tabpages to the way they were when they started the program up. I tried this …

Member Avatar for pritaeas
0
1K
Member Avatar for KnifeDarky

Hello, so I'm completely re-designing and updating files on the website, but the problem is, that everytime I change e.g. index.html file the website stays the same. I think that it has something to do with the browser's cache. It happens more often on Firefox, but I just hit ctrl+f5 …

Member Avatar for KnifeDarky
0
251
Member Avatar for Matthew N.

Hey, I'm making a website, and have some css to put two divs next to each other. This is my css and HTML code : [CODE].class1 { float:left; border-right:2px solid #000; } .class2 { float:right; } .class3 { clear:both; }[/CODE] HTML : [CODE] <div class="class1"> Div 1 </div> <div class="class2"> …

Member Avatar for nivabeath1
0
4K
Member Avatar for faisal.qureshi.7121614_1

Hi there! i need your help regarding BIOS password not working on my emachine(also known as e-system) ei3103 notebook laptop, the issue is not that i have forgotton my password, i am applying correct password but its not accepting it, when i give it 3 times, then i get 'System …

Member Avatar for faisal.qureshi.7121614_1
0
975
Member Avatar for Doogledude123

Does clear use removeAll method for listViews? I have a program that reads a file and stores the data in multiple arrays. I then use that data from the arrays to display them in a ListView, TextFields, a ComboBox, and a TextArea. I am also using an ActionListener to get …

0
173
Member Avatar for munchlaxxx

So I'm trying to figure out why my get method doesn't pass its test. This is my attempt at the get method: public Value get(Object key) { //Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key. for (Pair<Key,Value> …

Member Avatar for JamesCherrill
0
323
Member Avatar for CoilFyzx

Hello good day. I am having trouble letting my listeners wait on each other. I have a 1. JComboBox 2. JList - groups 3. JList - students The choice from the JComboBox, clears and updates the groups JList by way of an actionlistener. The ListSelectionListener for the groups JList, then …

Member Avatar for CoilFyzx
0
747
Member Avatar for eeeraser
Member Avatar for Aurax

Hi all.. Please help me how to clear all textbox in form. It really hard to set each of it. Thank you Aura

Member Avatar for Aurax
0
184
Member Avatar for cyberdaemon

Good day, I am having trouble on how should i clear the value of my controls in the modalpopupextender. Assume the i have 1 textbox in it. oce i clicked the button with any name. all i want is to clear the value of the control.. thanks

Member Avatar for cyberdaemon
0
145
Member Avatar for dartiss

Hi, I have an urgent issue. I have a screen that allows the user to select something from a drop-down and then submit it. The form directs to the same page where, if data has been supplied, processing occurs based upon their drop-down selection. What I want to do is, …

Member Avatar for Biiim
0
146
Member Avatar for nullifyQQ

User is supposed to type an input, and if it's not an integer, the user needs to type another. This repeats 3 times for 3 inputs which go inside an array. The integer checking works, but the problem is that when i display the 3 integers, they are all the …

Member Avatar for deceptikon
0
301
Member Avatar for LucianAdamson

Not sure what I am doing wrong but let me try to explain my issue. I have a single combobox on my form that I use to load external settings. If I load, lets say, 100 settings in to this combobox then I clear the combobox via Combobox1.items.clear(), then try …

Member Avatar for LucianAdamson
0
455
Member Avatar for cssweb

hello how are you today i have a problem with cache when i visit my site i saw the old topic of my site until i hit ctl+f5 to update the page so how ca i solve this problem is there any way to prevent browser store cache i have …

Member Avatar for LastMitch
0
421
Member Avatar for Rajneshwar

**Option 1 - From Start Menu** 1. Right click on the Start button -> properties. 2. Uncheck the Store and display recently opened items in the Start menu and the taskbar box, and click on Apply. 4. Click on OK. **Option 2 - From Windows Explorer** 1. Delete contents of …

0
137
Member Avatar for agnair

Hi, I am new to VB, and still learning. Please help me. I am developing a simple VB application, in Visual Studio 2010, where in we have to enter values in the fields given. I need to add a REFRESH button, which should act like a clr screen command. When …

Member Avatar for Netcode
0
273
Member Avatar for HTMLperson5

Hi, all. I am trying to clear the console window without using the "os" library. This seems like the only way to do it: from os import system import time print "I will clear the screen in 2 seconds" time.sleep(2) system("cls") print "*Cleared Screen*" SystemExit() But the problem is, this …

Member Avatar for 3e0jUn
2
3K
Member Avatar for sampsont

I want to re-use a vector<short> over and over in a performance critical loop. I only need the vector **size** to be reset to zero at the end of the loop. I'm worried that the myVector.clear() takes time to actually clear all the memory. Also, does the myVector.reserve() survive the …

Member Avatar for sampsont
0
637
Member Avatar for Maha Sh.

Hi all, I am trying to write a code for logout, and I want to clear session My code Protected Sub Button2_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click Session.Abandon() Response.Cookies.Add(New HttpCookie("ASP.NET_SessionId", "logAccount")) Response.Redirect("WebForm5.aspx") End Sub and i want to disabling browser's to go back please hellp !!!!

Member Avatar for hericles
0
157
Member Avatar for rfrapp

Hello, I'm creating a game using SDL, and what I'd like to happen is: if the character jumps on a button, then it'll disappear. However, I cannot find a way of accomplishing this, as all the SDL functions I know of start at runtime and cannot be changed. If I'm …

-1
104
Member Avatar for Sturdy

Hi all, I want to clear all items of comboboxes in my form I can clear all textboxes using looping and check if control is textbox then clear textbox. But when i implement it to combobox it just clear the combobox text not all of items on combobox. Private Sub …

Member Avatar for Sturdy
0
834
Member Avatar for Joshua Kidd

Hello, I have a listbox in my program and I want the user to be able to remove all Listbox Items with the click of a button. I Figured this would work, [CODE]Listbox1.Text = ""[/CODE] But I Guess that doesn't work. Any Help would be awesome:)

Member Avatar for mhosny
0
251
Member Avatar for cpchc

I am a web developer who has just had PHP thrust upon me. I have created a login-protected site and have put a timeout script on each page which redirects the user back to the login page if they have left the site idle for a certain period of time. …

Member Avatar for cpchc
0
504
Member Avatar for PrimePackster

Is there anyway we can clear only a selected part of the console window? clrscr() from conio.h & system("CLS") clears the whole screen. So how to clear screen selectively? For example, one of my old code prints this, [ICODE]Enter the limit for the array size (Max: 20) 10 Enter the …

Member Avatar for PrimePackster
0
2K
Member Avatar for geoamins2

Could you please tell me how to clear the old data from the datagridview in vb.net.. the below code is retrieving the data from table and display in a gridview for particular person. but when i wanna check the next person record if he dosen't have record so the previous …

Member Avatar for pritesh2010
0
5K
Member Avatar for fusionking

I'm creating a C# program that has a sizable textbox that prints out data every 5 seconds. Whatever data that is displayed is (supposed to be) cleared and replaced with new data every 5 seconds. I've created a thread so that the window opens (main thread) and the data is …

Member Avatar for fusionking
0
667
Member Avatar for dean8710

Could someone fixed this codes, i want the value inside the text fields will empty after submit the form.. huhu...:?: [CODE]<script type="text/javascript"> $(document).ready( function() { $('#submit_id').click(function(){ doUpload(); }); $('#uploadprogress').hide(); }); function doUpload() { // STEP 2. Create the iframe object var iframe; try { iframe = document.createElement('<iframe name="uploadiframe">'); } catch …

Member Avatar for stbuchok
0
271
Member Avatar for Dante2

Ok, I am walking my way through an instructional php book and basically going over the basics again. After I finished doing the script the way the book said to do it, I kept getting a header error saying that the headers have already been submitted. The book had my …

Member Avatar for Dante2
0
186
Member Avatar for SeniorAlexandro

Alright, I have a Textbox which I want to display some text, but when the user clicks on it, it should clear so he can write what he wants.

Member Avatar for SeniorAlexandro
0
975

The End.