Daniel Janz
2008-01-30 13:02:16 UTC
Hi,
I currently try to check if a Edit-Control is empty (has no text), I
already found the MaskedEdit-Control but I think it doesn't meet my
requirements. If I understood this control right, I would have to define
a mask with fixed length. But I need the control to validate if a server
name was filled in and only want to check if the control was left empty
to display an error message.
Is this possible in a simple way? I already tried to check the property: <Publish Event="SpawnDialog" Value="WrongTextInputDialog">DBNAME <>(<>) ""</Publish>
But it doesn't work like expected.
Would be grateful for any help.
I currently try to check if a Edit-Control is empty (has no text), I
already found the MaskedEdit-Control but I think it doesn't meet my
requirements. If I understood this control right, I would have to define
a mask with fixed length. But I need the control to validate if a server
name was filled in and only want to check if the control was left empty
to display an error message.
Is this possible in a simple way? I already tried to check the property: <Publish Event="SpawnDialog" Value="WrongTextInputDialog">DBNAME <>(<>) ""</Publish>
But it doesn't work like expected.
Would be grateful for any help.