[Gambas-user] Components
javier romero
cjro99 at ...67...
Fri Jul 14 16:13:56 CEST 2006
I dont find the "ITEM" porperty or event in GridView component, in your example "GridView.Item", i'm ask about is any way to "Mark the selected" row,
maybe a cell is "Selected" clicking, but gridview dont shows this selection, changing colors or any other way, i cant shows to the user what is selected in the
grid (cell or row or column), i need that.
Im using Gambas 1.0.15
Regards
Javier
----------------------------------------
> From: ronstk at ...239...
> To: gambas-user at lists.sourceforge.net
> Date: Tue, 11 Jul 2006 19:20:48 +0200
> Subject: Re: [Gambas-user] Components
>
> On Tuesday 11 July 2006 15:09, javier romero wrote:
> > About GridView
> >
> > 1) There is some way to select a Row in a Grid View
> gridview1.Current is the current selected by click mouse.
> Gridview1.Item is the row selected by Move**** methods.
>
>
> > 2) There is some way to change the the backcolor and the forecolor of a cell in a GridView?
> Simple no.
> However once has made a class to decorate the cells of gridview/columnview
> I think it was Charlie or Daniel. long time ago.
>
>
> > 3) There is some way to put Titles in a GridView?
> ? what Titles you think off?
> If you mean header as in Tableview then No
> You can use the first row :)
>
>
> > 4) There is some way to now the cell or the row selected un a GridView?
> GridView.Current.Row & GridView1.Current.Column
>
> > 5) There is some way to edit a cell in a GridView
> >
>
> hGrid is a Gridview object
> GRD??? are constants used by me for the row
>
> hGrid[iRow, Column].Text = "Yes"
> hGrid[iRow, Column].Picture = picture.Load("img/16/checked.png")
>
>
>
> WITH hGrid
> col = .Columns.Count
> .Columns.Count = col + 1
> .columns[col].width = 115
> hGrid[GRDDBS, col].Text = mglobal.sDBinProc
> hGrid[GRDTBL, col].Text = mglobal.sTBLinProc
> hGrid[GRDVIS, col].Text = "Yes"
> hGrid[GRDVIS, col].Picture = picture.Load("img/16/checked.png")
>
> hGrid.Rows[GRDDBS].Height = hLabel.Rows[GRDDBS].Height
> hGrid.Rows[GRDTBL].Height = hLabel.Rows[GRDTBL].Height
> hGrid.Rows[GRDGRP].Height = hLabel.Rows[GRDGRP].Height
> END WITH
>
> Hope this give some help.
>
> Ron
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
More information about the User
mailing list