Search Result

Collapse
7 results in 0.0013 seconds.
Keywords
Members
Tags
binding
  •  

  • davidraimosson
    started a topic SIP Python/C++ binding fails to compile

    SIP Python/C++ binding fails to compile

    Hi all!

    After successfully compiling a Python/C binding with SIP I wanted to do the same thing with Python/C++. For some reason this doesn't work.

    Here's the files:

    fib.cpp
    -----------------------------------------------
    Code:
    #include "fib.h"
    
    int fib1(int n)
    {
    	if (n <= 0) {
    		return 0;
    	} else if (n <= 2) {
    		return 1;
    ...
    See more | Go to post

  • 2inshix
    started a topic Pass text variables to Labels in Tkinker GUI?

    Pass text variables to Labels in Tkinker GUI?

    I'm trying to put together this GUI, it's my first attempt. It's mostly a collage of code I put together from samples I found here and there.

    So, far so good, except I can't seem to be able to figure out how to pass "text variables" from an array to labels.

    #If you go to def printLabels(sel f), and def on_move(), you will see what I mean:),

    Thanks a million. (I'm just learnig to #program, sorry about...
    See more | Go to post
    Last edited by 2inshix; Dec 19 '11, 12:33 AM. Reason: Spellin/grammar/typos

  • how to fill dta in multiple combobox from databse

    I have one table and multiple combobox i want to fill data in these combobox from given table having 2 columns id,name
    suppose if id==1 then fill name in combobox 1/
    plz reply i need urgenty.
    See more | Go to post

  • Binding a ComboBox to a custom collection

    It's pretty simple to programmaticall y add items to a combobox at runtime. Just declare the object, then call ComboBox.Items. Add(...) for each item you wish to add. The one downside to this method is that you cannot specify values for the display member - the text shown in the ComboBox item - and the value member - the value returned when you query the combobox's SelectedValue property.

    The simple way round this is to bind the combobox...
    See more | Go to post

  • Ben G
    started a topic WPF TreeView binding to Database data

    WPF TreeView binding to Database data

    Hi All,

    I'm quite new to programming and I am trying to bind some data stored in Sybase DB to a treeView in WPF. My data consists of information about PartyGroups and for each PartyGroup there are Persons associated with that group. So far I have managed to bind the data so that it displays a list of PartyGroups in the treeView but cannot get my head around hierarchical data templates i.e how to link the Persons. Would appreciate any...
    See more | Go to post
    Last edited by Ben G; Dec 15 '10, 11:50 AM. Reason: line 48

  • How to bind DataGridView to single column in strongly typed DataTable?

    I would like to implement Virtual mode on a DataGridView. The issue is that I'm not sure how to bind to ONLY the ID column in my DataTable without binding to the whole table.

    Adding combobox or textbox columns and handling the CellValueNeeded event is not a problem, I've done that elsewhere in my program.

    I would like to use something like
    Code:
    DataGridView.DataSource = MyDataset.Tables("TableName").Columns(&qu
    ...
    See more | Go to post

  • General Question: C# / Visual Studio / SQL - Best Practice To Load/Use Data.

    I am looking for input on the best method to interact with data in a C#/Visual Studio Windows Forms application using an SQL database.

    I have limited experience working with data in this scenario. What I am looking for is your input on if I should use Visual Studio’s “drag and drop” data binding to work with data or code the SQL connection/data set. I have worked with small apps using both methods to fill list boxes, text boxes...
    See more | Go to post
Working...