|
| Change text of button in looper |
| Iniciado por guest, 02,oct. 2017 18:07 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 02,octubre 2017 - 18:07 |
Hi All,
This is a silly thing - but I can't make it happen.
I have a looper on a page with a 1 x command button per line. I want the text to change colour on mouseover.
I realise it is browser code - but I have the syntax wrong.
Looper_groups[Looper_groups].cmd_group_name..Color=LightMagenta
This is not allowed in browser code.
All help gratefully received.
Mike |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,octubre 2017 - 18:44 |
May not be the case in WB but in WD you would need to use an attribute set for the color of the button control.
Looper_groups[Looper_groups].attBtnColor=LightMagenta
This assumes that the button otself does not use an image to display its background. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,octubre 2017 - 20:56 |
Hi Derek,
Thanks for the response.
Unfortunately it appears that webdev is a bit different.
Kindest Regards,
Mike |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,octubre 2017 - 08:53 |
Hi Mike,
Change the css of the button.
1 Go to Description of the button. 2 click on Style tab 3 Click button CSS for the element type Now you can change the css styl ( then all is done for all the buttons that use the style) or you can change the css for this button specific. 4 change style css for this button: click on the "More options" tekst. Now a new window opens. In the "Over" section you can change anything you want for the mouse over event. including your colour change
regards
Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 03,octubre 2017 - 14:42 |
Hi Guys,
SOLVED
Thanks for the responses!!!
HERE IS THE ISSUE WITHIN WEBDEV...
I tried to change a button text css that was already in the looper. To get around this, make a new button and create a new css as per DerekT comment. Now move this button into the looper. Add it to the attributes of the looper.
It will now operate correctly.
Kindest Regards,
Mike |
| |
| |
| | | |
|
| | | | |
| | |
|