Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

component icon position

Status
Not open for further replies.

sggaunt

Programmer
Jul 4, 2001
8,620
GB
Hi
I have made 4 non visual components, all work OK. except one
has odd behavior.
The odd thing is that on reloading a project the componets Icon always goes to the top left hand corner of the form.
It only happens for 1 particular component, and I cant see any difference in the code which would explain it.
It stays where you drop it at design time just moves on reloading a project.

Steve.

 
Have you checked the DFM to see if it's streaming out the top & left properties?

Just a guess... TealWren
 
Hi Tealwren

This is the component information in the DFM (it's an about box based on the wrapper component example in the delphi help files), and look it's got 2 top properties and 2 left properties!! I suspect that this may have somthing to do with it.

Thanks for the clue.
Steve..

object IntrexAboutBox1: TIntrexAboutBox
Title = 'Flash Programming'
Copyright = '(C) 2000 Intrex Ltd'
Author = 'M Berry, S G Gaunt'
TextLeft = 20
TextCentered = True
Caption = 'H8 Flash'
Height = 250
Width = 230
Top = 88
Left = 280
Filename = 'd:\flashproject\flash.exe'
DefaultIcon = True
Left = 560
Top = 136
end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top