Custom UI Question [View Buttons]
All  1-3  4-7

Previous
Next
 From:  Michael Gibson
9821.4 In reply to 9821.3 
Hi Tim, if you copy those icons into the ui\icons folder, then you can update ViewTabs.htm to the attached version and that should have images on the buttons.

That's done by making the <moi:TabButton> elements have <img> tags in them instead of <moi:Text> elements.

However, you will lose the label switch between reversed views, like when the tab switches its text from "Top" to "Bottom". Currently the label switching works through some code in the binary back end updating a text label value on the text element that it is expecting to see in there. At the moment there isn't any way to make it switch between 2 images instead.

I have updated this for the next v4 beta though so it will also call a script function on the UI so that something other than just a text label can be updated when views switch between reversed or regular. This is set up in this attached ViewTabs.htm file so that reverse view label switching should work with the next v4 beta release.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Whiteman Dynamic (TIM_WHITEMAN)
9821.5 In reply to 9821.4 
Hi Michael,

Thank you very much for your time and for so kindly helping me. I do always appreciate your effort and support.

That's great! I must admit that the non-reverse functionality is a bit of a game changer, as I use the reverse function quite a bit. However, it's very interesting to learn the difference between the ViewTabs.htm with the images and with the text. I'm really interested by the htm|css coding and would like to learn a little more, as I can see that it would benefit the understanding of MoI's backend greatly. It's really a balancing act between using the software creatively and tinkering with its functionality and appearance. Either way, it's great fun!

Really encouraging to hear of the next v4 beta and thank you for being so open and engaging with your users.

Kindest regards,

Tim
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Whiteman Dynamic (TIM_WHITEMAN)
9821.6 In reply to 9821.4 
Actually, I've just thought of something else relating to the view buttons that I had meant to ask you...

Assuming that I am using MoI without the custom icons (with the text labels), I was wondering if there is a way of left-clicking on the view button to reverse toggle instead of the right-click? So for example, when left-clicking on Top, it toggles to Bottom and vice versa.

Thanks Michael.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
9821.7 In reply to 9821.6 
Hi Tim,

re:
> Assuming that I am using MoI without the custom icons (with the text labels), I was
> wondering if there is a way of left-clicking on the view button to reverse toggle
> instead of the right-click? So for example, when left-clicking on Top, it toggles
> to Bottom and vice versa.

That's actually how it works currently. If the Top view is the active tab, then when you left click on it , it toggles to Bottom.

If the one you left click on is not active, it will become active. If you then left click it again while it is active it will toggle.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4-7