Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
This post has been edited 2 times, last edit by "Dani" (Oct 22nd 2011, 9:24pm)
Jabaco Source |
|
1 2 3 4 5 6 7 |
Public Sub Usercontrol_Initialize() Dim myIcon As javax#swing#ImageIcon myIcon = New javax#swing#ImageIcon(getClass.getResource("res/loading.gif")) Dim myPic As javax#swing#JLabel = New javax#swing#JLabel(myIcon) myPic.setBounds(0,0,105,16) Me.add(myPic) End Sub |
Jabaco Source |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Public Sub Form_Load() JBGrid1.Cols = 2 JBGrid1.Rows = 2 JBGrid1.Header(0) = "Pictures" 'needs to be adressed JBGrid1.TextMatrix(0, 0) = "" JBGrid1.DataMatrix(0,0).Icon = SamplePng JBGrid1.Parent.setRowHeight(80) End Sub |
Jabaco Source |
|
1 2 |
JBGrid1.Editable = jbEditOnClick JBGrid1.ComboList = "Hallo" |
Haven't looked particularly at it.but I can not add more than one item to the cbo list and it appears in every cell of the JBGrid1.