LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ResetTextbox causes error -74 for 'new style' text boxes in CVI 7.1

Hi,

 

After updating UIR panel controls originally created in CVI 5.5 from 'classic style' to the new UIR styles offered in CVI 7.1, function calls that modify the contents of text boxes now cause a non-fatal error (-74 - control passed is not a textbox). The controls are on tabs created with EasyTab and the panel handles created by EasyTab are used in the function calls to modify the text boxes. The source code hasn't been changed - just the UIR file (and its header file). In particluar, I routinely use the ResetTextBox function to overwrite text with a new string. Other than reverting to the 'classic style' for UIR text boxes, are there any other solutions?

 

Many thanks,

John. 

0 Kudos
Message 1 of 3
(3,167 Views)
It has happened to me sometimes to receive strange errors when passing projects from one older version to a newer one. In some cases the problems solved by saving the UIR in text format in the older IDE and reloading from text format in the newer. Saving and reloading from text format are items of the Options menu (I no more have CVI5.5 installed on any machine so I cannot be sure of it on such an old release).


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,165 Views)

Thanks Roberto,

I will give this a try.

John.

0 Kudos
Message 3 of 3
(3,161 Views)