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

Can you not change the value of a multiline StringInput? #60

Closed
e-ave opened this issue Dec 17, 2023 · 0 comments
Closed

Can you not change the value of a multiline StringInput? #60

e-ave opened this issue Dec 17, 2023 · 0 comments

Comments

@e-ave
Copy link

e-ave commented Dec 17, 2023

Edit: Got confused because StringLabel and StringInput are separate, but Form.MultiLineTextControl supports InputControl, so it works now!

I have no issue with the normal StringInput, but when I use Form.FT_MULTI_LINE_TEXT, I am unable to set the value at any time.

First I tried to set the initial value of the input

'iPrompt': Form.StringInput(value="test", tp=Form.FT_MULTI_LINE_TEXT),

Which results in an empty box

Then I tried this, which does nothing

self.iPrompt.value = "test"

and

self.iPrompt.text= "test"

and in a form change action also does nothing:

self.SetControlValue(self.iPrompt, "test")
self.RefreshField(self.iPrompt)

I was unable to find a single example in the IDA docs or Github search or Google search. Is it just not supported? I am using IDA Pro 7.7 by the way.

@e-ave e-ave closed this as completed Dec 17, 2023
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