Sample Code of Getting Focus Value