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!

Recent content by Foxprosoldier

  1. Foxprosoldier

    keyboard command to send a report to the printer

    Yes the ctrl+p did not work for vfp 9.0. Not sure for earlier releases but did not try with a version before vfp 9.0 I got around it by creating a toolbar with one button on it that set a public variable to a value that meant something to the calling program and then clicking the Print button...
  2. Foxprosoldier

    keyboard command to send a report to the printer

    This is faq184-4480 ============================ If you are not happy with the toolbar that controls the report preview screen, why not build your own? This FAQ does not give step-by-step instructions for creating a toolbar, but it will give you an idea of what code to put in the Click events of...
  3. Foxprosoldier

    Adding a button to a custom toolbar

    Ok it is as I suspected then in order to add your own code and button to the custom toolbar you would have to create a regular toolbar and do the whole thing yourself. Thanks for pointing me in the right direction.
  4. Foxprosoldier

    Adding a button to a custom toolbar

    In the vfp menu I chose Toolbars then New then entered my new toolbar name. Then I chose customize and then highlighted the Print Preview line and dragged all of those controls onto my new toolbar. After doing that is there a way to put my own button on that toolbar with my own code in it. If...
  5. Foxprosoldier

    Setting WindowType property to 1 for Modal - receive error

    In ALL cases I was changing the windowtype property in the init. In the cases of the forms where I receieved the error "Property is read only" I also tried changing the windowttype property in the first line in the init and the first line in the load. I receved the same error. When I tried to...
  6. Foxprosoldier

    Setting WindowType property to 1 for Modal - receive error

    Thankyou TamarGranor . I used this code and it worked perfectly. A bit puzzling though as I swear there are forms where I don't have to set the form to Visible=.F. befor I change the windowtype and works fine with no error but not on others. Anyway the code below solved it. THIS.Visible=.F...
  7. Foxprosoldier

    Setting WindowType property to 1 for Modal - receive error

    I want to set a form to Modal or Modeless depending on the value of a parameter passed. Am trying to set the WindowType property in the init of the form. On some forms it works fine on others I am receiving a "Property is read only" error. I am using VFP 9.0. Anyone else run into this problem?

Part and Inventory Search

Back
Top