Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi for PHP/Compatibility/Other    [ Add a report in this area ]  
Report #:  103772   Status: Reported
Moved forms from XE to XE2 don't work well any more
Project:  HTML5 Builder Build #:
Version:    4.3 Submitted By:   John Schmidt
Report Type:  Crash / Data loss / Total failure Date Reported:  2/28/2012 1:26:08 PM
Severity:    Infrequently encountered problem Last Updated: 3/9/2012 10:17:07 PM
Platform:    All versions Internal Tracking #:  
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
On forms moved from XE to XE2 e.g. a button becomes invisible, a pagecontrol doesn't switch the tabs changing the active layer property and control on the pages of the pagecontrol become invisible on layers with tabindex > 0 until they are selected using the property editor.

It is absolutely important that forms (with pagecontrols and translated siblings too) can be moved from XE to XE2 without issues! Some larger projects cannot be rewritten every time a new version is released. I'll try to figure out how to work around to rescue them but this will last a bit. Please inform me immediately if there are new findings!!! - Thanks.
Steps to Reproduce:
1. Create with XE a form with a button and a pagecontrol (some pages and controls on them). Better if you translate it in some other language too.
2. Save it and open it with XE2: The button is gone, the tabs of the pagecontrol cannot be switched any more (only the layers) and the controls of layers > layer 0 are gone too until you select them in the property editor once.
3. Now open the translated language version: The button is gone here too, the tabs of the pagecontrol have the basic names not the translated ones. The context menu for the layers selection shows the translated names, the controls of layers > layer 0 are invisible but in the property editor assigned properly.

Tomohiro Takahashi at 3/1/2012 8:41:45 AM -
> 1. Create with XE a form with a button and a pagecontrol ...
> 2. Save it and open it with XE2: The button is gone,
Could you please attach sample project to reproduce your issue?
and, does your issue occur only when using  pagecontrol?

John Schmidt at 3/9/2012 7:17:54 AM -
It happened only when there was a pagecontrol there too.

I cannot reproduce any more as after a reboot this didn't happen any more. But it may be of interest that the units I have moved from XE have been created originally by Delphi for PHP 1 than moved to 2 and later to XE and now to XE2.

The disappeared button has probably been hidden by the pagecontrol having got a bad top edge value not regarding the fact that the pagecontrol was placed at a smaller y-position.

I suggest that for now close the caase. If I encounter it again somehow, I'll let you know updating the comments. Do you agree?

Server Response from: ETNACODE01