Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Upgrade to 2.06 - added button not visible
Tue, Jun 13 2017 7:38 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

I have upgraded from 2.05b4 to 2.06b2.

If I add a button (TButton) to the sample programs Transactions and Databound, the button is not visible when the application is compiled or deployed. Any changes to the new form are not visible.

The button is defined in the generated html files.

What do I need to do to see the new button?

Richard Harding
Wed, Jun 14 2017 8:24 AMPermanent Link

Matthew Jones

Richard Harding wrote:

> What do I need to do to see the new button?

Sounds like you need to refresh the Theme. Click on the button in the IDE, and then find the "Initializes interface" button in the right of the toolbar just above the form. That resets it, and should fix things. If you have a custom theme, then you need to update from the new masters first.

--

Matthew Jones
Wed, Jun 14 2017 1:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Richard,

<< If I add a button (TButton) to the sample programs Transactions and Databound, the button is not visible when the application is compiled or deployed. Any changes to the new form are not visible. >>

Are you using a custom control interface for the TButton control ? If so, then as Matthew states, you'll need to update it to reflect the changes in the new TButton control interfaces.  The TButton control interface has a new "Client" element in 2.06 in order to allow for proper centering/auto-sizing of the icon/caption as a unit.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jun 14 2017 9:14 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

Thank you Matthew and Tim

I do have a custom control interface for TButton that I use in one project but this was not used for the sample programs.

Any changes to the sample programs were not visible when running in either the IDE or when deployed, even though I could see the changes in the source. For example, adding a new button, adding a new tab to page control or changing the caption of an existing TButton.

Uninstalled 2.06, reinstalled and the sample programs are working as expected. Now to start on my projects.

Richard
Image