Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Forum Post: Who use a good grid in Visual Cobol?

$
0
0
After searching a Long time for a grid with Excel functionality, i have found a activex tool "mstgrid.ocx" from the Website: http://www.mysofttool.com/ With the activex-Assistant i was able to convert any codes in Cobol and i am enjoy from this functions. But by any code, i have Problems to convert! Who can help to convert Visual Basic or C#-Code? Are there better Tools that integrated in MF-Visual Cobol? A ocx-Viewer? Here a example of code in VB and C#? Here the code in C# private void Form1_Load( object sender, EventArgs e) { grdView1.NewFile(11, 6); grdView1.AutoRedraw = false ; grdView1.ThemeStyle = MstGrid.ThemeStyle.Light3D; grdView1.ShowHeaderAutoText = MstGrid.HeaderAutoText.Both; grdView1.Row(2).Borders(MstGrid.CellBorders.Bottom).LineStyle = MstGrid.LineStyle.Thin; grdView1.Row(2).Borders(MstGrid.CellBorders.Bottom).Color = Color.Red; grdView1.Range(5, 2, 8, 4).Borders(MstGrid.CellBorders.Around).LineStyle = MstGrid.LineStyle.Thick; grdView1.Range(5, 2, 8, 4).Borders(MstGrid.CellBorders.Inside).LineStyle = MstGrid.LineStyle.Thin; grdView1.Cell(5, 2).Borders(MstGrid.CellBorders.DiagonalDown).LineStyle = MstGrid.LineStyle.Thin; grdView1.AutoRedraw = true ; } Here the code in VB Private Sub Form1_Load( ByVal sender As Object , ByVal e As EventArgs) Handles MyBase .Load With GrdView1 .NewFile(11, 6) .AutoRedraw = False .ThemeStyle = MstGrid.ThemeStyle.Light3D .ShowHeaderAutoText = MstGrid.HeaderAutoText.Both .Row(2).Borders(MstGrid.CellBorders.Bottom).LineStyle = MstGrid.LineStyle.Thin .Row(2).Borders(MstGrid.CellBorders.Bottom).Color = Color.Red .Range(5, 2, 8, 4).Borders(MstGrid.CellBorders.Around).LineStyle = MstGrid.LineStyle.Thick .Range(5, 2, 8, 4).Borders(MstGrid.CellBorders.Inside).LineStyle = MstGrid.LineStyle.Thin .Cell(5, 2).Borders(MstGrid.CellBorders.DiagonalDown).LineStyle = MstGrid.LineStyle.Thin .AutoRedraw = True End With End Sub Happy to become help or Exchange from more possibilities

Viewing all articles
Browse latest Browse all 5819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>