- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to add scrolling to QWIN$FRAMEWINDOW? Instead of creating a number of child windows cascaded on the frame window, I would like to place them one below the other, and let the user scroll among them.
Thanks,
Cathy Dougherty
Thanks,
Cathy Dougherty
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following worked for me...
(1) use a suitable sequence of unit numbers for the child windows, and arrange to hold the current unit number and first and last valid unit numbers for child windows in some common block or module.
(2) use insertmenuqq to add items "first", "previous","next","last" directly on the menu bar of the main window, and construct call-back routines for each of these.
(3) in a typical call-back routine (eg. next here), increment the unit number checking it doesn't go out of range, then call the function focusqq for the new current unit number.
tHis should work either with "cascaded" child windows, or with a child window maximised within the main window.
(1) use a suitable sequence of unit numbers for the child windows, and arrange to hold the current unit number and first and last valid unit numbers for child windows in some common block or module.
(2) use insertmenuqq to add items "first", "previous","next","last" directly on the menu bar of the main window, and construct call-back routines for each of these.
(3) in a typical call-back routine (eg. next here), increment the unit number checking it doesn't go out of range, then call the function focusqq for the new current unit number.
tHis should work either with "cascaded" child windows, or with a child window maximised within the main window.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page