Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: JavaJ2MEBlackberry
public final class gridFieldDemoScreen extends MainScreen
{
	LabelField one, two, three, four, five, six;
	public gridFieldDemoScreen()
    {
        setTitle("gridFieldDemo");   
        GridFieldManager grid = new GridFieldManager(2, 3, 0);
        one = new LabelField("ONE");
        grid.insert(one, 0);
        two = new LabelField("TWO");
        grid.insert(two , 1);
        three = new LabelField("THREE");
        grid.insert(three, 2);
        four = new LabelField("FOUR");
        grid.insert(four, 3);
        five = new LabelField("FIVE");
        grid.insert(five, 4);
        six = new LabelField("SIX");
        grid.insert(six, 5);
        grid.setColumnPadding(20);
        grid.setRowPadding(20);
        add(grid);
    }
}
 
I am able to create a simple gridview, now i want to add images and adding click function to these images, plz help me for this
Posted 11-Sep-12 22:45pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Please refer to this Article :
Thumbnail Images in GridView using C#[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 716
1 OriginalGriff 442
2 Tadit Dash 400
3 sanket saxena 337
4 Peter Leow 228
0 Sergey Alexandrovich Kryukov 11,890
1 OriginalGriff 7,335
2 Peter Leow 5,003
3 Abhinav S 3,943
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web02 | 2.8.140421.2 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid