Steve,

On Mon, Jun 4, 2018 at 5:04 AM Stephen J. Orth via 4D_Tech <
[email protected]> wrote:

>  I really wish the tab object had more configuration options (especially
> on Windows).  It just seems to be a forgotten object.
>
​Tabs like that have sort of fallen out of fashion in large part. When is
the last time you saw that sort of tab bar on, well, anything else built in
the last five years?
There are a number of other solutions within 4D you can pretty easily use. ​

 1) buttons
With dynamic form variables (you are using dynamic variables now - right?)
you make a nice button, formatted the way you like. It can be invisible to
start. You make a project method for managing any of these tab buttons and
put it in the button script. (I talk about using these sorts of form
controllers in my Summit talk.) Instead of populating a tab array or list
you duplicate this button to create the ones you need. Yes you have to
manually manage setting the highlight on the 'current' tab, if that's
important. Very easy to assign pics on the fly to individual buttons, size
them as needed etc.

2) SVG
SVG is fast enough for you to just draw a nice tab graphic as needed.
Really. Rudy Mortimer did a presentation on using SVG interactively - which
means you could detect which 'box' a user clicked on within the SVG itself.
I'd probably just put some invisible buttons over the good parts as
described above.

3) webarea
Webareas can be small. They can be, say, 20px high x whatever wide. Simple
code (I'm talking HTML & CSS) to create an attractive interface element and
trapping the user clicks is simple. Take the borders off the webarea and
it's a seamless integration.

I admit none of these is as easy as dropping in the tab area from the form
designer. But they are modular solutions so once you work out the one you
like it becomes easy to implement. Personally I think the webarea is easy
and flexible.

-- 
Kirk Brooks
San Francisco, CA
=======================

*We go vote - they go home*
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to