Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VFP] Issue in Text...EndText #1662

Open
vfp9 opened this issue Dec 26, 2024 · 0 comments
Open

[VFP] Issue in Text...EndText #1662

vfp9 opened this issue Dec 26, 2024 · 0 comments

Comments

@vfp9
Copy link
Contributor

vfp9 commented Dec 26, 2024

Describe the bug
The execution does not give the correct result if the value of the control is directly referenced in it.

To Reproduce
Steps to reproduce the behavior:

First create a form and add a Textbox to the form, assuming its Name property is Textbox1.
If we add a method to the form, the code for the method has code similar to the following:

        text to myTest NoShow TextMerge
            temp = <<This.Textbox1.Text>>
        endtext

The value of the variable myTest is not what we expected.

In version 2.21.0.5, if you need to get the correct result, you can only use the following code:

        a1 = This.Textbox1.Text

        text to myTest NoShow TextMerge
            temp = <<a1>>
        endtext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant