Hi guys
I try to change the font of a single cell in my ultragrid, because I want to show a barcode in that cell when the value="0123456789"
I use this code:
Private Sub ugVB_InitializeRow(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs)
If e.Row.Cells("Links").Value.ToString = "0123456789" Then Try e.Row.Cells("Links").Appearance.FontData.Name = "IntHRP24DlTt" Catch ex As Exception MessageBox.Show(ex.Message) End Try End If
End Sub
Bu this doesn't work for me.
Any suggestions?
The sample works. Thanks for your help
best regards
Hello,
Could you please review the sample attached to this post and see if it meets your requirements. Please feel free to let me know if I misunderstood you or if you have any other questions.
Yes if you could create an example I can try on my pc that would be great. Thanks in advance
PedroPerreman,
I tried this, it works fine ot Windows 7 when the font is installed. Is this happening with all freshly installed fonts? Do you want me to create a sample for you?
Hi PedroPerreman i read your problem i think that is the solution of your problem
please try that problem
Me.UltraGrid1.Rows(3).Cells(1).Appearance.ForeColor = Color.Brown '//any color and any cell no is put there
if you have further any problem please contact me at below link
http://ahmadkhalid44.blogspot.com/
Thanks:
Regards
Ahmad Khalid