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 derfloh 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 ggreen61

  1. ggreen61

    WebView2 AceEditor V2

    iswithzhz has a habit of posting images of his work that he has done with not much explanation or download link to see for yourself. This looks like an editor replacement for PRG file types. However, NotePad++ can do the same thing as well. So, I am not sure of any real benefit of using the...
  2. ggreen61

    How to interactively change control source of a grid at runtime?

    In my application framework, I define a property under the _VFP variable: ADDPROPERTY(_VFP, "DataPath", "") I set this to the path that contains the database that I am going to be working with. This allows me at design time to build the screens with the database tables referenced in the...
  3. ggreen61

    Combobox not populated with array

    See my reply to your original question. You have to do the AddItem method for each column with the same index value.
  4. ggreen61

    Combobox not populated with array

    I load my comboboxes in the Init method of the combobox and have no problems. Never had to do a refresh. In dependent comboboxes where a second combobox list is dependent on the first selection (like user selecting country and then the region/state from the second), I do a Clear and then...
  5. ggreen61

    Combobox not populated with array

    Try this code: With This FOR I=1 TO 3 && QtdeNomes .AddListItem(NOMES(I,1), NOMES(I,2)) NEXT I .ListIndex=1 ENDWITH This sets the ListItemId value and not the ListIndex. To know which item was selected: lnSelectedItemId = this.ListItemId
  6. ggreen61

    Combobox not populated with array

    Your parameters to the method AddItem are incorrect. The first parameter is the text to display, the second parameter is the index value (numeric), and the third parameter is the column value (numeric). So, the correct code should be (untested): With This FOR I=1 TO 3 && QtdeNomes...
  7. ggreen61

    Strange behavior with SET("Classlib")

    I think you can edit your own posts -- maybe just change the title and content?
  8. ggreen61

    FoxyPreviewer Variable _REPORTOUTPUT Not Found

    I hope that you did not use your actual serial number in the post above...
  9. ggreen61

    Visual foxpro matrix framework

    I would suggest that you develop your own framework if you expect to maintain your application for years to come. Any framework that is available is most likely not supported anymore and the documentation may be scarce with few people to ask questions. Also, any bugs that are existing would...
  10. ggreen61

    Custom class in a custom class

    The add method always adds to the custom class that you are working with not any class that was added. To add to the custom label class, you would need to open it and add the methods there. You can add a blank method to the label class and then open the container class and add the custom code...
  11. ggreen61

    Change words (language) in button set

    If you want to support multiple languages, take a look at Steven Black's International Toolkit: http://www.stevenblack.com/intl/
  12. ggreen61

    html editor

    I wrote a Richtext editor as shown: You can find the source code at: https://github.com/ggreen86/VFP-Editors Look for the classlib GKKTextEdit.vcx. There are multiple classes and images that are needed (all found at the link).
  13. ggreen61

    Foxypreviewer commercial license

    The 2.99 version of FoxyPreviewer is free to distribute with your applications. The 3.x version is not and must be licensed.
  14. ggreen61

    Progress of report being processed

    For the report you would need a custom report listener class for the report engine. I think there is an example in the foundation classes/examples that comes with VFP9. Also, Doug Hennig has published a PDF on report listener classes that is very good.
  15. ggreen61

    .dbf files mysteriously gone missing (or being deleted)

    There can be problems with renaming a bak file to a dbf file. If the dbf is part of a database (DBC) then the database will contain the structure definition to the dbf. The dbf backup file is usually created when you made a structural change. So, these may not match any longer and you could...

Part and Inventory Search

Back
Top