Navigation:  thinBasic Modules >

UI_ImageCTX

Previous pageReturn to chapter overviewNext page

 

Description

 

UI_ImageCtx is a module implementing an image control based on the IImgCtx COM interface and can decode all the images that can be shown in Internet Explorer.

The images can be rendered using its actual size or can be resized to fit the width or the height of the window. Resizing is done automatically by the control.

 

How to use this module

 

Inside your script, before calling any module specific keyword, add the following:

 

USES "UI_ImageCTX"

 

Restrictions

 

 

Important notes about UI_ImageCTX module usage

 

1.UI_ImageCTX module needs UI module loaded so inside your script, before calling any module specific keyword, add the following:
USES "UI"
 

 

 

Credits

 

 

A big thanks and credit goes to José Roca and to his great generosity expressed by publishing tons of Power Basic sources in his web site and forum.
Many thinBasic features would not be possible without José. UI_ImageCTX is one of those.
 

See José Roca web site at http://www.jose.it-berater.org/
See José Roca forum at http://www.jose.it-berater.org/smfforum/
 
 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com