Jump to content

Ctl reedited is invalid after saved


Recommended Posts

Posted

image.png.f8fa499c08717e4ad156548532c9ed07.png

Hi everyone,

there was a code's picture that reedit ctl‘s Booltext and saved to new file, it workd ok in development environment,but new ctl could be invalid when it run as exe at runtime ,I did not how to solute it.Could you give me some suggestion.

Thank you.

Posted
42 minutes ago, ensegre said:

image.png.a231771d72d1735b8869fd788eaeb5c4.png

I do not know what is a LV stringApp instance, but I doubt that it is exactly a loadable control. What are you trying to achieve exactly?

 

ensegre, thank you for your reply, I want to achieve one application(exe) that has the function: edit a template boolean ctl's BoolText and save to new boolean ctl by programming. And the code works fine in development environment, but it is invaild at runtime when used the exe built.

Posted

I would have said why don't you use Save.Instrument which is a public method, but I see that it is not supported in runtime, and that is stated expressly. A fortiori, a private method which "must wait until the user interface isidle" might be a completely IDE thing.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.