View Full Version : FREE: Resize Plugin
Centauri Soldier
07-17-2009, 02:24 AM
This code was created by the author of the ResizeAJK example. I'm not sure who you are so if you created this code let me know and I'll put your actual name in the credits.
This code was made to resize most of the objects in your project at runtime as the user resized the application. I modified it to work with grid and plugin objects and it seems to work like a charm.
Please let me know if you guys find any bugs.
Centauri Soldier
07-17-2009, 03:45 AM
Wow! I shouldn't be posting this late. I meant to say "I modified it to work with grid and plugin objects as well and it seems to work like a charm".
This plugin will resize all of the objects in the application.
reteset
07-17-2009, 04:03 AM
BUG :D:D
Install.txt
Place the Goto plugin folder in you "AutoPlay Media......
MicroByte
07-17-2009, 04:40 AM
im pretty sure one of the IR team posted that example, nice work :yes
Place the Goto plugin folder in you "AutoPlay Media......
lol, copy n paste error!, i do it all the time
Centauri Soldier
07-17-2009, 01:43 PM
BUG :D:D
Install.txt
Lol, yep, copy and paste. Thanks Reteset.
UPDATE:
Version 1.1.0.0
Added Compatibility with the following objects:
OBJECT_RADIOBUTTON
OBJECT_RICHTEXT
OBJECT_CHECKBOX
OBJECT_SLIDESHOW
thank u i added the plugin but i don't know how to make it work
it didn't work with me and i don't know why
Centauri Soldier
07-25-2009, 07:18 PM
The three actions must be placed at the top of the page on each respective event.
Resize.OnClose() goes in the On Close event of each page and so on.
Centauri Soldier
07-25-2009, 07:21 PM
The three actions must be placed at the top of each of your project's pages in each respective event.
Resize.OnPreload() goes in the On Preload event.
Resize.OnClose() goes in the On Close event.
Resize.OnSize() goes in the On Size event. Do not change the default tables listed in this action.
The three actions must be placed at the top of each of your project's pages in each respective event.
Resize.OnPreload() goes in the On Preload event.
Resize.OnClose() goes in the On Close event.
Resize.OnSize() goes in the On Size event. Do not change the default tables listed in this action.
thank u for your help,but it didn't work , i added the three lines to all pages as u said but it gives me a lot of errors when i try to start the project like
( on preload : attempet to call field 'on preload' (a nil value) )
and another error on size and a third one on close .
Centauri Soldier
07-26-2009, 12:46 PM
I haven't been able to duplicate your errors. I have tested the plugin on different projects and it works fine. I am using Windows XP x64 with AMS 7.5ish.
That error indicates that the Resize.OnPreload() function is not being declared properly. Have you tried to input the actions via the action wizard instead of manually?
Is anyone else experiencing this issue?
thank u again for fast responding , i used action wizard and it works , u know man u are a hero . u helped me to solve a big problem , i have to finish my project before the end of the week and here u are the great programmer .
well i have got a problem , i think there are some bugs in the plugin , when i change from page to another i get a problem . and the text isn't resizable too .
Centauri Soldier
07-26-2009, 05:20 PM
I will do my best to fix any problems with the plugin.
Could you please explain what problems you have when switching pages.
What do you mean by "text"? Are you referring to a paragraph object?
Centauri Soldier
07-26-2009, 06:23 PM
I found what you meant. The labels weren't resizing. I modified the original code to redraw them as they change size and now it works fine.
I found the page change error as well and fixed that.
Thanks for bringing these items to my attention mimo.
Version 1.2.0.0
Fixed a bug that caused errors on page change.
Added the ability for OBJECT_LABEL objects to be resized
Converted code to be used with the Lua Helper Functions by MicroByte.
:yes thank u for your help , now it works well with me and i think i am going to finish my project well thank u .
there are a little problem which will not affect my project at all , but i will tell u about it as a feedback to your fantastic plugin . when i jump from page to another the objects inside it begin small then they grow bigger to fill the screen in less than a second . i think if u fix this problem your plugin will be the perfect solution of this issue .
Centauri Soldier
07-26-2009, 10:45 PM
Per your request, mimo, I have modified the code to prevent visible redrawing.
Version 1.3.0.0
Modified code to prevent visible redrawing of labels when switching pages and when resizing.
thank u , now redrawing is invisible except label object . and there is a problem when i put slideshow in page 2,3,4 etc...... and the plugin is active .when i jump to any page all the objects became invisible .
Centauri Soldier
07-27-2009, 01:47 PM
i have not been able to recreate that error. Could you include some more details about the problem?
Centauri Soldier
07-27-2009, 04:10 PM
New Version 1.4.0.0
Version 1.4.0.0
Added the ability to exclude objects from the resize operation.
Added the ability to change the default exclusion prefix (initially "x_")
Found and included the original author's actual name (Adam)
well i uploaded the project which contain the error of slideshow in this rapidshare link
http://rapidshare.com/files/260952133/the_project.rar.html
mystica
07-28-2009, 10:24 AM
This is really cool! Thanks Centauri ... thanks too, to the author of resizeAJK, whoever you may be!
ShadowUK
07-29-2009, 03:51 AM
May want to add that this plugin does not work in Kiosk mode. So mimo, Change your Project Type to Standard and it will work. I just tried this. Great plugin Centauri.
off course it is a Great plugin . i set my project to standard and it works great but when i set page transition i get a problem of seeing visible redrawing of pages from original size to another .
and i wish it works in boardered mode too in the upcoming versions centauri .
Centauri Soldier
07-29-2009, 09:40 AM
May want to add that this plugin does not work in Kiosk mode. So mimo, Change your Project Type to Standard and it will work. I just tried this. Great plugin Centauri.
Yes, I probably should huh. Well, I'll add that to to the readme when I recompile it again. Thanks Shadow.
and i wish it works in boardered mode too in the upcoming versions centauri .
I don't think that is possible but I'll keep my eyes open for a solution.
And btw, the original author is Adam from the IR staff...found that out in one the example forums. I'll be putting his name in on the next build.
ShadowUK
07-29-2009, 10:19 AM
You're on a nice plugin streak, It's a shame I can't think of anything to make. :(
Centauri Soldier
07-29-2009, 10:42 AM
You're on a nice plugin streak, It's a shame I can't think of anything to make. :(
Lol. Well, the only plugin that is entirely mine is the Goto plugin. The others are reworks of other people's code, although I did all the coding (but not the dll) on the KeyLock plugin.
As far as finding something to build, I've just been going through my project examples folder looking for code that I have wanted to use in the past but was a hassle to implement and adding those examples to my future plugin projects.
There is a gold mine of code here on forums that can be turned into easy-to-use little plugins thanks to Reteset and his Action Plugin Compiler.
Centauri Soldier
07-29-2009, 10:45 AM
New Version 1.5.0.0. Just a maintenance update.
u did a great job centauri . i know that this plugin is not your work alone but the plugin always make our life easier . and u solved many problems in the example . off course i appreciate adam's work but i prefer using plugin . and i used it in my work and my friends were amazed when i show it to them .i wish u could enhance it more and more till u reach perfection or to be close to it .
so , i will tell u all the problems in it which needs to be solved :
1- paragraph and rich text objects don't change in font size .
2- button text don't change in size as the the button do .
3- label object redrawing is visible .
4- when we set page transition we find that the openning page have the original size and when the transition end it resize to the new size so all page redrawing became visible .
i will post these problems in example thread to get more help .
Imagine Programming
08-02-2009, 10:30 PM
You're on a nice plugin streak, It's a shame I can't think of anything to make. :(
How about Database v3? Or a plugin that turns rusty trashmetal into gold angellike stuff! lol Database 3 would be fine though :p
Centauri Soldier
08-03-2009, 01:01 AM
How about Database v3? Or a plugin that turns rusty trashmetal into gold angellike stuff! lol Database 3 would be fine though :p
I think Shadow had mentioned having plans of releasing his DB plugin Version 3. I have been looking forward to that. How about it Shadiku? :D
Btw, I have been working on a plugin for a few days now and it should be done tomorrow. I have needed this plugin for a few years now but never had the skill to make it before...I'm hoping I do now lol. It's been quite taxing on my logic and abilities so far but a darn good puzzle too. Some people do crossword puzzles, I program. :p
ShadowUK
08-03-2009, 03:58 AM
Maybe, but as far as I could see Database v2 still does the job just fine. If importing large databases is a problem for you, Change a bit of the code to use the io model instead of TextFile.Write/Read
Centauri Soldier
08-03-2009, 05:47 AM
Why not just change the DB plugin to use that standard? Wouldn't that offer superior processing speed and increased reliability?
ShadowUK
08-03-2009, 06:05 AM
Well, I'm not sure that would work. I'm only giving an example of what might work.
Centauri Soldier
08-03-2009, 06:35 AM
Oh wow, I must have been thinking of someone else's plugin. This one seems to work fine.
Might be kinda cool to convert your 2.5 version to a solid plugin with Reteset's Action Plugin Compiler.
Imagine Programming
08-03-2009, 08:23 AM
Btw, I have been working on a plugin for a few days now and it should be done tomorrow. I have needed this plugin for a few years now but never had the skill to make it before...I'm hoping I do now lol. It's been quite taxing on my logic and abilities so far but a darn good puzzle too. Some people do crossword puzzles, I program. :p
You've made me curious, all of your plugins have been quite useful so I can't see what you come up with next :yes
Centauri Soldier
08-03-2009, 01:00 PM
You've made me curious, all of your plugins have been quite useful so I can't see what you come up with next :yes
:D...Oh the suspense...:p
Imagine Programming
08-03-2009, 01:13 PM
:D...Oh the suspense...:p
Hahaha :p So spill it, what are you making ? :p
Centauri Soldier
08-03-2009, 01:55 PM
Heh heh:D...something I've needed for a very long time. Nothing really spectacular but something that I, at least (and I hope others), will find VERY useful.
I'm almost done with it...I'll share it soon.
ShadowUK
08-03-2009, 01:56 PM
Heh heh:D...something I've needed for a very long time. Nothing really spectacular but something that I, at least (and I hope others), will find VERY useful.
I'm almost done with it...I'll share it soon.
AN IDEA GENERATOR! YES! YES!
no?
Imagine Programming
08-03-2009, 02:28 PM
AN IDEA GENERATOR! YES! YES!
no?
Hahahaha random xD I've made a useless tool too, I'm posting it now :yes
jassing
09-20-2009, 04:21 PM
Works nice, but when packed in a molebox package; ams can't load the plugin.
Centauri Soldier
09-20-2009, 07:18 PM
I'm not sure how to work around that since I don't use molebox. Do your other plugins load?
jassing
09-20-2009, 07:38 PM
Sorry -- I had a reply typed in -- but clicked "preview" instead of "post".. d'oh.
I forgot to add the plugin to the molebox project... totally a rookie error.
Plugin works fine.
btw: thanks!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.