Action Plugin: ProgressEx

uydudoktoru

Tanınmış Üye
Staff member
Yönetici
Hey everyone, here it is, ProgressEx 1,0,0,0!

Description
This is a new plugin, which will allow you to create a ProgressEx control upon a
AMS window. ProgressEx is a new control, originally developed for PureBasic
as a class, however we decided to release it as AMS plugin and not keep it a
personal control, which was intended first.

The full version 1,0,0,0 is now online, and ready for use in any project. A big
thanks to all the people who helped testing this plugin and reporting any bug
there was, including documentation related mishaps.

ProgressEx is a new control, and ported to AMS as an
Action Plugin. This means it will need a host for it to stay in, like an Input
object or a Progress object. ProgressEx is an extended graphical progressbar


with some nice features, like gradient colors, custom colors for:
  • Background
  • Background Border
  • Text
  • Text border (2 types)
  • Bar border
  • Solid bar color, instead of the gradient colors
It now also supports an Icon to be set for the ProgressEx bar, the icon will show
up on the far-left side of the bar, and can be dynamically changed like everything
in the ProgressEx control. The icon could be used, for example, to show a
graphical indicator of what the application is currently doing.

The method used for loading/releasing/setting images is similar to the method
used in ListIcon, however the helpfile explains everything if you still come
across problems.

Check the screenshots for some nice bars ready made. (On the product-page)



File contents:
  • Plugin files
  • Helpfile
  • 1 Basic Example
  • 1 Advanced Example
Additional Info
A full documentation has been included in the Zipfile, read it well before trying
things out. Also a L-OOP model has been included in the plugin, allowing the
user to call ProgressEx functions as methods. You need the CreateEx function
for this, which is also included.

Functions


Code:
16 Functions 
[LIST]
[*]ProgressEx.Create
[*]ProgressEx.CreateEx
[*]ProgressEx.AllocColor
[*]ProgressEx.SetGradientColors
[*]ProgressEx.SetSolidColor
[*]ProgressEx.SetCurrentPosition
[*]ProgressEx.GetCurrentPosition
[*]ProgressEx.SetText
[*]ProgressEx.GetText
[*]ProgressEx.SetFont
[*]ProgressEx.SetRange
[*]ProgressEx.GetRange
[*]ProgressEx.LoadImage
[*]ProgressEx.FreeImage
[*]ProgressEx.CountIconsInFile
[*]ProgressEx.SetImage
[/LIST]14 Methods for use with returned handle from CreateEx 
[LIST]
[*]ProgressEx:AllocColor
[*]ProgressEx:SetGradientColors
[*]ProgressEx:SetSolidColor
[*]ProgressEx:SetCurrentPosition
[*]ProgressEx:GetCurrentPosition
[*]ProgressEx:SetText
[*]ProgressEx:GetText
[*]ProgressEx:SetFont
[*]ProgressEx:SetRange
[*]ProgressEx:GetRange
[*]ProgressEx:LoadImage
[*]ProgressEx:FreeImage
[*]ProgressEx:CountIconsInFile
[*]ProgressEx:SetImage
[/LIST]
Links
Imagine ProgressEx Action Plugin
I'll post the autoplaymediastudio directory URL when it's accepted.

1.png


2.png


3.png


4.png


5.png


Update: 1,1,0,0
Added tooltip support. Just standard Windows tooltips for now.

Changes:
  • Added: ProgressEx.SetTooltip
  • Added: ProgressEx:SetTooltip
  • Updated: Helpfile
  • Updated: Example
Links
Info & Download: Imagine Programming - Imagine ProgressEx Action Plugin
Support: Imagine Programming - Contact
AMS Dir: http://www.autoplaymediastudio.com/d...on-plugin.html
 

Attachments

Back
Top