Load the debugger and add the thisForm.label's left, top, width, and height properties to the Watch window. And also the thisForm.scaleMode property.
Change scaleMode from 3 to 0 to 3 and watch those label properties.
--
Rick C. Hodgin
On the thisForm, there's a .scaleMode property. It defaults to 3 - Pixels, but if you set it to 0 - Foxels, it will work in character coordinates. This mimics the @ Y,X SAY command.
* Type these in the command window, or single-step through them:
_screen.scaleMode = 0 &&...
The issue arises due to network errors related to caching. When we disable network caching it significantly helps, but still doesn't resolve the issue at all of our customer sites.
This is the first solution we've had that actually allows a fix while the users are in the data. The live...
If you're on an 80486DX or later CPU, or have an 8087 or 80387 FPU, or are on an AMD64 machine, the FPU supports an IEEE-754 80-bit floating point format as well. It affords 18-19 significant digits.
There may be intrinsics for it. I've always coded directly in assembly.
--
Rick C. Hodgin
We have customers that have bad networking software / settings. We've worked with their IT to try and get them squared away, but some customers just won't address it or can't seem to get it fixed. As such, we run into missing records not in index (but they are in the table) on a regular basis...
I was hoping there was a class definition somewhere in the VFP source code that's been provided that I didn't know about, something that could be tweaked. I have a case where I want to wrap an existing application with a launcher, but when I do that it makes _vfp.ServerName point to the...
Does anybody know how to add an access method to the _vfp.ServerName property?
I'm willing to go with a C-based FLL solution if required.
Thank you in advance!
--
Rick C. Hodgin
Hi Greg. I wanted you to know that every time I use your code in my projects it makes me happy. Your gifts of talent and time are very much appreciated by me and my customers.
Thank you for having that heart.
--
Rick C. Hodgin
I have been using VFPxWorkbookXLSX for several years. I've found a half dozen bugs in it here and there. Minor things, and things I've corrected.
It's free and open source software. You can take what is there and tweak it as you desire. Add a SET STEP ON in there. Extract out the code into...
Hi Dan. I have emailed you some Visual FreePro info.
Thank you for following my project. It's broken my heart it never got completed. I tried every way I knew to drum up interest and get people to help me. It just wasn't meant to be.
--
Rick C. Hodgin
There are alternative libraries for Excel. One by Greg Greene we've used for years: VFPx Xlsx. Has had a few bugs we've fixed. Minor things.
I don't know of any equivalent for Word. But, old versions of MS Office are cheap and give you automation.
--
Rick C. Hodgin
In this particular case, it was an inventory item. The old supplier item is being updated with a new supplier. On the edit form it has old info on the left, new info on the right.
The business logic says in order to save the new item, something has to have changed in key fields. And those...
I have done that very thing in the past, though I often use keywords in the comment and do a $ found in to see if that's one. I do this for "sticky" controls which save and restore their values between form / process instances.
It gets more tricky with container objects and hierarchies. It's...
What would be another purpose for it? We can already store generic objects in Collections, or to create an Empty class and add them in various forms.
I'm still thinking this.AddGroup("name", ...), this.DeleteGroup("name"), and also CREATEOBJECT("name", "group", ...), though maybe...
I think we're evolving into a new Group class, which is like a collection, but is designed explicitly to hold controls and interact with their properties, events, and methods, in a controlled and known way, so that unnecessary errors don't occur.
Would be an interesting addition.
--
Rick C...
SetAll() has the option of a class, which is kind of like an IIF() on which ones to set. However, if you have a case where there are multiple of a particular class but only some of them need to be highlighted, the grouping is required. Another option might be to include an IIF() component as...
Nope. I had this come up yesterday. A user had a form with old values on the left, new values on the right, and they are supposed to change at least one to save the record. So, to highlight the fields they need to change on the condition when they click save and nothing has changed, I had to...
Yes. The group would be created as a first-class class member, like a POEM. It would allow multiple groupings to be created and referenced as an object, allowing the operation specified to be conducted on each one in turn.
--
Rick C. Hodgin
Concept:
* For any container object:
lo = this.AddGroup("input", this.txtDate, this.txtDesc, this.txtQty, this.txtAmt)
* Access as the returned object
lo.BackColor = RGB(255,255,128)
WAIT WINDOW "Pausing..."
* Or as the object off its parent, by name
this.input.BackColor = RGB(255,255,128)...
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.