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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kazl
  • Content: Threads
  • Order by date
  1. kazl

    Top Level Forms / Writing Notes in a separate Window

    Hi Everyone First, I apologise if this has been covered, if so, could anyone please point me in the right direction? I have a grid screen with command buttons in the form, showing help notes topics. When the user right-clicks on a topic in the grid this opens another form with an edit box...
  2. kazl

    Cursor Position in EditBox / Scroll Bar issue

    Hi Tek-Tips People I hate to raise this issue again, but have read 30+ posts on EditBox and spent afternoon trying... so here it goes. I have an EditBox, with a scrollbar, on a form and there is more text than can be displayed in the box. It must be possible to amend/insert text anywhere in...
  3. kazl

    Copy & Paste oleRTF into Word - results not Rich Text

    Hello Everybody I'm held up on an RTF Rich Text problem. I want to copy the rich text from an active form into Word, via the clipboard. I have tried this with the code from Phil Hawkin's article (recommended by Mike Lewis in thread1254-845690). But all of my attempts still paste the fully...
  4. kazl

    How do I tell which grid cell is active when a button is pressed?

    Hi there Tek-Tips people - a question for you please: I have a grid and a toolbar with a button "Copy to All". I want the Copy to All button to take the value of the selected cell in the grid and copy it to the same field in every other record shown, to save retyping. I have completed this...
  5. kazl

    Whats the difference between SetFocus and SetFocus()?

    Hi There Forgive me for asking this but I am working with grids and have various places where I use SetFocus to move to a particular column control and also Refresh() the form. In some places I have used Refresh and others Refresh() or SetFocus / SetFocus(). What difference do the brackets ()...
  6. kazl

    Word Automation - best way to select printer tray?

    Hello Tek-Tips Users I am batch printing documents from VFP6 using Word and need to be able to specify the printer tray at the start. These documents are built up from alternate files using a normal page, then a page of terms for duplex printing.... This works very well until I try using the...
  7. kazl

    Can I open and display a folder on the desktop from VFP?

    Hello everybody. Is there an easy way in VFP6 to open/display a folder on the desktop as though it had been opened via My Computer? I am creating a set of PDF files which will be attached to an email, but not with Outlook automation. I want to generate the reports in a new folder and then...
  8. kazl

    Word Automation - Delete Cell from a Table in Footer?

    Hi There. Can you help with Headers and Footers please? Is there a simple way to access part of a table within a footer. I have a 1 row, 4 column table used for company info on a letterhead. Sometimes I need to remove the text from the last cell. I know that to delete the whole footer I can...
  9. kazl

    Network Traffic / Local EXE - AND DLLs?

    Hi All On a multi-user system in VFP6 with 2 to 20 users, sometimes the operation pauses during a screen refresh or it stops responding to the keyboard. This usually lasts for 30-60 secs and then it carries on. I think the problems are due to network traffic and the volume of data, with the...
  10. kazl

    Name file for PDFWriter via Registry?

    I want to pre-name output files for Acrobat PDFWriter. I am using the code helpfully provided by Mike Krausnick in various threads. I did also try the sample wwPDF code from Rick Strahl's page at West Wind. I'm still stuck. I read lots more tips on PDF and on setting items in the Registry...
  11. kazl

    VFP Reports to PDF - Page Size Differences

    Hi. Can you help please? I am using Adobe Distiller to output reports with REPORT FORM myreport TO PRINTER PROMPT The text is stored in a single field database with page headings etc. The VFP report is a simple one liner listing from this database. REPORT FORM myreport PREVIEW shows that the...
  12. kazl

    Using Combo in Grid - freezes my VFP

    Hi I am trying to use a Combobox for one field in my grid. This is a (supposedly) simple item which lets you select from a list "A,B,C". I use the following: With ThisForm.Grid1.Columns(n) .Text1.Visible = .F. .ADDOBJECT('Combo1', 'ComboBox') .Combo1.BorderStyle = 0...
  13. kazl

    using SET RELATION to limit Grid data - not working!

    Hi All. I've a general purpose grid program used sometimes for whole files and other times for set data. Want to limit the data in grid according to ACCOUNTNO field. Using SET FILTER will be too slow so tried using SET RELATION from the customer file (SET RELATION TO accountno INTO vehicles)...
  14. kazl

    Cant select Textbox controls with mouse / only {Tab}

    Hi There I apologise in advance if this is something daft but I have been stuck on this since Friday... I have a program that puts some text boxes, an oleControl (for a Rich TextBox) and the RTF Controls into a window (oWindow). The problem is, altho all controls are enabled, I can only move...
  15. kazl

    Rich TextBox Control - problem with ControlSource

    The following code creates a form with RTF controls and it would work except for one thing. On loading it displays "OLERTF" instead of the contents of the memo field. Can anyone tell me where I've missed something out? Thank you. Kaz. SET CLASSLIB TO samples ADDITIVE use rtf &&...
  16. kazl

    Can I find and replace within an editbox?

    I want to make the Find and Replace options active on the Edit menu so they can be used while updating notes in an EditBox? I have tried various things with Sysmenu and my own menus but the find amnd replace options are still disabled. Is there an easy way to enable them? Kaz.
  17. kazl

    Cursor movement problem with Inserting Text (Seltext;Selstart)

    Last week I wanted help finding cursor position within editbox, for inserting text selected from a popup. You gave me some helpful replies but I have run into a bug/problem. _CLIPTEXT works only if there are no cr returns in the memo text. After returns the cursor moves across by two characters...
  18. kazl

    finding position of cursor within a text / edit window

    Hi to everybody. I'm working in Visual FoxPro 6 and am stuck on something that may be quite simple to someone out there... I want to create a "hot key" function within a text or edit box that can give me the current cursor position. This is so that I can then programatically insert...
  19. kazl

    VFP finding the Cursor Position within a text window

    Hi to everybody. I'm working in Visual FoxPro 6 and am stuck on something that may be quite simple to someone out there... I want to create a "hot key" function within a text or edit box that can give me the current cursor position. This is so that I can then programatically insert...

Part and Inventory Search

Back
Top