Sql and Listview

cnicolapc

Active Member
Licensed User
Longtime User
Hi,
I have this example

Cursor = Sql1.ExecQuery("Select Artista,Titolo,Anno FROM CdAudio ")'....ecc...

For i = 0 To Cursor.RowCount - 1
Cursor.Position = i
cdlist.AddSingleLine(Cursor.GetString("Artist")& Cursor.GetString("Title")ecc....

is it possible to manage in the listview in addition to

cdlist.SingleLineLayout.Label.TextSize = 14
cdlist.SingleLineLayout.Label.TextColor = Colors.Blue
cdlist.SingleLineLayout.Label.Gravity = Gravity.CENTER

the size and alignment of separate columns?(Artist, Title,..ecc)
I hope to be explained
Thanks
 

cnicolapc

Active Member
Licensed User
Longtime User
Hi,

You can set different properties for each Table column independently?
Example: Text Color, Alignment, text size?
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Hi Nicola,

Sorry I missed this post whileI was on travel.

You can set different properties for each Table column independently?
Example: Text Color, Alignment, text size?

Yes, it is possible :).

Attached the new version.

Best regards.
 

Attachments

  • SQLTable4.jpg
    SQLTable4.jpg
    44.9 KB · Views: 32,475
  • SQLTable4.zip
    12.8 KB · Views: 1,363
Last edited:
Upvote 0
Top