Hello,
Just a little oversight I've seen in Workbench, if file(s) are selected from a Workbench window programmatically (e.g. through Arexx), yes the window/drawer is opened, but if there are many files in the window/drawer and the selected file(s) are at the bottom of the window/drawer out of view the vertical scrollbar doesn't not 'jump/auto-scroll' to meet the selection. An important usability issue.
Auto-Scroll to Selection
- nbache
- Beta Tester
- Posts: 1714
- Joined: Mon Dec 20, 2010 7:25 pm
- Location: Copenhagen, Denmark
- Contact:
Re: Auto-Scroll to Selection
Try the MAKEVISIBLE argument to the ICON ARexx command in Workbench.
Best regards,
Niels
Best regards,
Niels
Re: Auto-Scroll to Selection
I have the same problem in my programs when I use ChangeWorkbenchSelection() to open a drawer and select a file into it.
Is it a tag that simulates the option MAKEVISIBLE that nbache speak about ?
Thank you
Is it a tag that simulates the option MAKEVISIBLE that nbache speak about ?
Thank you
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
X1000 - AmigaOS 4.1.6 / 4.1 FE
- javierdlr
- Beta Tester
- Posts: 389
- Joined: Sun Jun 19, 2011 10:13 pm
- Location: Donostia (GUIPUZCOA) - Spain
- Contact:
Re: Auto-Scroll to Selection
workbench.library/MakeWorkbenchObjectVisibleA workbench.library/MakeWorkbenchObjectVisibleAzzd10h wrote:I have the same problem in my programs when I use ChangeWorkbenchSelection() to open a drawer and select a file into it.
Is it a tag that simulates the option MAKEVISIBLE that nbache speak about ?
Thank you
NAME
MakeWorkbenchObjectVisibleA -- Change a Workbench window in such a
way as to make a particular icon visible. (V44)
..
EXAMPLE
// Make the icon for the drawer "SYS:" visible.
MakeWorkbenchObjectVisible("SYS:",TAG_END);
Re: Auto-Scroll to Selection
Thank you Javier,
it works very well
it works very well
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
X1000 - AmigaOS 4.1.6 / 4.1 FE