Search Result

Collapse
42 results in 0.0016 seconds.
Keywords
Members
Tags
listbox
  •  

  • Evolution445
    started a topic ListBox with background image

    ListBox with background image

    Hi,


    I have been trying to put a background image on a listbox control.

    The only way I saw possible was to inherit the listbox control and override the OnPaint event.

    Code:
        class ListboxWithBgimage : ListBox
        {
            // Property does not accept null, weird
            Image bgImage = Resources.list_log;
    
            public ListboxWithBgimage() : base()
            {
    ...
    See more | Go to post

  • Holstein
    started a topic Listbox, ArrayList of objects.

    Listbox, ArrayList of objects.

    Hi,

    Im currently working on a school assignment.

    Im gonna have a ArrayList with objects of customers that i need to represent in a listbox. I think i have solved that but here is the tricky part:

    I need to be able to select an item in the listbox and then be able to click a change button, get the data from the specific object which is represented in the listbox and then be able to edit the objects data....
    See more | Go to post

  • make a list of all the numbers in a listbox

    i want to make a list of all the numbers in a listbox(sql data source) and then delete all the numbers in a dropdownlist all the numbers found on listbox....

    i have no idea how to do this..
    i managed to get the numbers in the correct order, but for example i add 1 to the the listbox,my dropdownlist would start at 2 but then add 15, meaning my dropdownlist would start at 16 and 2,3,4,5..16 is gone ... basically what i want to...
    See more | Go to post

  • Add listbox items to the dynamic checkbox text in a dynamic table

    I need to dynamically create multiple checkbox, the data source is a listbox... that listbox receives a sqldatasource with a select statement. So basically what i want is to show users with their own names on a dynamic table. is there any other way? please help :)


    Code:
     protected void Panel17_Init(object sender, EventArgs e)
            {
                
                // Create a new HtmlTable object.
                HtmlTable
    ...
    See more | Go to post
    Last edited by lightwalker19; Apr 9 '12, 11:18 PM. Reason: update

  • proulxfr
    started a topic Checkbox in Listbox

    Checkbox in Listbox

    In Excel, using VBA I created a userform that presents a dynamic listbox. This listbox is build with information included in a specific worksheet. This information is not predefined, it is given by the user varying naming and number of items defined.

    By selecting one ore more items from listbox you are able to add specific row in the designed items group. This works fine but using listbox and multiselect. Now I would like to preceed...
    See more | Go to post

  • How to insert computed value in listbox on a per item basis

    I have a form that I'm trying to populate. This a summary form. I already have a details form which calculates and shows all the necessary data for a particular item. My problem is that in the summary form I want to show a particular value that I'm already showing in the details form. This value is computed by performing queries and then calculations using the query results. Below is an example of one of the queries.

    Code:
    'Sum
    ...
    See more | Go to post
    Last edited by Niheel; Oct 13 '11, 05:32 AM. Reason: merged question info

  • Excel 2007 Help with Listbox OnClick Code

    I have a Listbox on my Primary worksheet that displays all the Named Ranges from my secondary worksheet. I want the user to be able to click on one of the items in the listbox and have the system select the named range and do a preview. At this one, I can't even figure out how to get the Listbox to select the named range when I click it. Please Help!
    See more | Go to post

  • waqar100
    started a topic listbox."want to check a item during fetching"
    in .NET

    listbox."want to check a item during fetching"

    In a desktop application C#,I have a list box.there are multiple approximate 7 items,& i have to checked the 4th item in the list box initially ,How can i do that?
    See more | Go to post

  • SQL to show records from 2 tables in single listbox

    Hey guys,
    I'm sure there's something really simple I'm overlooking here, so I'm hoping someone more learned will be able to point me in the right direction.

    Here's what I've got:
    When a patient fills out an initial visit form (which corresponds with TblInitialForm, primary key is ID), their surgial and non-surgical plans are recorded in two separate tables, TblSurgPlan and TblNonSurgPlan. The primary key for both tables...
    See more | Go to post

  • Why it is not loading or adding item in the listbox?

    Private Sub Form_Load()
    Label2.Caption = login.txtuser.T ext
    sa = Label2.Caption
    With Adodc2.Recordse t

    subjsec = !course + " " + !studsec
    MsgBox subjsec, , "System"
    .Filter = "IDnumber = '" + Label2.Caption + "'"
    End With


    With Adodc1.Recordse t
    .Filter = "subjsectio n='" + subjsec + "' and isdeleted = 0"...
    See more | Go to post

  • populate a list box with the files in a folder - filepath is in memo field on form

    Hello;
    I am stuck, and would like to resolve my problem.

    Am using Access 2003
    • I have a form that has the file path in a memo field.
    • I have a list box for the list of files in the folder for the filepath
    • When I move to the record, I would like the listbox to populate with the most recent files in the folder from the file path that is on the the form
    • Sometimes there is no file path, or an invalid one, so need
    ...
    See more | Go to post
    Last edited by katia; Feb 24 '11, 10:11 PM. Reason: clarity

  • How to link a database into vb studio 2008 to create an order form?

    To All,

    I have created a 'quantity' form to be displayed when an image of a dish (from my menu) is hovered over:

    Code:
    quantity.Show()
    I am now trying to code the 'quantity' listbox function to store '1,2,3..' and program the prices from the database into each dish. When 'ok' is clicked on the 'quantity' form it should also automatically updates the 'total' textbox.

    I think I...
    See more | Go to post

  • Why is Listbox callback function acLBGetColumnWidth getting called too many times?

    I have been experimenting wiht using the Listbox Callback function to solve an issue I have with my db tool. The function below connects ADO to a SQL server database and table and reads those members of the table that fit the criteria and then fills in two columns in my listbox.

    So far, it appears to init well, filling the array properly. What I am having a problem with is the control calls with the code acLBGetColumnWi dth (5) three...
    See more | Go to post

  • Lstbox causes page to Crash getting "Internet Explorer cannot display the webpage"

    I have a page with two data bound list box controls on it. When I there is data in the controls the page crashes and i get "Internet Explorer cannot display the webpage". I have tried to set break points to see what is going on. I have tries to fill the boxes in the code behind instead of using a data source in the page. I have tried setting the page time out to 3 minutes. Nothing is working and I'm not sure what the problem is....
    See more | Go to post
    Last edited by jhardman; Dec 7 '10, 01:25 AM. Reason: Accidentally posted in classic asp. Moved to asp.net forum.

  • Bob Lee
    started a topic How to count individual items in a value list

    How to count individual items in a value list

    Access 2010. I have a drop down list with "Male" or "Female" as the choice. I wish to count the number of Males and the number of Females to show on a report. The Field name is [Gender] which is stored in a table.

    Is there a code to use in an unbounded text box that will show the totals on a report? I have tried =Count(If[Gender])="Female")) and it returns 'Error' as the value.

    Thank you,...
    See more | Go to post
Working...