4 replies
by jaberna
Private Sub FormatReportViewer()
Dim thisObj As Object
Dim MyPageView As CrystalDecisions.Windows.Forms.PageView
Dim tcontrol As Windows.Forms.TabControl
For Each thisObj In CrystalViewGrid.Controls
Select Case UCase(thisObj.GetType.Name)
Case "STATUSBAR"
(hide bar)
'CType(thisObj, StatusBar).Visible = False
Case "PAGEVIEW"
MyPageView = CType(thisObj, CrystalDecisions.Windows.Forms.PageView)
tcontrol = CType(MyPageView.Controls(0), TabControl)
With tcontrol
'hide tab
'.ItemSize = New Size(0, 1)
'.SizeMode = TabSizeMode.Fixed
'.Appearance = TabAppearance.Buttons
If .TabPages.Count > 0 Then
With .TabPages(0)
.BackColor = Color.CornflowerBlue
.Text = "mother language"
End With
Else
MessageBox.Show("No tabpage " & _
"drawn yet. Show report before calling this procedure.")
End If
End With
End Select
Next
End Sub
if you have the font of our mother language so you can do that. You can use cultureinformation in vb.net or vb or c,c++ .
That gives to you best help.
Thanks
Anubhava Prasad Dimri
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending