Hello,
I have found in some circumstances that if I create a Container on a Form and a place a button (or any other gadget) into that container the variable for that gadget shows as a combo_x (x being the next number in the list) in the Properties box.
If I click off the gadget and then click back onto it it then shows the correct variable of button_x
It is not really reproducible as it only happens occasionally.
[Done] Gadget Variable shows incorrectly
-
- Enthusiast
- Posts: 122
- Joined: Sat Nov 19, 2011 6:51 pm
-
- Enthusiast
- Posts: 122
- Joined: Sat Nov 19, 2011 6:51 pm
Re: Gadget Variable shows incorrectly
I have now managed to reproduce it now.
Create a new form
Create a container
create a 4 button in the container
create a button outside the container in the form
create a new container
create 2 buttons in the new container
create a button outside the container on the form and then directly look at the properties and you will see button_7.
now create a button in the second container and look at the button properties on the righthand side of the IDE and it will show an GadgetID of Button_7 instead of button_8
Click an empty area of the form so the button loses focus and now click back onto the button it and it will now show button_8 correctly.
If you want to carry on create a new button on the form and button_9 will show and then create another button this time back into the second container and button_9 will show instead of Button_10
Hope this helps
Can anyone else confirm?
Create a new form
Create a container
create a 4 button in the container
create a button outside the container in the form
create a new container
create 2 buttons in the new container
create a button outside the container on the form and then directly look at the properties and you will see button_7.
now create a button in the second container and look at the button properties on the righthand side of the IDE and it will show an GadgetID of Button_7 instead of button_8
Click an empty area of the form so the button loses focus and now click back onto the button it and it will now show button_8 correctly.
If you want to carry on create a new button on the form and button_9 will show and then create another button this time back into the second container and button_9 will show instead of Button_10
Hope this helps
Can anyone else confirm?
Re: Gadget Variable shows incorrectly
Well spotted thanks! Fixed.