Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hallo

Why not shortcut ctrl ↓ ??

Hallo

Why not shortcut ctrl ↓ ??

doc = desktop.CurrentComponent
controller = doc.CurrentController
sheet = doc.Sheets.getByIndex(0)
curs = sheet.createCursor()
curs.gotoEndOfUsedArea(False)
last_used = curs.RangeAddress.StartRow
controller.setActiveSheet( sheet)
controller.setFirstVisibleRow(last_used)

Hallo

Why not shortcut ctrl ↓ ??

doc = desktop.CurrentComponent
thisComponent
controller = doc.CurrentController
sheet = doc.Sheets.getByIndex(0)
curs = sheet.createCursor()
curs.gotoEndOfUsedArea(False)
last_used = curs.RangeAddress.StartRow
controller.setActiveSheet( sheet)
controller.setFirstVisibleRow(last_used)