Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 16 of 16 total
Thread How to keep changes to interface controls when upgrading
Wed, May 10 2017 4:00 AMPermanent Link

Uli Becker

Kim,

> What is it I have to change in the old tbutton.wbi to make it work with the new version?
> Do I copy the old file into default or desktop folder?

I tried to explain what you have to do in order to use custom interfaces
before, but obviously I was not clear enough.

There are 3 places where the IDE is looking for interfaces:

a) Menu Environment | Options | Component Library | Tab SearchPaths

Clip1 shows a setting with the "Desktop" interfaces.

If you want to use custom interfaces, just create a folder, copy the
interface(s) into that folder and add the folder to the search path.
(Clip2 shows that)

Important: Play attention to the order of the search paths entries! The
screenshot shows that the "Dark Blue" folder is above the desktop
interfaces folder.
That means: the IDE *first* uses the interfaces of the DarkBlue folder,
*then* the desktop interfaces.
If you would move the DarkBlue path underneath the Desktop path, your
custom interface would *not* be used.

The settings described in a) are valid for *all* your applications.

b) Copy an interface into you project folder and modify it. After having
recompiled the library you'll see that the modified interface is used
just for this project.

c) Create a folder for your custom interfaces (e.g. as a subfolder in
your project folder), copy the desired default interface(s) into this
folder and modify them.
In order to "acitvate" these interfaces open the menu: Project | Options
| Tab Compilation | SearchPaths
Enter the new folder path there. (Clip3 shows that)
After recompiling the library (in that case the IDE prompts you to do
so) you'll see again that the modified interfaces are used just for this
project.

Summary:

1. In order to customize an interface always copy the original file to a
different folder and modify it there. Never change the original file
because it will be overwritten during the next update.
2. In order to use the customized interface tell the IDE where it's stored.
3. Decide if you want to use this interface globally for all projects or
just for a specail project. Depending on that choose a) b) or c)

Tim will correct me if I told you something wrong, but that's the way I
handle my interfaces and it works great.

Addition: any changes of custom interfaces in the search path will be
recognized by the IDE. At the moment you save your changes the IDE will
prompt to you recompile the library.
And: the IDE uses customized interfaces even at design time per project!
That makes things very comforable.

Hope that makes things a little bit clearer.

Uli




Attachments: Clip1.png Clip2.png Clip3.png
Wed, May 10 2017 9:32 PMPermanent Link

KimHJ

Comca Systems, Inc

"Matthew Jones" wrote:

>>I have found it easiest to decide which theme you want to use, and then copy the relevant files from that for customising. You could manually adjust the JSON from the old one but it is not simple, and I find it easiest to copy the new one, and alter the relevant values like colour by copying from the customised old version. (Some interfaces are unchanged, but given the apparent complexity I find it easiest to just default to this)

Thanks, I did copy them but I didn't see there was two folders Desktop and Default, I only copied the default.

Kim
Wed, May 10 2017 10:16 PMPermanent Link

KimHJ

Comca Systems, Inc

Uli Becker wrote:

>>I tried to explain what you have to do in order to use custom interfaces
before, but obviously I was not clear enough.

Thanks.
I did not know that there was two different interface folders. When I look in my library path the path to the interfaces is default.

What is different using the default vs Desktop interfaces?

Kim
Thu, May 11 2017 4:35 AMPermanent Link

Uli Becker

> What is different using the default vs Desktop interfaces?

What is the difference between red and blue? Smile

Uli
Thu, May 11 2017 10:12 AMPermanent Link

Raul

Globestar Systems

Team Elevate Team Elevate

On 5/10/2017 10:16 PM, KimHJ wrote:
> What is different using the default vs Desktop interfaces?

See release notes for 2.06 but relevant sections are:

The default control interfaces have been moved to the "default"
subdirectory under the "interfaces" subdirectory. This was done to
accomodate the fact that the product now ships with a new set of desktop
control interfaces (see new features section below).


and


There is a new set of control interfaces for desktop usage included with
the product. These control interfaces can be found in the
"interfaces\desktop" subdirectory under the main installation directory.



Raul
Mon, May 15 2017 2:33 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Kim,

<< What is different using the default vs Desktop interfaces? >>

The default control interfaces are more for both desktop *and* mobile usage, whereas the desktop control interfaces are primarily useful for desktop usage where you want to use a smaller font size and less "chunky" borders, etc.  The desktop control interfaces resemble the Bootstrap CSS framework a little bit.  You can see them in action here:

http://www.elevatesoft.com:8081/controlsdemo/controlsdemo.html

Tim Young
Elevate Software
www.elevatesoft.com
Previous PagePage 2 of 2
Jump to Page:  1 2
Image