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!

Recent content by cmergal

  1. cmergal

    Set initial view Magnification

    Hi, I have a bunch of PDF files set with "Fit Page" magnification. I would like to set it to "Default" or "Page Width" programatically. Does anyone knows which OLE automation method should I call to accomplish this?
  2. cmergal

    Grid -Highlight

    Mike, the problem is that if I set the AllowCellSelection to .F. I can't change the check box I have on Column 1 because it behaves like a readonly column.
  3. cmergal

    Grid -Highlight

    Mike; I tired the DisabledBackColor with no luck. To get the controls in the grid it's a very tricky procedure that takes a couple of tries, the good thing is that it is documented go to the help of VFP8 and in the search tab write "displaying controls in grid columns" it should be the first...
  4. cmergal

    Grid -Highlight

    I am using VFP8 to create a form with a grid that contains 4 columns using the property sheet. The column controls are as follows: Column 1 - checkbox (readonly=.f.) Column 2 - textbox (readonly=.t.,opaque) Column 3 - textbox (readonly=.t.,opaque) Column 4 - editbox (readonly=.t.) Also I...
  5. cmergal

    Return an Array from a Form

    Hello: I have a form that I want to return an array from it. I call the form with a DO FORM frmName TO laretval. The form manipulates the data and stores the values in an array property and returns the property. The problem is that laretval is not an array and only stores the first element of...
  6. cmergal

    Multiline field in Grid (re-post)

    Thanks Mike this works pretty good. Now, when it comes up I have to click on it for the contents to display. Is there an autodisplay option? -Carlos
  7. cmergal

    Multiline field in Grid (re-post)

    Hello All; I have a memo field that I want to display in a grid. What I would like the user to see is the contents of the Memo field as is formated (by the SET MEMOWIDTH)in multiline style. Is this possible? How would I do it? TIA, Carlos
  8. cmergal

    TextBox in ToolBar

    Hello all: I created a toolbar using VFP toolbar class. In the toolbar I've included a number of objects among them a textbox. The problem I'm seeig is that you are not able to write in the textbox. Is this the way it works??? TIA, Carlos
  9. cmergal

    Pasting text to a webcontrol

    Mike, The INPUT='FILE' is an HTML variable type as textbox but its purpose is to browse for a file. If you put it on a web page it will place a textbox with a Browse button. There the user can type the file name with path or click the button and browse his computer for a file. From VFP you...
  10. cmergal

    Pasting text to a webcontrol

    I have a web control on a form that has an INPUT='File' field on it. I want to populate the path programatically from my form to that field. I read that the value property of the INPUT='File' field is protected for security reasons, so I started looking for another approach with the _cliptext...
  11. cmergal

    Rich textbox - Tab insertion

    Aircon: Thanks a lot it did work! I was considering something like this but wasn't sure how to get to it. It's a little frustrating that you have to create an additional object to accomplish something that the control is supposed to do. But the user wouldn't know the difference! Thanks all...
  12. cmergal

    Rich textbox - Tab insertion

    Mike, Have you been able to test this. I think you are right and that's the way to go, but we are still missing something because I get the same results. This is what I have in the click event (just for testing purposes) of the rtf control: thisform.SetAll('Tabstop', .f. ) WITH...
  13. cmergal

    Rich textbox - Tab insertion

    Hello All: I have a form that contains several controls including an ole rich textbox. The problem is that within the box I am not able to use the TAB key to insert the TAB characters. I read on a MS tech article that you have to set all the controls' tabstop property to .F. so I did. But this...
  14. cmergal

    Binary Large Object manipulation/General Fields

    Rick; Its a great idea but the first part the lcString=mytable.mygenfield comes with an error saying the operation is invalid for a general field.... ...So back to the drawing board! Carlos
  15. cmergal

    Binary Large Object manipulation/General Fields

    Hello all: I have a table in Informix that has a BLOB column that contains PDF files in it. When I connect to it the field comes as general but when I try to view it (CTRL+PgDn) a message comes up saying that the "OLE object is invalid or corrupted". I verified the data and it is...

Part and Inventory Search

Back
Top