Elohim Panggalo
asked on
i have two radiobutton and a click button. how to show warning message when none of the radiobutton checked?
User have to choose one from two radiobutton. When they havent choose ,how to show a warning box (mesaage box), is it possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
reading a book about Delphi should get you going way faster
like SAM's Teach yourself Delphi in 24 hours
like SAM's Teach yourself Delphi in 24 hours
ASKER
sorry, im newbie, this is my first time programming. thx for keep answering
really ? newbie ?
well, the first time usually does hurt :)
well, the first time usually does hurt :)
when you set a radiobutton as checked at design time, then you can't select nothing
unchecking a radiobutton doesn't work, checking another radiobutton, unchecks all others in the same container/panel
so, if you set a default radiobutton as checked, then you will never get that situation
but with a construction like this you could check for zero
Open in new window