66 Topics

Member Avatar for
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 aadi_capri

hello friends, how can i design a region in vb.net form(windows application), such that when i click any point inside a region a new page opens. my problem is that the region which i want to define through it is very complex..its a combination of a rectangle and another shape. …

Member Avatar for Unhnd_Exception
0
278
Member Avatar for aadi_capri

hello friends, how can i perform a label click event using the code only. like in button we have a code like me.button1.performclick is there something like in label thanks in advance....

Member Avatar for Mitja Bonca
0
85
Member Avatar for aadi_capri

hello friends, i am developing a windows application,can anybody tell me how can i store the view state of a page in vb.net. i have 12 labels on a page and when i click on each label the color of the label changes to black, what i want is when …

Member Avatar for Pgmer
0
115
Member Avatar for aadi_capri

hello friends, i am developing a windows application in which user has to answer 180 questions,through clicking on the labels defined in the windows, the problem which i am facing is, if the user redirects the form to another page and when comes back, i want that the previous choices …

Member Avatar for aadi_capri
0
171
Member Avatar for aadi_capri

hello everyone. i have 8 labels on a page and i have to select them one ba one. all the labels are selected ba the user one after the other from top to bottom fashion, like firstly [B]label1[/B] is selected then [B]label2[/B]........[B]labeln[/B] and if someone exploits this fashion i want …

Member Avatar for Mitja Bonca
0
450
Member Avatar for imperialguy

Some system info before proceeding further: Platform: Mac OS X 10.7.1 Python Version: ActiveState Python 2.7.1 wxPython Version: [url=http://downloads.sourceforge.net/wxpython/wxPython2.9-osx-2.9.2.1-cocoa-py2.7.dmg]wxPython2.9-osx-cocoa-py2.7[/url] I want the button label to be changed while performing a task So, here is what I did/want: [code]self.run_button=wx.Button(self.panel,ID_RUN_BUTTON,label='Install') self.Bind(wx.EVT_BUTTON, self.OnRun,id=ID_RUN_BUTTON) def OnRun(self,evt): self.run_button.SetLabel('Installing..') #call a function that does the installation …

Member Avatar for Pupo
0
319
Member Avatar for msrd

I have a label that displays information from my database and I need to format it. It displays a number format like so: (53389) and I just need it to display (53,389) it uses the SQL to COUNT or SUM the data from the datasource. My first question is, is …

Member Avatar for Momerath
0
254
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 9Nimo4

How would I get a box to appear when I hover over a JLabel? The box is to explain what the label is. This is just a minor detail for the user-interface functionality of a game. So when a user hovers over a label, a box appears explaining it.

Member Avatar for JamesCherrill
0
505
Member Avatar for HiHe

I was trying to create a simple Python GUI with a label on a frame. I can't get the label's position and size to work: [code]# a simple wxPython GUI program # showing a label with color text # however, label position and size do not work! import wx class …

Member Avatar for vegaseat
0
309
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 eileenc87

Hi All, Can I put text in datetimepicker. Instead of it showed the dafault date and time (today's date), can I put text like e.g - Please Select Date - Looking forward to hear from u guys soon... URGENT

Member Avatar for codeorder
0
498
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 CharliePrynn

I have this code. I need to loop through it, until button 2 is pressed. I also want to count how many times its looped and show how many times in a label. [code]Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("www.WEBSITEHERE.COM") End …

Member Avatar for Unhnd_Exception
0
189
Member Avatar for Diamonddrake

I needed a very simple multi-line label control for a project I was working on, It had very simple requirements. It needed to draw text in any font, in any color, on multiple lines with vertical and horizontal alignment control. So I hacked up this little class. Just as easy …

2
447
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 yongj

I have a program that outputs a series of items onto a form--an "invoice" if you would like. The problem is, when the user enters in more items than the invoice's size can handle the rest just disappears into the mysterious realm down at the bottom. Is there a way …

Member Avatar for Netcode
0
376
Member Avatar for DavidRathbone

Looking on the web very few have got VB.net 2008/2010 using object arrays working. I felt it was time to give back what I have taken from the web for any other users. VB6 had a simple object array system which has been lost in VB.net As a C#/ C++ …

Member Avatar for AndreRet
1
2K
Member Avatar for SoftwareGuy

Hello. I have a little trivial problem in my application. I have a dialog (d1) that inherits from Form. And in Main, if I call [CODE]d1.ShowDialog()[/CODE] ,it works fine. But calling [CODE]d1.Show()[/CODE] opens a bad form with pale labels and textboxes, and when I try to drag that window form …

Member Avatar for SoftwareGuy
0
123
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 Mr Programmer

In my form, there is 1 Button and 1 Label. There is no text in Label1 right now. I have coded the button: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = "1" End Sub End Class[/CODE] Now when i run the project, i click …

Member Avatar for Mr Programmer
0
155
Member Avatar for Mr Programmer

Hi... :) I have only [B]1 LABEL[/B] in my form. There is [B]no text in Label1[/B]. I want that when i run the project, the label has any [B]word or number[/B] in it like '[B]1[/B]'. I want that when i run the project [B]AGAIN[/B], the [B]word or number[/B] in the …

Member Avatar for trpsjt2008
0
116
Member Avatar for lich

i need to lock a label positions so that it wont move during a event. when there is a event happens that label is moving from that particular position. is there any solution for this

Member Avatar for xonglennao
0
351

The End.