Share your opinion
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
|
GRIDVIEW - Modify cell
Modify manualy a cell in a gridview
Today, we are coding an application to modify manualya cell in a Gridview from an inputbox. when you click on the grid, an inputbox ask you to enter text. When you click OK button, the text come into current cell by the command : GridView1.Current.Text = mytext Here you find the GB2 source code : PUBLIC SUB Form_Open() GridView1.Rows.Count = 5 GridView1.Columns.Count = 8 END PUBLIC SUB GridView1_Click() DIM mamodif AS String mamodif = InputBox("Modifier une valeur", "Modification d'une valeur", GridView1.Current.Text) GridView1.Current.Text = mamodif END Creation date : 05/01/2011 @ 23:13 Reactions to this article
| QUICK MENU
SEARCH
LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS
visitors visitors online ARCHIVES GAMBAS 1/2
|