29 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for yawar260

Hi,my name is yawar i am a student learning c#.I have combobox,when i select an item in combobox there comes data which i want to display on labels,but my problem is there comes many data,i want to display only 3 labels when only 3 data rows comes from database and …

Member Avatar for Santhosh_3
0
268
Member Avatar for mattyd

Hello. I am having a small problem involving a text label not displaying correctly over a field. It was fine until about a week ago; I believe I must have changed something and now I do not remember what I did that is causing this error. The State text label …

Member Avatar for Troy III
0
337
Member Avatar for Niloofar24

Hi friends! I want to create a countdown program. Here is my code: from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.label import Label import datetime class CountdownApp(App): def build(self): delta = datetime.datetime(2015, 3, 21, 2, 15, 11) - datetime.datetime.now() days = delta.days days = str(days) self.label_days = Label(text=days …

Member Avatar for ms95
0
3K
Member Avatar for slavica.k

is there a way to search database viwable in datagrid view by selecting rows through a combo box, values trough a text box and display resoult in label? here is the code that doesnt work: Private Sub Command1_Click() 'populate datagrid trough textboxes DBGrid1.Columns(0).Text = Text1.Text Text1 = "" DBGrid1.Columns(1).Text = …

Member Avatar for slavica.k
0
588
Member Avatar for Doogledude123

This is PART of my GoldMiner class where the problem is occuring. I am getting a null pointer. I assume it is because of the way I declared my sceneController class. private static Game game; private static sceneController controller; public static void main(String[] args) { Application.launch(GoldMiner.class, (java.lang.String[])null); game = new …

Member Avatar for Doogledude123
0
7K
Member Avatar for Start4me

I have a listbox with items and a panel. What I want to do is when I click on an item, a label shows up in a panel, which was already there before the item was clicked. I've managed to show the label, but it didn't add to the panel, …

Member Avatar for Start4me
0
287
Member Avatar for Deegirl

can someone help me to find out why my label display is listing the result of the textboxes instead of adding up the values of the text boxes? here are my codes: Dim strstudentName As String = (" ") Dim dblAssignment1 As Double Dim dblAssignment2 As Double Dim dblAssignment3 As …

Member Avatar for Reverend Jim
0
266
Member Avatar for DevonParsons

Hi all, I'm following [this](http://msdn.microsoft.com/en-us/library/dd492149.aspx) tutorial and I'm encountering strange behaviour with the program. My finishLabel *ought* to be calling finishLabel_MouseEnter() when the mouse hovers over it, but it's calling wall_MouseEnter() instead - the location of the mouse resets and the congratulations box doesn't show up. In the properties/events box …

Member Avatar for DevonParsons
0
248
Member Avatar for schroaus

Is there any way to change all of the text inside a label to another character? It would still be the same length, but all of the text within the label would be the new character.

Member Avatar for schroaus
0
690
Member Avatar for lulu79

I want to display datatable result in a label. I have something like this : PLEASE TAKE ACTION FOR LINE **LABEL** But i want the result to be like this: PLEASE TAKE ACTION FOR LINE **Z3, Z5, Z8** I try to use loop but still cant get the result that …

Member Avatar for lulu79
0
820
Member Avatar for vindom

Hi! I'm writing little software just to get some practice in c#. I have listview in form 1 where program displays first name and last name form access database. When admin selects name/surname in listvioew and press show usercard(form2) I have a label in form2 and I want it to …

Member Avatar for vindom
-1
1K
Member Avatar for vavazoom

Hello, I am trying to incorporate Javascript with ASP. I want to display in the Label how many characters the client has remaining in the textbox. The Label is not changing at all - any ideas? <script type="text/javascript"> function CheckCharCount(textBox, maxLength) { var charCount = maxLength - texBox.value.length; document.getElementById("lblCharCount").innerText = …

Member Avatar for JorgeM
0
1K
Member Avatar for TheQuestor

I need some help here. I am writing a little desktop app that monitors my ToDo database and whilst it works great when run once, it kind of freaks out when I run it from a timer. As in all the labels start repeating. Below is the entire code. Imports …

Member Avatar for TheQuestor
0
376
Member Avatar for Srin

I want to create a java application where you can build simple logic circuits (just started learning java recently and it was just a random project idea I got off the net) Ultimately I want the gates as icons on a pane that users can drag and drop onto a …

Member Avatar for NormR1
0
542
Member Avatar for hovestar

Hello I'm working on printing a grid of any size and labeling it numerically or alphabetically I have the code that creates the grid, but I have no idea how I would label it... Here is the code that crates the grid: [CODE] def grid(): y = 5 #int(raw_input("How tall …

Member Avatar for TrustyTony
0
489
Member Avatar for masala_curry

Hello, My application has a simple textbox for user input, a database connection, a button and a label. I will search for the user input in my database and update the label when the user clicks the button. This works fine on the first button click but ceases to function …

Member Avatar for masala_curry
0
123
Member Avatar for djjavo

Hi guys, I have a total of 72 link labels on a form and I want them to do a similar task. Is there a way to accomplishing this without writing each labels individual code? Example function of the link label [CODE] Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e …

Member Avatar for djjavo
0
2K
Member Avatar for get connected

Hi All I have a load of information on my label in a groupbox on the form there is too much information to be seen in one go so i want to use a vertical scrollbar to move the label up and down inside the groupbox so it can be …

Member Avatar for codeorder
0
253
Member Avatar for JoshuaBurleson

In version 3.0 of my address book I'm utilizing tkinter. The only problem thus far I'm having is that I have a very ugly display on a child window that shows the search result for a query. I'm getting {['Email: [email]Shoiukamp0@gmail.com[/email], Phone: (111)555-2222, Address: 122 C---- Ct., Essex, VT']} The …

Member Avatar for JoshuaBurleson
0
1K
Member Avatar for scrivomcdivo

Hey folks. I'm tying to carry out a simply task of writing a variable double value to a label on my form. The label is called 'lblTotalSeats'. Here's my code below: [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace ABCDEFG { …

Member Avatar for scrivomcdivo
0
341
Member Avatar for P.manidas

Dear Sir/Madam, I have created a sample program that dynamically created up to 7 numbers of Labels and Text Boxes. Here I want to add those numbers inputted by user on dynamically created text boxes. I have tried a lot but all are in vain. Please guide me to solve …

Member Avatar for P.manidas
0
400
Member Avatar for penguino138

I need help position a bunch of things. Mostly the text bar. Here's my code: [CODE] package swingHW2; import java.util.Scanner; import javax.swing.*; import java.awt.*; public class swingHW2 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub // The Layout FlowLayout lout = …

Member Avatar for penguino138
0
181
Member Avatar for Jagfarrell

HI all, Normally I've been lucky to find someone who has had the same problem and applied their solution but after hours of searching I'm not able to find a solution to this one. I've got a FormView which is default mode set to Insert. When the page is loading …

Member Avatar for Jagfarrell
0
150
Member Avatar for PerplexedB

VB2008 won't let me drag my lblBase class from the toolbox onto a form in design mode. Why? Is there a way around this? [CODE]Public Class lblBase Inherits System.Windows.Forms.Label 'Public Sub New() 'MyBase.new() ' Me.BackColor = Me.Parent.BackColor 'End Sub End Clas[/CODE]

Member Avatar for JJCollins
0
124
Member Avatar for iqlas
Member Avatar for Peter_TARAS

Hi! I am using a label widget in order to display a n rows and m columns matrix. My program allows repeated generation of a random matrix of integer (of arbitrarily number of rows and columns) - I am observing these matrices by representing them in a Label type widget. …

Member Avatar for Peter_TARAS
0
11K
Member Avatar for umers56

i neez help manz. here is what i have so far: ------------------------------------ Dim x As Integer Private Sub cmdexit_Click() 'this will end the program End End Sub Private Sub picmario_KeyPress(KeyAscii As Integer) 'this will allow the user to use various keys to 'move mario 'this will move the mario up …

Member Avatar for umers56
0
176
Member Avatar for apo

Hi, here is the thing, I'm trying to make my university grading table on C++, when i fill in the grades it should tell me what i have accumulate. the thing is that when i insert the text grades it shows a zero when i click the buttom. the math …

Member Avatar for apo
0
288
Member Avatar for ddanbe

Hi all, Left of a TextBox I have a Label and the text changes during a run so I want the text to be right aligned. So I used the TextAlign property of a Label and set it to MiddleRight. It does not work. Looked for an answer, could not …

Member Avatar for ddanbe
0
229

The End.