[Gambas-user] listview

Arief Bayu Purwanto ariefbayu at ...626...
Fri Jan 18 02:23:52 CET 2008


On 1/18/08, gunartha <gunartha.nyoman at ...1817...> wrote:
>
> Thank you Mas Bayu for your reply and I am sorry
> I ask you again.
> Refering from your example : how can I select a row in GridView and when a
> row have selected I want get return value at colomm ID ( first colomm in
> GridView)
> Example :
> fid    fname            address
> 1      nyoman        bali
> 2      joko             surabaya
> 3      agung           jakarta
>
> When cursor at fid 2, how to get that value.


Basically it's just a matter changing GridView1.Mode = Select.Single
or Mode properties in design mode.
and you can get the value using:

GridView1[GridView1.Row, GridView1.Column].Text


-- 
Arief Bayu Purwanto
About : http://about.freelancer.web.id/
Blog : http://bayu.freelancer.web.id/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ListViewTest-0.0.3.tar.gz
Type: application/x-gzip
Size: 8656 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080118/b6bc76d9/attachment.bin>


More information about the User mailing list