I got a Panel and want to assign it the value Top from the code... so I write: Panel1.Top = 20
but I get a warning saying "The following value misses screen units ('dip' or %x / %y):20. (warning #6).
What am I suppose to do? Any help will be highly appreciated!
Thanks
Massy
When you position views you MUST use 'dip' units. that's what the warning means, change that line to Panel1.Top = 20dip (or Panel1.Top = 20%y) depending on what you are doing.