LOCAL lnTotBottom,lnFormWidth , lnTop, lnLeft, lnScreenHeight WITH this.ocal lnTop = OBJTOCLIENT(this,1) lnScreenTop = OBJTOCLIENT(thisform,1) lnLeft = OBJTOCLIENT(this,2) lnScreenLeft = OBJTOCLIENT(thisform,2) lnScreenHeight = _screen.Height lnScreenWidth = _screen.Width .left = MIN(lnScreenWidth-.width,lnLeft+lnScreenLeft) lnTotBottom =lnScreenHeight - (lnTop+lnScreenTop+this.Height) IF lnTotBottom > .height .top = MAX(lnTop+lnScreenTop,0) ELSE .top = MAX(lnTop+lnScreenTop - this.Height - .height,0) ENDIF ENDWITH>>objtoclient(datecontrol,1)+objtoclient(thisform,1) works if there is not a toolbar. Otherwise I am to low about 30 pixels. Thus, how can I find the height of the toolbar. I figure that I have the same issue with the left property but lets take one at a time.