I didn't post my answer hastily,
I know, I've checked the timing. Even more I wrote "often hastily" meaning the usual case, not the particular one.
I read the first post several times before I wrote it. But because I couldn't be sure mine was the correct answer so I said I was guessing.
I'm in that forum for more than a 15 months, I have seen your sincere willingness to help people, once again, respect.
IMO for such a bad posting the OP should be asked for clarification or just ignored.
We may feel irritated when seeing someone asking question but provide too little information. But I think differently, maybe OP isn't good in English so he chose using less words. At least his name makes me think so.
As little as a single question mark?
As I wrote - then/else clauses are the same, from the condition it seems he wants to detect the
checked 'I' option, otherwise to do ... what?
From posts of
Thausand and yours,
only the 'I' option is detected and then a second inner if/else. No else for the outer if, that is - changed logic. But is that (or another) logic the intention of the OP? All branches lead to the same ShowMessage(), thus all snippets are in fact equivalent! How someone can guess anything?
Assuming the OP is a newbie, that won't help, IMO better to ask or just wait for him to find that he is posting hastily?
Edit: No, not all snippets are equivalent because of the changed logic (when Caption<>'I'). Sorry.