How to set the cursor in FBD