Up till now "Control Set Focus hdlg,ctrlid" used with a button doesn't mark the button with the dashed rectangle that you get if you use the arrow keys to move to the button.
With a dialog with two buttons and I want the button last in the tab order to have the dashed rectangle I just issue a key_bd event %VK_RIGHT. To make the first button have the rectangle I issue a key_bd %VK_RIGHT and then a d key_bd %VK_LEFT. This, I'm finding out works 98% of the time. The other times neither button has the dashed rectangle.
Is there another way to get the button to show with the dashed rectangle indicating it has the focus?
Bob Mechler
With a dialog with two buttons and I want the button last in the tab order to have the dashed rectangle I just issue a key_bd event %VK_RIGHT. To make the first button have the rectangle I issue a key_bd %VK_RIGHT and then a d key_bd %VK_LEFT. This, I'm finding out works 98% of the time. The other times neither button has the dashed rectangle.
Is there another way to get the button to show with the dashed rectangle indicating it has the focus?
Bob Mechler
Comment