Hi Tracy Sorry to take so long to reply been to see a client.
Sorry No. The popup was top left of the form and the Text Box was at the right Top. Bear in mind the main form does not have a title bar but instead has images which are placed and stretched as necessary to give the appearance of a Title bar. Also I am using a graduated background to each form from: http://weblogs.foxite.com/vfpimaging/archive/2006/06/22/1906.aspx Courtesy of Cesar Chalom if you look at my blog http://arg-software.intabrokers.com/blog/?p=67 you can see what I am doing. Idea 4 - Customising the form (title bar and background gradient) Code in the KeyPress below Lparameters nKeyCode, nShiftAltCtrl Private nTop,nLeft,cSearchText Local lnCount As Number,lcSearchText As Character,lcFilter As Character Select PurchaseOrders lcFilter = Set("Filter") lcSearchText = Chr(nKeyCode) nTop = Thisform.Top nLeft = Thisform.Left Select PurchaseOrders Set Order To USuppCode Count To lnCount If lnCount = 0 Messagebox("Purchase Order table is empty",16,"Warning") Else Do Form formSearchPoNos.scx With nTop,nLeft,lcSearchText,ThisForm.nPoType && Open the form at the top left && only show purchase orders of this type If !Empty(oGlobal.nOrderNo) && Return with a PO No here This.Value = oGlobal.nOrderNo Select PurchaseOrders Set Filter To Set Order To PoNo Seek This.Value If Found() Thisform.SetupPurchaseOrder() Else Messagebox("Error with Purchase Order",16,"Warning") Endif Else Messagebox("Error with Purchase Order",16,"Warning") Endif Endif Select PurchaseOrders Set Filter To &lcFilter Locate for PurchaseOrders.nPoNo = oGlobal.nOrderNo && added to try and fool the text box into showing the right no. This.Refresh() Cheers Peter -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Pearson Sent: 04 August 2009 18:31 To: [email protected] Subject: RE: R: VFP9 SP2: Form caption strangeness Peter, Is the textbox now under the form that pops up, so it's being redrawn, and before it was not? Tracy -----Original Message----- From: Peter Hart Sent: Tuesday, August 04, 2009 12:31 PM Hi Tracy This gets stranger. I revisited the form as after I sent the email I had a thought about a possible solution. Tried it without success. Then I thought "I am using the same ideas on another form" as there are three different types of Purchase Order with otherwise totally different requirements. The other two worked OK what was different. The faulty one had the textbox at the top. On the good ones the textbox was down at the bottom. Moved the box, did not touch the tab order or anything else and now it works OK. I can't explain that. Cheers Peter Peter Hart Computers [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/a57fa4cf19531343a2ee11b57db8e3af04c...@server.peterhartcomputers.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

