Hello,
is it possible to show / hide defined Image-scrollbars
related to the Image-size ?
I tested to hide defined scrollbars from resource, but it seems not to be possible.
I check Image-size against Resource-size. As a result I want to show only the needed scrollbars.
There is just lScroll .T. or .F., not HScroll and VScroll can be defined, like in xBrowse.
I only want to show Scrollbars if Images > Resource-size.
I found oVScroll and oHScroll in class TBitmap,
also tested changing the Image-style, but the bars are still visible.
REDEFINE IMAGE oIMAGE ID 510 FILENAME NIL OF oDlg PIXEL BORDER
oIMAGE:nStyle := nOR( WS_BORDER,;
WS_CHILD, WS_VISIBLE, WS_CLIPSIBLINGS,;
WS_CLIPCHILDREN, WS_GROUP ) // , WS_TABSTOP )
oIMAGE:oHScroll := .F.
oIMAGE:oVScroll := .F.

Best Regards
Uwe
is it possible to show / hide defined Image-scrollbars
related to the Image-size ?
I tested to hide defined scrollbars from resource, but it seems not to be possible.
I check Image-size against Resource-size. As a result I want to show only the needed scrollbars.
There is just lScroll .T. or .F., not HScroll and VScroll can be defined, like in xBrowse.
I only want to show Scrollbars if Images > Resource-size.
I found oVScroll and oHScroll in class TBitmap,
also tested changing the Image-style, but the bars are still visible.
REDEFINE IMAGE oIMAGE ID 510 FILENAME NIL OF oDlg PIXEL BORDER
oIMAGE:nStyle := nOR( WS_BORDER,;
WS_CHILD, WS_VISIBLE, WS_CLIPSIBLINGS,;
WS_CLIPCHILDREN, WS_GROUP ) // , WS_TABSTOP )
oIMAGE:oHScroll := .F.
oIMAGE:oVScroll := .F.

Best Regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
