Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 15 of 47
  1. #1
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534

    FREE: Resize Plugin

    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.
    Last edited by Centauri Soldier; 08-26-2009 at 04:35 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  2. #2
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  3. #3
    Join Date
    May 2006
    Posts
    1,443
    BUG

    Install.txt
    Place the Goto plugin folder in you "AutoPlay Media......

  4. #4
    Join Date
    Apr 2009
    Posts
    277
    im pretty sure one of the IR team posted that example, nice work

    Place the Goto plugin folder in you "AutoPlay Media......
    lol, copy n paste error!, i do it all the time

  5. #5
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Quote Originally Posted by reteset View Post
    BUG

    Install.txt
    Lol, yep, copy and paste. Thanks Reteset.

    UPDATE:

    Code:
    Version 1.1.0.0
    Added Compatibility with the following objects:
    OBJECT_RADIOBUTTON
    OBJECT_RICHTEXT
    OBJECT_CHECKBOX
    OBJECT_SLIDESHOW
    Last edited by Centauri Soldier; 08-26-2009 at 04:35 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  6. #6
    Join Date
    Jul 2009
    Posts
    137

    thank u

    thank u i added the plugin but i don't know how to make it work

  7. #7
    Join Date
    Jul 2009
    Posts
    137

    it didn't work with me

    it didn't work with me and i don't know why

  8. #8
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  9. #9
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  10. #10
    Join Date
    Jul 2009
    Posts
    137

    thank u for your help,but it didn't work

    Quote Originally Posted by Centauri Soldier View Post
    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 .

  11. #11
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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?
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  12. #12
    Join Date
    Jul 2009
    Posts
    137

    thank u

    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 .
    Last edited by mimo; 07-26-2009 at 12:31 PM.

  13. #13
    Join Date
    Jul 2009
    Posts
    137

    well i have got a problem

    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 .

  14. #14
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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?
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  15. #15
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    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.

    Code:
    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.
    Last edited by Centauri Soldier; 08-26-2009 at 04:34 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts