Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Foxpro 7.0 File Open function 1

Status
Not open for further replies.

ChibiNeko

Programmer
Joined
Sep 26, 2002
Messages
13
Location
US
Hi,

How do I get rid of the default button labeled "Help", and one labeled "Code Page" in my application which uses the default Foxpro function that creates a Open File selection box. Most program languages include a built in function that creates the File Open, and File save dialog boxes that Windows users are used to seeing. This is the Open version for Visual Fox Pro.

I do not want these buttons to show, if they have no purpose.

Thanks,
 
Well, you can't - you get what VFP gives you! (The help file is pretty clear on your options.) You could create your own form to provide whatever look you want, or you could try using the Common Dialog ActiveX control - it's a bit more flexible. There have been a number of different threads on it's use, try the Keyword Search (above).

Rick
 
Hi

Try this sample...

DO form (HOME(2) + 'solution\ole\commdlog.scx')

:-)
ramani :-)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Thanks ramani,

This is exactly what I wanted. I'll try using the com object described in the VFoX Sample code to instead of GetFile(). This looks a lot more configurable!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top