M
Michel S.
Hi !
I'm using textbox/combo pairs to display and edit fields (in textbox
got focus event, I set the focus to the combo and in the combo' after
update event, I set the textbox valut to the combo's.).
In design mode, I set the combo to back and the text box to front, in
order to show the textbox upon exiting the field.
Since I use the same combo to edit the values of many fields, I also
change it's coordinates to those of the textbox in it's gotfocus event.
The problem I experience is that when exiting the field, it's the combo
that stays on the screen.
My questions are :
- does changing a control coordinates affect it's front/back settings ?
- if so, can the "send to front/back" setting for a control be set
programmatically ?
- if not, what's wrong with this way of doing things ?
Thanks !
I'm using textbox/combo pairs to display and edit fields (in textbox
got focus event, I set the focus to the combo and in the combo' after
update event, I set the textbox valut to the combo's.).
In design mode, I set the combo to back and the text box to front, in
order to show the textbox upon exiting the field.
Since I use the same combo to edit the values of many fields, I also
change it's coordinates to those of the textbox in it's gotfocus event.
The problem I experience is that when exiting the field, it's the combo
that stays on the screen.
My questions are :
- does changing a control coordinates affect it's front/back settings ?
- if so, can the "send to front/back" setting for a control be set
programmatically ?
- if not, what's wrong with this way of doing things ?
Thanks !