Questions tagged [truedbgrid]

13 questions
1
vote
0 answers

AfterColEdit () event - Visual Basic 6 and Apex True DBGrid Pro 6

in a VB 6 application, using True DBGrid 6: I type a value in the id column; When I change the column, I do a search in the database to bring the description of that id. In the AfterColEdit () event; On my machine and some others it works. However,…
RogerBic
  • 11
  • 1
1
vote
1 answer

Programmatically select ComponentOne TrueDBGrid Filterbar

I'm using a ComponentOne TrueDBGrid control, with the filterbar enabled. I'd like to modify the the default behaviour so that when a cell in the filterbar is clicked, the text in that cell is automatically selected. Normally I'd wireup a MouseDown…
Marcus K
  • 779
  • 1
  • 10
  • 22
1
vote
1 answer

c1 TrueDBGrid cell value to textbox

private void c1TrueDBGrid1_Click(object sender, EventArgs e) { } How can I get the value of a cell and then display it in a textbox. Just like this code that works for data grid view "OwnerIDtxtbox.Text =…
Alphatrix
  • 83
  • 8
0
votes
2 answers

How to remove the calendar control from TrueDBGrid

Remove calender control from TrueDBGrid Cell David [ON, Canada] 26-Feb-2012 09:39:51 When using C1.Win.C1TrueDBGrid.2 (Version 2.0.20111.61210) in Visual studio 2010 on windows7. I assign the grid DataSource to a data table VB.Net Grid1.DataSource…
David Li
  • 1
  • 1
0
votes
1 answer

Data Envrionments, True DB grids and VB6

I have finally been able to get all the columns I wanted to show up in the data environment and have added an additional command to try and pull those values from a local DB into the grid. The issue I am running into is the values are not appearing…
ruck64
  • 145
  • 1
  • 10
0
votes
1 answer

How can I disable the Page Down/Up, when the Focus in on a Button?

I have a program that can change values in a database. I have a TrueDBGrid in my form and the Page Down/Up works fine. If I click on a button with TAB, this Page Down/Up still works. How can I prevent this when the focus is on the button?
a.b_om
  • 91
  • 9
0
votes
1 answer

Remove the crlf in the SQL-database?

I'm doing an exercise with the Northwind database from Microsoft. I try to fill the values from a table into a Truedbgrid. That still worked, but afterwards I noticed that 3 columns have a crlf. I tried to solve it with a REPLACE, but it didn't…
a.b_om
  • 91
  • 9
0
votes
0 answers

Winforms ContextMenuStrip wont open when Opening event is handled

I'm moving a Winforms app from VB to C#. I have a TrueDBGrid with a ContextMenuStrip thats pops up on a right click. When I don't handle the mnuContext Opening event the menu pops up. When I do handle the event the handler is called but the menu…
Craig
  • 517
  • 1
  • 9
  • 17
0
votes
1 answer

c1 truedbgrid make third column auto compute by the values of two column

Code for dataset: DataSet ds = new DataSet(); DataTable dt = new DataTable(); dt.Columns.Add("DENOMINATION"); dt.Columns.Add("COUNT"); dt.Columns.Add("TOTAL"); dt.Rows.Add(new object[] { "1000", "0", "0" }); dt.Rows.Add(new object[] { "500", "0",…
Alphatrix
  • 83
  • 8
0
votes
2 answers

DataGridView bound to DataTable is not showing

I am trying to show a DataGridView in a form that is bound to a DataTable, but it's not showing up. I was doing this using a C1TrueDBGrid and that was working...I decided to switch to using a DataGridView due to some complications with the…
Andy
  • 616
  • 11
  • 32
0
votes
1 answer

ComponentOne True DBGrid Creating Custom Cells

First thanks for your help. This is in regards to Componentone's True DBGrid, so this may not be the best place to expect answers, but at this point I feel like I've done as much as I can so I'm willing to give it a shot. I've spent quite some time…
Lightbarrier
  • 361
  • 1
  • 4
  • 8
0
votes
2 answers

Vb6 ADODC Login failed for the user knows in Windows 7

I have a vb6 project with a form with a Apex TruedbGrid 6 Oledb datasource that has as an ADODC (Ado 6.0 sp6) on the same form. cn.ConnectionString = "Provider=SQLNCLI.1;Data Source=pc-musica;Initial Catalog=QdE;User ID=sa;Password=*******" In…
user2216394
  • 1
  • 1
  • 5
0
votes
1 answer

ComponentOne.TrueDBGrid binding

1 I am using ComponentOne.TrueDBGrid; 2 I am using UserList as the datasource; 3 I need filterbar and sortings for this grid ; some important code like below: public class User{ public int UserID{get;set;} public string UserName{get;set;} …
xiemails
  • 843
  • 3
  • 8
  • 10