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 wOOdy-Soft 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 kazl

  1. kazl

    Top Level Forms / Writing Notes in a separate Window

    Thanks for your responses. Will have to have another go at this. Karen
  2. 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...
  3. kazl

    DynamicBackColor Syntax and Usage

    Hi Although this is over 15 months old I wanted to give Dave a star. With help from the TypeBackColor UDF in Dave's FAQ I have made my grid rows different colours according to category and still kept the highlight bar. The code is as follows: *--- in the Form definition PROCEDURE...
  4. kazl

    Cursor Position in EditBox / Scroll Bar issue

    Thanks Volker and Dave for your responses I started again with a new form and edit box and managed to get it working properly. Then I found the root of the problem. It was to do with the grid program that calls the form. When I select a record from the grid, there was a problem in the scrolling...
  5. kazl

    Cursor Position in EditBox / Scroll Bar issue

    Hi The problem occurs when I position the cursor in the text, move further down the text with the scroll bar and then click at the end of the text. The text scrolls back up and the cursor appears in the wrong place. I've tested for this on the Editbox example in Solution.App and that doesn't...
  6. 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...
  7. kazl

    Copy & Paste oleRTF into Word - results not Rich Text

    Hi Stefan5627 Thank you very much for posting your function. Initially I was getting the same problems BUT on a fresh attempt on my laptop this works perfectly. Seems my old faithful PC has its own way of doing things, even with the same versions of Word and VFP. If I can find out why then...
  8. kazl

    Copy & Paste oleRTF into Word - results not Rich Text

    OK. Thanks Mike. Actually, the reason it has to go into Word now is because the oleRTF control is misbehaving. E.G. It won't let users type the number 1, except with the numeric pad, which is strange. I'll come back to it later I guess. Thanks for replying. Karen
  9. 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...
  10. kazl

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

    Thanks Mike. Very simple and right in front of me. Have a good weekend. Kaz.
  11. 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...
  12. kazl

    Whats the difference between SetFocus and SetFocus()?

    Hi I wondered if the presence or absence of () was making my program misbehave. But it's just my grid code, too may things going on (as usual). Thank you Chris and Mike for your replies. Kaz
  13. 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 ()...
  14. kazl

    How to display "Yes" instead of .T.?

    Hi. Quick Note for future reference... medic advised: <<I normally assign "Y" to the InputMask property in such case. But then, it can only display "Y" or "N"...not "Yes" or "No".>> If you try the Y/N input mask and find that it doesn't always work, it is because you need to apply the...
  15. kazl

    Word Automation - best way to select printer tray?

    Hi Craig You are right. With these constants you can select the paper tray before and after printing the document. My only problem is that the alternate pages have different page setup and column widths. So I would have needed to apply the paper tray changes to each page somehow and it got a...

Part and Inventory Search

Back
Top