Slide Library - Bigger Tile Views

Discussion in 'AutoCAD' started by rlouv, Mar 8, 2005.

  1. rlouv

    rlouv Guest

    Is there a way to modify how many tiles are displayed in the Pop-Up box. Right now there is 20 tiles, and pretty much impossible to tell the difference between them when there is a decent amount of detail.

    Thanks
     
    rlouv, Mar 8, 2005
    #1
  2. rlouv

    Warren Trost Guest

    I guess with a dcl box and images. Gotta agree with you though. We use to
    be able to get a 3X3 box with pre-windows versions.

    Right now there is 20 tiles, and pretty much impossible to tell the
    difference between them when there is a decent amount of detail.
     
    Warren Trost, Mar 8, 2005
    #2
  3. rlouv

    Gary Fowler Guest

    If you are talking about the acad icon tile...then modify your acad.dcl
    file...adding another row:
    See icon21

    It's been awhile since I have used the icon image tile dialog.
    Be sure to make a back up of your acad.dcl first.

    Gary

    acad_icon: dialog {
    key = "label";
    initial_focus = "listbox";
    : row {
    : list_box {
    width = 20;
    height = 21;
    fixed_height = true;
    key = "listbox";
    allow_accept = true;
    }
    : column {
    : row {
    : icon_image {
    key = "icon1";
    }
    : icon_image {
    key = "icon2";
    }
    : icon_image {
    key = "icon3";
    }
    : icon_image {
    key = "icon4";
    }
    }
    : row {
    : icon_image {
    key = "icon5";
    }
    : icon_image {
    key = "icon6";
    }
    : icon_image {
    key = "icon7";
    }
    : icon_image {
    key = "icon8";
    }
    }
    : row {
    : icon_image {
    key = "icon9";
    }
    : icon_image {
    key = "icon10";
    }
    : icon_image {
    key = "icon11";
    }
    : icon_image {
    key = "icon12";
    }
    }
    : row {
    : icon_image {
    key = "icon13";
    }
    : icon_image {
    key = "icon14";
    }
    : icon_image {
    key = "icon15";
    }
    : icon_image {
    key = "icon16";
    }
    }
    : row {
    : icon_image {
    key = "icon17";
    }
    : icon_image {
    key = "icon18";
    }
    : icon_image {
    key = "icon19";
    }
    : icon_image {
    key = "icon20";
    }
    }
    /*
    * : row {
    * : icon_image {
    * key = "icon21";
    * }
    * : icon_image {
    * key = "icon22";
    * }
    * : icon_image {
    * key = "icon23";
    * }
    * : icon_image {
    * key = "icon24";
    * }
    * }
    */
    }
    }
    : row {
    : row {
    spacer_0;
    : row {
    fixed_width = true;
    : button {
    label = "&Previous";
    key = "prev";
    width = 8;
    }
    :spacer {
    width = 2;
    }
    :button {
    label = " &Next ";
    key = "next";
    width = 8;
    }
    }
    spacer_0;
    }
    spacer;
    ok_cancel;
    }
    }
     
    Gary Fowler, Mar 8, 2005
    #3
  4. rlouv

    rlouv Guest

    Thanks, any idea on what I should modify to change the number of boxes? I'm thinking that if I had 4 boxes instead of 20 it would work perfect. I've tried modifying the positions of the rows, and other things but AutoCAD won't update. I've reloaded the menu, restarted AutoCAD, and the computer and every time that I come back and pop down my Image Tile, it's always the same. Is there something else that I have to do?

    Thanks
     
    rlouv, Mar 8, 2005
    #4
  5. rlouv

    Gary Fowler Guest

    Make sure the file you edited is loaded first.

    Gary
     
    Gary Fowler, Mar 8, 2005
    #5
  6. rlouv

    Gary Fowler Guest

    Its been years since I have used the icon image tiles.

    Try this:


    acad_icon: dialog {
    key = "label";
    initial_focus = "listbox";
    : row {
    : list_box {
    width = 20; //this contols the tile width
    height = 21; //this contols the tile height
    fixed_height = true;
    key = "listbox";
    allow_accept = true;
    }
    : column {
    : row {
    : icon_image {
    key = "icon1";
    }
    : icon_image {
    key = "icon2";
    }
    : icon_image {
    key = "icon3";
    }
    : icon_image {
    key = "icon4";
    }
    }
    }
    }
    : row {
    : row {
    spacer_0;
    : row {
    fixed_width = true;
    : button {
    label = "&Previous";
    key = "prev";
    width = 8;
    }
    :spacer {
    width = 2;
    }
    :button {
    label = " &Next ";
    key = "next";
    width = 8;
    }
    }
    spacer_0;
    }
    spacer;
    ok_cancel;
    }
    }
     
    Gary Fowler, Mar 9, 2005
    #6
  7. rlouv

    Gary Fowler Guest

    Or this:

    acad_icon: dialog {
    key = "label";
    initial_focus = "listbox";
    : row {
    : list_box {
    width = 30; //this contols the tile width
    height = 31; //this contols the tile height
    fixed_height = true;
    key = "listbox";
    allow_accept = true;
    }
    : column {
    : row {
    : icon_image {
    key = "icon1";
    }
    : icon_image {
    key = "icon2";
    }
    : icon_image {
    key = "icon3";
    }
    : icon_image {
    key = "icon4";
    }
    }

    : row {
    : icon_image {
    key = "icon5";
    }
    : icon_image {
    key = "icon6";
    }
    : icon_image {
    key = "icon7";
    }
    : icon_image {
    key = "icon8";
    }
    }


    }
    }
    : row {
    : row {
    spacer_0;
    : row {
    fixed_width = true;
    : button {
    label = "&Previous";
    key = "prev";
    width = 8;
    }
    :spacer {
    width = 2;
    }
    :button {
    label = " &Next ";
    key = "next";
    width = 8;
    }
    }
    spacer_0;
    }
    spacer;
    ok_cancel;
    }
    }
     
    Gary Fowler, Mar 9, 2005
    #7
  8. rlouv

    Gary Fowler Guest

    Sorry I had a brain fart.
    You said you wanted 4 tiles, right.

    acad_icon: dialog {
    key = "label";
    initial_focus = "listbox";
    : row {
    : list_box {
    width = 30; //this contols the tile width
    height = 31; //this contols the tile height
    fixed_height = true;
    key = "listbox";
    allow_accept = true;
    }
    : column {
    : row {
    : icon_image {
    key = "icon1";
    }
    : icon_image {
    key = "icon2";
    }
    }

    : row {
    : icon_image {
    key = "icon3";
    }
    : icon_image {
    key = "icon4";
    }
    }


    }
    }
    : row {
    : row {
    spacer_0;
    : row {
    fixed_width = true;
    : button {
    label = "&Previous";
    key = "prev";
    width = 8;
    }
    :spacer {
    width = 2;
    }
    :button {
    label = " &Next ";
    key = "next";
    width = 8;
    }
    }
    spacer_0;
    }
    spacer;
    ok_cancel;
    }
    }
     
    Gary Fowler, Mar 9, 2005
    #8
  9. rlouv

    rlouv Guest

    Thanks Gary,
    I've been able to modify the window (AutoCAD's new way of having two of every file in different locations didn't help), and now have 4 boxes. The only problem is that it doesn't change the size of the images. Any idea on how to make them bigger?

    Thanks
     
    rlouv, Mar 9, 2005
    #9
  10. rlouv

    Gary Fowler Guest

    Modify the following in your base.dcl file

    Gary

    icon_image : image_button {
    color = 0;
    width = 12; // change this value
    aspect_ratio = 0.66; // change this value
    allow_accept = true;
    fixed_height = true;
    fixed_width = true;
    }
     
    Gary Fowler, Mar 9, 2005
    #10
  11. rlouv

    rlouv Guest

    Thank You. Works Great.
     
    rlouv, Mar 9, 2005
    #11
  12. rlouv

    Gary Fowler Guest

    I know. over the years, I have reworked all of my routines
    into a dialog based program...giving more options and user
    contols.

    I was also afraid that the icon image menu was going away...

    Gary
     
    Gary Fowler, Mar 9, 2005
    #12
  13. rlouv

    Warren Trost Guest

    Since these routines are rarely for use by others I don't worry much about
    dialog boxes. <G>
     
    Warren Trost, Mar 9, 2005
    #13
  14. rlouv

    rlouv Guest

    Gary,
    Is it hard to set up the dialog based programs. We are planning on setting up some more image dialog boxes, but one concern that I have with them is keeping them updated. How do the dialogs work with keeping them updated? Easier or Harder than images?

    Thanks
     
    rlouv, Mar 9, 2005
    #14
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.