David, that's it... Once I looked for the dll It was easy to search for the code where I had used it before... Thank YOU
SET VAR vm_size TEXT = NULL
SET VAR vm_size = (UDF('@RGetCntr.DLL','275,250'))
IF vm_size IS NOT NULL THEN
EDIT USING s_itemdesc AT &vm_size CAPTION 'Search PO System'
ELSE
EDIT USING s_itemdesc AT 400,385,700,650 CAPTION 'Search PO System'
ENDIF:) Jim Limburg
David M. Blocker wrote:
Jim There is a DLL available which I can't at the moment put my hands on. I got it originally from Mike Willochel at RBTI. I suggest you go direct to him. I know it works like a charm!
David
David Blocker [EMAIL PROTECTED] 781-784-1919 Fax: 781-784-1860 Cell: 339-206-0261 ----- Original Message ----- From: "Jim Limburg" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 1:32 PM Subject: [RBASE-L] - Centering form on screen - who wrote this
G-Day all
I have searched for about and hour now, and have not come up with what I
need.
I know I have a snippet of code written by somebody on this list that will calculate (given the size of a form I think) the AT x1,y1,x2,y2 sizes to center the form on a screen, but I can't find it.
If the person who wrote this would kindly share it again I would
appreciate it
TIA Jim Limburg

