Edit control problem.

Startbeitrag von Igor Pobi am 27.04.2009 08:03

I have next problem: (Windev 12)

1. I create EDIT control "EDT_control1" and write some text when control is empty (Description -> Help -> Information text displayed when the control is empty).

2. I create button with this code: (when click): EDT_control1 = "" (set empty control)

3. Run program, enter some text in EDIT control and then click on button. Button execute code "EDT_control1 = "" but in EDT_control1, text entered into "text when control is empty" options IS NOT DISPLAYED !!!

Please test this !

Thanks !


Hello Igor,

Works well in my case. Same situation!!!???


von Louis Verbraak - am 27.04.2009 10:25
Hello !

Yes, your are correct. I test again. Works but FIRST time.
Please in runtime retry 2-3 times.

von Igor Pobi - am 27.04.2009 11:23
Hello Igor,

I've tried some more times. First I thought it has something to do with the 'Store the value' and 'History of inputs' of the control. I went wrong 2 times, but now it dosn't matter which combination I set for these 2 properties it always reacts in the right way. Strange behaviour, but I'm afraid I can't help you any furhter.

von Louis Verbraak - am 27.04.2009 14:28
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.