J
jayderk
Hello all,
I was just curious on how the best way to control the position for controls
on Windows CE vs Pocket PC?
My guess is in the form load i would do something like this.
foreach(Control objControl in this.Controls)
{
if(OS.Equals("PocketPC"))
{
objControl.Location.Y = (objControl.Location.Y - 24); // moves the
control up 24 points cause the menu bar is on the bottom
}
}
My question is how can I be sure I am only moving textbox, labelbox,
picturebox, etc... and not other controls that do not need to be moved, if
there are any?
Regards,
Jay
I was just curious on how the best way to control the position for controls
on Windows CE vs Pocket PC?
My guess is in the form load i would do something like this.
foreach(Control objControl in this.Controls)
{
if(OS.Equals("PocketPC"))
{
objControl.Location.Y = (objControl.Location.Y - 24); // moves the
control up 24 points cause the menu bar is on the bottom
}
}
My question is how can I be sure I am only moving textbox, labelbox,
picturebox, etc... and not other controls that do not need to be moved, if
there are any?
Regards,
Jay