I'm having 2 problems with a scrollbar.
1. When I use something like the code below, the scrollbar does not align with the top. I've tried various alignment style& values. None seem to work. Is there an obvious thing I've missed?
Control Add ScrollBar, hdlg, 505, "status",10,10,20,60, %sbs_rightalign Or %sbs_vert
Using the Dialog New statement, I can get a scrollbar aligned with the side, just not with the Control Add Scrollbar statement.
2. Control Add Scrollbar Help says to %wm_hscroll and %wm_vscroll are available. Scrollbar Get TrackPOS says %sb_thumbtrack and %sbthumbposition are available. When I create a callback statement, the two %wm notifications don't appear, but the two %sb do (but only on the scroll box). None of the 4 occur when clicking on the scrollbar arrows or body.
I can't tell for sure, but I'm guessing that the Help reference to GetScrollInfo API is old, and that's it not been updated to the new tools in v9.
I looked under the Samples folder and all the examples use the Dialog New approach.
Anyone have clarifications?
1. When I use something like the code below, the scrollbar does not align with the top. I've tried various alignment style& values. None seem to work. Is there an obvious thing I've missed?
Control Add ScrollBar, hdlg, 505, "status",10,10,20,60, %sbs_rightalign Or %sbs_vert
Using the Dialog New statement, I can get a scrollbar aligned with the side, just not with the Control Add Scrollbar statement.
2. Control Add Scrollbar Help says to %wm_hscroll and %wm_vscroll are available. Scrollbar Get TrackPOS says %sb_thumbtrack and %sbthumbposition are available. When I create a callback statement, the two %wm notifications don't appear, but the two %sb do (but only on the scroll box). None of the 4 occur when clicking on the scrollbar arrows or body.
I can't tell for sure, but I'm guessing that the Help reference to GetScrollInfo API is old, and that's it not been updated to the new tools in v9.
I looked under the Samples folder and all the examples use the Dialog New approach.
Anyone have clarifications?
Comment