Creating your own themes. HowTo?

Post complete new themes or wizard dialogs here.

Creating your own themes. HowTo?

Postby Frank » Fri Mar 26, 2010 7:09 am

Well, the subject says it all :) . I've looked on this forum to find something of a FAQ or topics related to the subject, but failed. Does something of a FAQ on theme creation exist?
Can anyone show me a thread so I can get to work on my own theme?

Or is it maybe better to modify each dialog by hand? Basically all I want is the 'side bar' and 'top bar' off each dialog to be replaced with the logo of my company. So the theme is fine, just not the pictures.
Frank
 
Posts: 44
Joined: Tue Oct 27, 2009 9:16 am
Location: Netherland

Re: Creating your own themes. HowTo?

Postby mills » Sat Jul 31, 2010 8:40 pm

Copy the theme closest to the one you like to its own folder, and then customize the dialogs. The new theme will even show in the list of built-in InstallAware themes in the IDE, together with a bitmap theme preview, if it has been done properly.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
mills
 
Posts: 817
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Creating your own themes. HowTo?

Postby bokkie » Fri Oct 22, 2010 10:05 am

I copied a theme and noted that each dialog is 388h x 503w. I massaged a bitmap with Snagit to the same dimensions as the dialog. I then added an image control to each dialog and loaded the bitmap into it. I set the top and left properties to 0 and then set the image to "send to back". I then set the auto size property to true. That obviously caused the image to maximise to fill the dialog and all the properties were then visible on top. For some reason, if I did the auto size first and then set "send to back" after, when I moved some other controls on the dialog some took a piece of the bitmap with them! I have a bald spot above my right ear trying to work out a solution to that. I never found a reason but once I set "send to back" first and then auto size I had no further problems. Perhaps it was just my machine...

The ad.bmp which is used as the preview when selecting a theme was easy. I just took a screencap of the welcome dialog and resized it to the same size as another ad.bmp (193 x 150) and the preview is bang on the money.

I also started thinking on something. Say I then made a local edit to a dialog in the project and then reload the theme, the changes I make would then be lost because they'd be overwritten? I never tried it but it sort of ties in with the message you get when you switch themes. So, make your change to the theme dialog only or risk losing local edits. Otherwise, I understand more about themes than I did a day ago.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware (9 through 15) MVP
bokkie
 
Posts: 605
Joined: Sun Feb 08, 2009 6:30 am

Re: Creating your own themes. HowTo?

Postby mills » Fri Oct 22, 2010 2:38 pm

That's correct. If you edit a dialog that is included with a theme, it will lose any edits you made in the project folder,when you change themes. There's a pretty clear warning about this. So, you may want to back up your dialogs before hand if you've made edits.

Otherwise, dialogs created that don't have matching names as those found in the theme should be retained without change.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
mills
 
Posts: 817
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Creating your own themes. HowTo?

Postby bokkie » Fri Oct 22, 2010 2:58 pm

I spent a pleasant morning adding the company's corporate logo to the dialogs and it look quite good now that I've been given a new bitmap. If I understand it then, if I remove a dialog from a theme's folder, the one in the project will still be retained, warts and all. That's reassuring to know. Personally, I'm happy to have invested the time in changing all the dialogs in the company's theme. They also seem to like it and compared to the crappy version of IS they have installed, they are quite surprised as to how quick development is with IA and how easy it was to change its presentation.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware (9 through 15) MVP
bokkie
 
Posts: 605
Joined: Sun Feb 08, 2009 6:30 am


Return to New Themes, Dialogs

Who is online

Users browsing this forum: No registered users and 0 guests

cron