Home AMX User Forum AMX Design Tools

TPD4 feature wishlist

Hello,

I saw some feature wishes for NS2 in another post, so I figured
I might as well start one for TPD4.

Overall, I think this program is a great application.

Here are the lacking features (in my opinion):

1) The ability to scale a graphic/icon image to fit the size of the button. * The program does a very nice job of scaling everything when saving as another panel type.

2) The ability to adjust the transparency of the graphic.

I find myself constantly working with Paint Shop Pro or Photoshop to create and modify graphic sizes and transparency.

I realize to some, this sounds like I am comparing TPD4 to other manufacturers. I am not. I am only pointing out what I feel could be improved.

Who knows, these features may already be in the works.

Thanks for your input.

VLCNCRZR
«1

Comments

  • sonnysonny Posts: 208
    Here's a couple more...

    - A multi-line text object

    - the ability to lock an object in place (anchor)
  • Originally posted by sonny
    Here's a couple more...

    - A multi-line text object

    - the ability to lock an object in place (anchor)

    Can you expand on the idea of a "multi-line text object" a bit and how it would differ from the multi-line text that is available now? I think I know where you're going, but would like to hear it from the source.
  • I think it will be great if we can have the possibility to group some object (button). With this type of tools we can save time when we have numerous button on the interface.
  • sonnysonny Posts: 208
    Can you expand on the idea of a "multi-line text object" a bit and how it would differ from the multi-line text that is available now? I think I know where you're going, but would like to hear it from the source.

    First off, I am not a power user of DesignTP4, so please correct me if I am missing something....

    The main issue is not being about to insert line feeds in the text. I've had to use spaces and button width to control layout. From there, I would like to see some minimal markup inside the text including changing justification and text style (bold, italic, etc). Scrolling would be nice, as well as the ability to point the object to a text file and dynamically change the link of the file. Technically you can do this in NetLinx.

    I like to provide help pages, popup help, etc. which are mostly text.

    Some other niceties would be a list box/drop-down list.
  • Originally posted by sonny
    The main issue is not being about to insert line feeds in the text. I've had to use spaces and button width to control layout.

    Linefeeds can currently be embedded in button text in two different ways. The first is when editing the State text property in-place (i.e., not using the text entry dialog), use [CTRL]+[Enter] to insert a line break. You will probably not be able to actually see anything in the edit control when you do this, but it is there. To be able to see the line breaks, use the '...' button to bring up the text entry dialog. The same applies here, [Ctrl]+[Enter] starts a new line. This should at least get you passed having to used spaces and word wrapping to get your multi-line text.
  • sonnysonny Posts: 208
    The same applies here, [Ctrl]+[Enter] starts a new line. This should at least get you passed having to used spaces and word wrapping to get your multi-line text.

    Thanks...is there a control character (i.e. $0D) that I can insert into dynamic text to accomplish this?
  • I would like to see some more button options. Also some more text style options. Other than that TPD4 is a great tool.
  • Originally posted by sonny
    Thanks...is there a control character (i.e. $0D) that I can insert into dynamic text to accomplish this?

    If your talking about a line break when sending text from the controller you can use the pipe '|' symbol to skip to the next line.

    Example:
    SEND_COMMAND TouchPanel, "'^TXT-945,1, Line 1|line 2|Line 3'"
  • Originally posted by Bill_Ibell
    If your talking about a line break when sending text from the controller you can use the pipe '|' symbol to skip to the next line.

    Example:
    SEND_COMMAND TouchPanel, "'^TXT-945,1, Line 1|line 2|Line 3'"

    In the past I used also the pipe. But I got in trouble with that some days ago. So I simply did

    SEND_COMMAND TouchPanel, "'TXT945-Line 1',$0D,$0A,'line 2',$0D,$0A,'Line 3'"

    and that works fine.
  • DHawthorneDHawthorne Posts: 4,584
    After copying a dozen pages from one touch panel file to 10 others...for the umpteenth time as this project matures...I would really like to see some manner of automated merge feature. That way I can create and maintain a bunch of panel pages for specific devices, and when I wish to add them to another panel, just merge them in. The merge wizard should ideally bring up a checkbox list of all the pages in the file you are merging, so you can check the pages you want, and a checkable overwrite flag for pages or popups with the same name (for easy updates). It would be nice also if it allow you to change port numbers as part of the process, but I can live with that as it is.

    Another beef I have is the way duplicate bitmaps are handled in the existing copy/paste scheme. All bitmaps are imported, and placed in the target file as "Copy of..." The result can be 3-4 copies of the identical bitmap. If you delete the copies, you then have to go through the entire panel and fix all the references that got blanked out. It's easier and faster just to leave tehm in, but it can also be a big waste of resources. Copy functions need an overwrite/copy flag or prompt for resources with the same name.
  • alexanboalexanbo Posts: 282
    Well at the very least I'd like to be able to copy more then one page at a time.

    I thought the way it handled bitmaps is if a bitmap with the same name is loaded the program will check to see if the bitmaps are the same and if they are it doesn't load the new one. If the bitmaps are different then it adds the copy of prefix to the bitmap. In fact I thought there was some settings some where that affected that but I can't find them anymore.
  • DHawthorneDHawthorne Posts: 4,584
    Originally posted by alexanbo
    Well at the very least I'd like to be able to copy more then one page at a time.

    I thought the way it handled bitmaps is if a bitmap with the same name is loaded the program will check to see if the bitmaps are the same and if they are it doesn't load the new one. If the bitmaps are different then it adds the copy of prefix to the bitmap. In fact I thought there was some settings some where that affected that but I can't find them anymore.
    I'll have to look at the options, maybe I missed something. But I have a standard library of bitmaps I use in most of my projects for transport icons and sources...if I copy a page from one panel to another, those bitmaps all get duplicated, even though both panels had the same originals.
  • Copying bitmaps
    Originally posted by alexanbo
    Well at the very least I'd like to be able to copy more then one page at a time.

    I thought the way it handled bitmaps is if a bitmap with the same name is loaded the program will check to see if the bitmaps are the same and if they are it doesn't load the new one. If the bitmaps are different then it adds the copy of prefix to the bitmap. In fact I thought there was some settings some where that affected that but I can't find them anymore.

    I have noticed the copy of bitmaps issue. I believe it has something to do if you have a bitmap assigned to a slot. The bitmap will duplicate itself in multiple slots when pasting from another file.

    There are options for paste controls (F9) that can be set.

    Selecting multiple page to copy from on file to another is definitely needed, good idea.
  • I would like to see some sort of Folder structure for the resource manager as a means of sorting animated images.
    Now you have to scroll through many frames of the same button animation before you get to where you want.

    Also, a replace function would be nice. If you want to change a customer logo from one project to another you have to import the new one, delete the old one and select the new one on the right page... too many mouse clicks ;)

    [edit] OH, and how about a 'delete unused resources' function??
  • I don't think TPD3 does and I am pretty sure TPD4 doesn't have the ability to locate pop pages to different spots on different pages. It seems that once it is assigned it always defaults to the same locale. Crest*** vision-tools I am told can do this.
  • I don't know if I would want the same pop-up jumping around. It makes for an easier to use and follow interface if a common pop-up pops up in the same position every time.

    Kevin D.
  • TPD4 feature wishlist (Popups)

    By default, popup pages are positioned based on the x, y coordinates specified for the page in the TPD4 file. There is an option which you can select for a popup page that allows it to be dragged to another location on the screen. There is a second option that determines whether or not a popup page is returned to its original location or the last location it was positioned on the screen. Therefore, it is possible using the drag capability and selecting no for position reset to have a popup page appear in different locations on different standard pages. This might not be the same capability provided by the other guys but it can be useful in certain situations.

    I agree however that for most UI applications, having a popup appear in different locations will confuse the user. I use them typically for video windows where I allow the user to move them around the screen and to leave them positioned where they last dragged the popup. If the popup is not dragged by the user, it will of course by default always popup in the same location on the page (or any page it is popped on).

    Reese
  • JoeJoe Posts: 99
    Popup Locations

    It is true the "other guys" will let a popup appear on different pages in different locations, but each instance of the same popup must have a unique channel number. This gets to be a real pain after a while. In AMX world, if you need the same popup to appear on 2 different pages in 2 different locations, you simply make 2 different popup pages with the same buttons on them.
  • Everyone had very valid points with the variable position pop-up. I was thinking it would be very useful for boardrooms where you have a panel in the room and another panel in a control booth and the panel is a mirror of the boardroom. I know another programmer that codes for both sides and he had a few instances where it was handy. Making another pop-up page the same but with a different position I feel is an unnecessary waste of memory though.
  • Re: Copying bitmaps
    Originally posted by B_Clements
    I have noticed the copy of bitmaps issue. I believe it has something to do if you have a bitmap assigned to a slot. The bitmap will duplicate itself in multiple slots when pasting from another file.

    If anyone can provide a scenario/files and the Paste Control settings that will duplicate this, it would be much appreciated. There are situations where an image may be assigned to a new icon slot in the target panel, but I haven't been able to cause duplicate image resources. At least not with the source images being exactly the same as the ones that already exist in the target panel. Thanks.
  • Originally posted by Dries Kaspers
    Also, a replace function would be nice. If you want to change a customer logo from one project to another you have to import the new one, delete the old one and select the new one on the right page... too many mouse clicks ;)

    I assume what you're requesting is to replace one image resource with another one that has a different name. A quicker way to pull this off than doing all the replacement on your states by hand is to first import the new image, then use Find & Replace to search for references to the old image and replace them with references to the new image. If you set the scope to 'Entire Panel' and then choose 'Replace All', all the grunt work will be done for you. Then you can go back into the Resource Manager and safely delete the old image.

    Otherwise, the import dialog has a checkbox to 'Overwrite resources with duplicate names'. This will effectively remove the current resource and import the new one in its place (as long as they have the same filenames), but without losing references to it on your button states.

    Hope this helps you out.
  • DHawthorneDHawthorne Posts: 4,584
    I've attached a panel file that illustrates what I am talking about. This customer has a dozen panels, all of which are similar, but have some local differences. To save time, I made a "master" file, then copied and modified the individual files to suit. Then I had to upgrade some old Viewponts to MVP's, which in turn had all the features of his in-wall CV-12's, plus the local features of the Viewpoints. This file is one such. I imported the old Viewpoint TPD3 file, and cut and pasted the pages I needed, then edited them to look nicer. If you look at this panel's resource page, you will see several "Copy of" on duplicate bitmaps that resulted from this operation.

    I would like to see page copies use the same resources if the names are the same. Importing a file is all-or-nothing, and to save time I often just re-use single pages.

    To clarify my original point, it would be great to be able to merge a file on import - that is, import all the pages, resources used, etc., in one operation, without having to individually copy pages, and going over the entire thing for dupes. Same file, for example - I am in the process of changing the Fireball screens to something that shows all the database operations on a single page. I have two standard pages to replace the current 4, and a dozen popups that go with it. The current mechanics are just awkward and time consuming; I have to cut and paste each one. If merging were available, I could make a file with just my new Fireball screens, merge it into the existing panel, delete the old pages and update my page flips, and I would be done. I could also update all the panels in the project with it - whenever a global change came around, I could edit that single "master" file, then merge it into all the individual ones without having to cut-and-paste pages and buttons like I do now.

    Note: I couldn't attach the file, too large; a link is provided below.
  • DHawthorneDHawthorne Posts: 4,584
    Hm, forgot to re-attach after the edit...here goes again...

    Edit: nope, wouldn't let me attach it, still too big I guess. I will have to upload the file to my server and link it, but I have to get running right now, I'll get it later. :(
  • DHawthorneDHawthorne Posts: 4,584
    Had a few minutes reprieve - my example file is at http://www.dhawthorne.net/Example_MVP.zip
  • VLCNCRZRVLCNCRZR Posts: 216
    Button effects for G4 panels

    The ability to have show & hide effects for individual button entities just as if they were popup pages would be really cool!

    I suppose I could just create 300 small popups each containing a single button.
  • Thomas HayesThomas Hayes Posts: 1,164
    I'm not sure if this exists(I didn't see it) but multi colour bargarphs would be nice. Have it setup so you choose 2 or 3 colours and the display will slow transform(so it doesn't change from 1 colour to the next colour in a single jump) into that colour as the level changes. You could also make it so the programmer could change the level at which the display would change colour.
  • VLCNCRZRVLCNCRZR Posts: 216
    multi-state bargraphs

    Thomas,

    Have you tried using the multi-state bargraphs
    and using the tweeners tool to fade the colors?

    This works pretty slick.
  • Thomas HayesThomas Hayes Posts: 1,164
    No, I haven't sounds pretty cool. Does it allow you to change the states that the colours change at? ex: Green till 70% fade to yellow till 85% and then red above that.
  • VLCNCRZRVLCNCRZR Posts: 216
    Definitely.

    You could create a multi-state bargraph with 255 states,
    then assign any color values at any states.

    This way, when you send your levels, you are working
    with a 1:1 level assignment.
  • Thomas HayesThomas Hayes Posts: 1,164
    Thanks I will give it a try later this week.
Sign In or Register to comment.