View Single Post
  #3 (permalink)  
Old 02-12-2008, 10:21 PM
burd27 burd27 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 27
Default

Thanks Gary. At first I thought that using the form height would not acieve the goal as technically my form is bigger than the screen (hence the scroll bar). On the Desktop using your method centres the button in the middle of the form, so I thought the same for the device.

But, when run on the device, it centres it on the screen and not on the form. So I suppose in essence that makes the form.height really a "screen.height" function.

Yet another lesson learned on this steep learning curve. You are right.."it's pretty simple...."

Thanks Gary

Burd27
Reply With Quote