Jump to content


Photo

Error in TnxCheckBox and TnxAlertWindow


  • Please log in to reply
7 replies to this topic

#1 mcinternet

mcinternet
  • Members
  • 101 posts
  • Gender:Male

Posted 21 June 2007 - 05:21 PM

Hi,

after the last Berg-Update(a few minutes ago) there is a big Problem in TnxCheckBox and TnxAlertWindow

The property VerticalAlignment has after saving bad controlsingns instaed center/left/right, so that the compiler bring the error: Unsupported 16bit resource in file main.dfm.
If I change this manually, I can compile. - As then I press the save-button, the same shit is there again.
What happend there?

<see pics>

brgds

McInternet

Attached Files



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 21 June 2007 - 05:55 PM

Hello McInternet,

Please open this DFM files with Notepad or similar programs. Then delete this 2 lines.

This was heppen because TVerticalAlignment is now used from Delphi. Before Delphi 2005 there was no this property, and I was create them by myself. Now when Delphi 2007 is out I was need to remove my TVerticalAlignment declaration finaly.

TVerticalAlignmen in delphi is:

TVerticalAlignment = (taAlignTop, taAlignBottom, taVerticalCenter);

Before v4 in my component was:

TVerticalAlignment = (vaTop, vaBottom, vaMiddle);

I hope that this helps. Unfortunatelly this was need to be done due to some conflicts.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 mcinternet

mcinternet
  • Members
  • 101 posts
  • Gender:Male

Posted 21 June 2007 - 09:13 PM

QUOTE (Boki (Berg) @ Jun 21 2007, 06:55 PM) <{POST_SNAPBACK}>
Hello McInternet,

Please open this DFM files with Notepad or similar programs. Then delete this 2 lines.

This was heppen because TVerticalAlignment is now used from Delphi. Before Delphi 2005 there was no this property, and I was create them by myself. Now when Delphi 2007 is out I was need to remove my TVerticalAlignment declaration finaly.

TVerticalAlignmen in delphi is:

TVerticalAlignment = (taAlignTop, taAlignBottom, taVerticalCenter);

Before v4 in my component was:

TVerticalAlignment = (vaTop, vaBottom, vaMiddle);

I hope that this helps. Unfortunatelly this was need to be done due to some conflicts.

Best regards

Hi Boki,

which 2 lines ?

brgds

McInternet

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 21 June 2007 - 09:36 PM

Hello McInternet,

Lines where stays:

VerticalAlignment = ......

After you open this file again in Delphi, all will be fine.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 mcinternet

mcinternet
  • Members
  • 101 posts
  • Gender:Male

Posted 21 June 2007 - 09:54 PM

QUOTE (Boki (Berg) @ Jun 21 2007, 10:36 PM) <{POST_SNAPBACK}>
Hello McInternet,

Lines where stays:

VerticalAlignment = ......

After you open this file again in Delphi, all will be fine.

Best regards

Hi Boki,

ah, ok. I wondered because 2 lines... I thought the alignment and the line above or so.
In my project these not only are 2 lines ...... the main.dfm has more than 40.000 lines and I uses > 100x TNxCheckBox ....

brgds

McInternet

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 21 June 2007 - 10:08 PM

Hello McInternet,

Bad sad.gif

If you want, please send me this DFM file(s) to I delete it by myself. I will do it with Searh and Replace.

Please sorry again for this, it was required to be done sad.gif

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#7 mcinternet

mcinternet
  • Members
  • 101 posts
  • Gender:Male

Posted 21 June 2007 - 10:12 PM

QUOTE (Boki (Berg) @ Jun 21 2007, 11:08 PM) <{POST_SNAPBACK}>
Hello McInternet,

Bad sad.gif

If you want, please send me this DFM file(s) to I delete it by myself. I will do it with Searh and Replace.

Please sorry again for this, it was required to be done sad.gif

regards

Hi Boki,

Shit happens ..... I´m already in charge doing this. (UltraEdit is very helpful doing such work)

But very thanks for your offer ;) - it´s very kind!

brgds

McInternet

#8 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 21 June 2007 - 10:28 PM

Hello McInternet,

I hope that you will do it easy. Please don't forget to backup your original file first.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users