[Beginner] - To use 'show' ?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

[Beginner] - To use 'show' ?

Post by shawnblc » Sun Sep 08, 2013 1:24 am

I'm in the beginning steps of creating a desktop application. There will be at least three user groups. To limit access to certain information & features would I use the 'show' command? For instance a superAdmin can add new users, users can't add users OR users can't see financials, but Managers and above can.

So would the 'show' command be what's used or is there something better I should be looking at?

Please advise.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: [Beginner] - To use 'show' ?

Post by Simon » Sun Sep 08, 2013 2:02 am

Hi shawnblc,
There are bunches of ways to do what you want. :)
Using your starting point you could show/hide groups. But I think that would mess with your UI, say the admin group takes up half the screen, it would look silly to the user. You could could put everything into a group and when an admin is using it there would be a scrollbar to more content.

I guess it would be easier just to show/hide a button that lead to a different card. When hidden it's disabled so a user couldn't click on it.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

shawnblc
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 342
Joined: Fri Jun 01, 2012 11:11 pm

Re: [Beginner] - To use 'show' ?

Post by shawnblc » Sun Sep 08, 2013 2:05 am

Thanks Simon, just wanted to make sure I was on the right path and not way out in left field while thinking about this.

Thank you for the response.

Post Reply