It's not really plausible to me, though, why you could create a button rendered disabled, to not have anything that could enable it but removing it and replacing it with a new enabled button. The only justification for a disabled button is to show there is a way to enable it. The only reason a...
Do you have a help file about FPM 2.6b?
It may help to refer to it - https://www.vfphelp.com/help/_5wn12pwjw.htm has a legacy help chapter on @...GET Buttons.
I have read through and it describes how to create disabled buttons, but there is no mention about getting the status. So as Joe...
Using field names that are reserved words, you can make sure SQL Server gets what you intend to say by using square brackets as name delimiters.
So:
SELECT IDNum, CAST([Image] as Image) As DocImage From ITable Where IDNum = 3
But it seems it's not necessary in this case.
In https://doughennig.com/Papers/Pub/Hennig_ODBC.pdf you learn about what you describe:
Doug still recommends using the newest ODBC Driver X for SQL Server series with workarounds.
All in all the question you had was more about how to address an object on a form, which back then you didn't realize it was actually about.
Well, let me focus a bit on the Enabling of a control from code outside of the control. It's natural, at first sight, you have to control the enabled...
You could say VFPA has gone the more straight forward path of making VFP work with newer C++ runtimes. Anyway, the idea to base a VFP runtime on the .NET framework enables all kinds of new options as you dive into the .NET world, that way. One consequence of that is that Guioneu also works on...
True, I just know Christof uses it himself. The idea behind it is to stay VFP and have a replacement runtime once MS may decide against compatibility with the vfp9r.dll and - as a more realistic danger - the msvcr71.dll C++ runtime. I guess C++ 7.1 is already older than VFP9 and also deprecated...
Why are you doing these replaces at all, if you use controlsource, that's a two way binding, it reads from the contolsource and displays and it saves the modified value back to the controlsource. There is no need for all these replaces.
A data type mismatch error in such code actually says that...
A form essentially is a treeview of objects, especially when objects are containers that can contain further objects, like the containerr classs or like a pageframe is a container of several pages, which each is a container for further controls, even further pageframes or containers.
And as Joe...
You mean at design time, don't you, EinTerraner? I don't think you have the option to design that like a dropdown list of the possible values of a native property like alignment.
What you may control is a script that intellisense runs, when you write objectnamepropertyname= and space. For that...
Not sure, if you actually mean the usual button, or the checkboix in style = 1 (grapohical), which displays the value it can have (.T./.F.) as pushed in or not.
Well, then it's not enabled disabled, but pushed, not pushed and the value is that "status", because in the end it's a checkbox that...
Thanks for pointing out how you came to implement an interpreter before Execscript existed. If your invented language doesn't match VFP 1:1, then it's obviouslly not as simple as throwing out your interpreter and instead do EXECSCRIPT.
I think we have a bit of a language barrier and not all I...
Why would you not use EXECSCRIPT(Memo) to simply execute VFP code in a memo field?
I think the runtime even supports the COMPILE commmand. Not BUILD, that's for sure, MS forbids that otherwise the license to distribute the runtime royalty free would grant you to provide a VFP IDE royalty free...
Then post that one line and the others. There must be a difference you're blind for.
Could be something like having a dot instead of a omma in a function call, so instead of separating two parameters, you have a dot between them, which could work between digits and make it one float numeric...
Mmerlin, I'm aware FoxPro also existed on Mac and even for SCO Unix. The number of options is limited for polls and I could make all options single options anyway, I consider them unimportant to the FoxPro world. Sorry, I realize it's "the world" to you, when that's the only version you support.
Another problem that also was a problem in the old thread ( I found it here: https://www.tek-tips.com/threads/vfp-and-ai-chatgpt.1828484/ )
Don't have line feeds in the cPrompt part, a string in JSON can't have line feeds. You could convert them to \n to state a line feed in the text, it...
I once looked into InterSystems Caché in the beginning of the two thousands, but other than a bit of testing and eyeing with the concecpt I never got warm with it. It could be worth looking at what's in store from them, today, though the Wikipedia article about it...
I set the controlsource to an N field to test what could cause a datatype mismatch and used the Inputmask anyway - that also works without error, so you can use inputmasks when binding to character fields (or properties, variables) and also when binding to numeric fields.
So, Filip, whatever...
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.