How to write data in a cell of DbGrid?... 
Author Message
 How to write data in a cell of DbGrid?...

I possesses VB4 Pro 32 bits.
I do not arrive to find the means to enter a data in a cell via
an TextBox and a command_Button.
With the control Grid1 I think that it is as this:
    GRID1.TEXT = Text1.Text
But how do we make with a control DbGrid?
I mean (for example) that I want to enter the word "Hello" (that I write
in TextBox1) in the cell that I click over (of the control
I click on CommandButton, and the text "Hello" written in the TextBox
entered in the last active cell (whose I had click) the control

-My other question is:
How to select with slipped it the mouse, some cells of the
Tank you very much.

Je possde VB4 Pro 32 bits.
Je n'arrive pas trouver le moyen d'entrer une donne dans une cellule via
un TextBox et un Bouton_de_commande.
Avec le control Grid1 je pense que c'est comme ceci:
    DBGrid1.Text = Text1.Text
Mais comment faisons-nous avec un control DbGrid?
Je veux dire (par exemple) que je veux entrer le mot "Bonjour" (que j'cris
dans TextBox1) dans la cellule que je viens de cliquer dessus (du control
Je clique sur CommandButton, et le texte "Bonjour" crit dans le TextBox,
s'inscrit dans la dernire cellule active (dont j'avais cliqu) du control

-Mon autre question est:
Comment slectionner avec le gliss de la souris, quelques cellules du

Merci d'avance.


Mon, 07 Jan 2002 03:00:00 GMT
 [ 1 post ] 

 Relevant Pages 

1. Deleting data from DBGrid cell

2. How to get Data from DBGrid cell ?

3. *** Help needed - Modifying DBGrid cell data ***

4. Help: DBGrid - how to make DBGrid.row = current row when I click the a cell

5. Displaying data in a DBGrid cell

6. DBGrid Cell Coloring

7. Colors in cells on DBgrid ?

8. changing an individual cell's background colour w/DBGrid

9. Pasting To a DBGrid Cell

10. Cell in DBGrid

11. DBGrid and Cells

Powered by phpBB® Forum Software