Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread 1.0.2 visibility issue
Tue, Jun 4 2013 6:17 AMPermanent Link

Matthew Jones

Just to let people know, there is an issue in 1.0.2 with items that are invisible
at design time on the forms of previous projects. With the new InitialLeft,
InitialHeight etc, it picks up the current Left, Height, but if it is invisible,
then the Initial values are heavily negative numbers or zeros.

This is easy to fix, just get a diff on the previous version, get the old left etc
back, and copy the values to the InitialX value.

I am probably unusual in hiding so much, but I note that the TTimer is affected by
this, as it is not visible at runtime.

I emailed Tim about this as soon as I saw it, with examples, but I just opened
another project and thought it worth mentioning.

/Matthew Jones/
Fri, Jun 7 2013 11:40 AMPermanent Link

Matthew Jones

This issue also affects copy and paste of invisible items. Just had a panel copy
from one form to another, and it was copied, but to a negative location.

/Matthew Jones/
Tue, Jun 11 2013 9:33 AMPermanent Link

Mark Brooks

Slikware

Avatar

>>Just to let people know, there is an issue in 1.0.2 with items that are invisible
>>at design time on the forms of previous projects. With the new InitialLeft,
>>InitialHeight etc, it picks up the current Left, Height, but if it is invisible,
>>then the Initial values are heavily negative numbers or zeros.

Just stumbled upon this myself. Actually a very big issue for me since I have several projects, all of which use hidden design-time components quite extensively. This renders them effectively unusable in the IDE. I have had to rewind to 1.01B5 for now.

Tim, may I ask if there is a fix for this in the short-term?

Thanks

Mark
Tue, Jun 11 2013 12:30 PMPermanent Link

Matthew Jones

> I have had to rewind to 1.01B5 for now.

You can just edit the files, and then it isn't a problem. It is just the initial
modification that causes a problem. Fix it, and it doesn't happen again.

/Matthew Jones/
Wed, Jun 12 2013 6:02 AMPermanent Link

Mark Brooks

Slikware

Avatar

>>You can just edit the files, and then it isn't a problem. It is just the initial
>>modification that causes a problem. Fix it, and it doesn't happen again.

I hear what you say Matthew, but there are quite a few forms like this and each has a large number of components, all across several projects. Unless I'm mistaken I think this might be a very time-consuming task? Are you suggesting inspecting the form source, noting the positions, loading into 1.02B1, saving, then editing the form source to reset the positions?
Wed, Jun 12 2013 12:55 PMPermanent Link

Matthew Jones

<Mark Brooks> wrote:
>>> You can just edit the files, and then it isn't a problem. It is just the initial
>>> modification that causes a problem. Fix it, and it doesn't happen again.
>
> I hear what you say Matthew, but there are quite a few forms like this
> and each has a large number of components, all across several projects.
> Unless I'm mistaken I think this might be a very time-consuming task? Are
> you suggesting inspecting the form source, noting the positions, loading
> into 1.02B1, saving, then editing the form source to reset the positions?

My code was in Subversion, so I just used the diff tool. Only invisible at
design time components are affected. I simply copied the old Left etc lines
to the 1.02 file, and then used a text editor to find "= -". Then for each
instance, just type in the appropriate value. Fiddly but didn't take long
as the old values were easy to get, and it isn't hard to find them.

--
Matthew Jones
Wed, Jun 12 2013 1:17 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mark,

<< Tim, may I ask if there is a fix for this in the short-term? >>

It's design-time (.exe), so it has to wait until the next build.  It won't
be very long, though.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Jun 12 2013 2:19 PMPermanent Link

Mark Brooks

Slikware

Avatar

>>It's design-time (.exe), so it has to wait until the next build.  It won't
>>be very long, though.

Great - thanks
Thu, Jun 13 2013 1:07 PMPermanent Link

Matthew Jones

Tim,

It may be worth looking at the docking in connection with this too. I added an
image to a panel, set it invisible, then set the dock property to Right. The image
was "stuck" in the current position, and apparently not docked. Things went a bit
funny, and it may be because I removed the dock position, but it ended up
disappearing as the top and left had been set to a large negative.

/Matthew Jones/
Fri, Jun 14 2013 1:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< It may be worth looking at the docking in connection with this too. I
added an image to a panel, set it invisible, then set the dock property to
Right. The image was "stuck" in the current position, and apparently not
docked. Things went a bit funny, and it may be because I removed the dock
position, but it ended up disappearing as the top and left had been set to a
large negative. >>

Yep, this is now fixed - the docking wasn't working if the control wasn't
visible.

Tim Young
Elevate Software
www.elevatesoft.com
Image