ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2017-01-09 14:54:05

jiangxun
Member
Registered: 2017-01-01
Posts: 4

你好!如何vb.net代码实现Behavior_MouseWheelToZoom

Dim grid As new unvell.ReoGrid.ReoGridControl()
grid = e.form.Controls("SplitContainer1").panel2.baseControl.Controls("grid1")
Dim sheet As object
sheet = grid.CurrentWorksheet
Dim range = sheet.SelectionRange
Dim cellp As object
cellp = sheet.FocusPos
Dim cell As object
cell = sheet.cells(cellp)
sheet.SetSettings(unvell.ReoGrid.WorksheetSettings.Behavior_MouseWheelToZoom, True)
sheet.SetSettings(unvell.ReoGrid.WorksheetSettings.Edit_AllowAdjustRowHeight, False)
上述代码无效,无法试用鼠标滚轮实现缩放,请指教

Offline

Board footer

Powered by FluxBB