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...
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...
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...
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
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...
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...
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...
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).
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.