Search the web
Sign In
New User? Sign Up
gui4cli · Open Source script language
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 5325 - 5326 of 5326   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#5326 From: "chris.kevany" <chris.kevany@...>
Date: Sat Nov 28, 2009 6:04 pm
Subject: Re: Uploaded version 19.31
chris.kevany
Offline Offline
Send Email Send Email
 
Hi Dimitris,

>   . g4c will create the "current user" and "local machine" user registry keys
>  (software/gui4cli/g4c and gui), if in administrator mode, since these keys
>  do not require g4c's path.

My experience with creating a guest account in XP is that Windows by default
allows to create new keys at "current user". It is the administrator that
decides thereafter if it will be blocked or not.

So I think that simply disable the registry commands if not in administrator
mode
could cause unnecessary restrictions for certain users.

Chris

#5325 From: rené <rene-zimmerli@...>
Date: Sat Nov 7, 2009 8:47 pm
Subject: Re: OSButton not supporting background color
reneatch
Offline Offline
Send Email Send Email
 
Hi Fer,

Got it. This looks perfect and should not be a big deal to implement.
Thanks a lot for your useful programming tips.

Rene

--- In gui4cli@yahoogroups.com, "fmstoopman" <fmstoopman@...> wrote:
>
>
>
> Hi Rene,
>
>
> I don't think its possible to show a sunken button when
> disabled but there are 2 options (which imho look better
> than a button that looks like being continually pressed):
> 1. make a 3rd image for each Ximage in a dull grey color
> and show that one when disabled.
> 2. Only for button style Ximage. Set the style attr to
> -button when disabled and set it back to button when enabled.
>
> I've uploaded this example as Buttontest2.gui in the
> Files/gui section. Now the buttons 4 and 6 are used to
> disable/enable buttons 1 and 3.
>
>
>
> fer
>
>
> --- In gui4cli@yahoogroups.com, rené <rene-zimmerli@> wrote:
> >
> > Hi Fer,
> >
> > Thanks for your feedback. Tested it. If the normal xButton or xTextBox using
OSButton can't change the background color I will use your example.
> > I have a question to your solution. To disable an 'xImage' button works
fine, but is there also a way to make it sunken in disabled state like a normal
button?
> >
> > Rene
> >
> > --- In gui4cli@yahoogroups.com, "fmstoopman" <fmstoopman@> wrote:
> > >
> > >
> > >
> > > Hi Rene,
> > >
> > > In the files/gui section I've uploaded Buttontest2.gui, a
> > > slightly modified version from the one uploaded in 2007,
> > > showing images as buttons. All use blended colors for
> > > background and some are using msover to show a 3-state
> > > button. Although it's a bit more complicated to construct
> > > the buttons, the routine can be used in any gui and the result
> > > is not that bad.
> > >
> > >
> > > fer
> > >
> > >
> > >
> > > --- In gui4cli@yahoogroups.com, rené <rene-zimmerli@> wrote:
> > > >
> > > > Hi Dimitris,
> > > >
> > > > This might be a 'works as designed' but maybe this is something for your
next release... Thank you!
> > > >
> > > > Users asked me to change on specific situations the button color.
> > > > This is not supported, so I looked into xTextBox using style OSBUTTON.
> > > >
> > > > It seems the background color can't be changed if style OSBUTTON is
specified. It works using style BUTTON.
> > > >
> > > > Thanks, Rene
> > > >
> > > > PS. I'm aware of XIMAGE and that I could do even more crazy things with
that.
> > > >
> > > > Simple test program:
> > > >
> > > > -----------------------------------------------------
> > > > G4C OSBUTTON
> > > > WINDOW #center #center 30 300 200 "OSBUTTON gui"
> > > >  WinAttr style resize
> > > > xOnLoad
> > > >  col_0 = "0/0/0/200/120/120"
> > > >  col_1 = "190/190/190/220/220/220"
> > > >  c = 1
> > > >  GuiOpen #this
> > > > xOnClose
> > > >  GuiQuit #this
> > > > xTextBox #center 40 200 50 "OSButton - Press me"
> > > >  Id mybutton1;Attr style OSBUTTON/center/vcenter
> > > >  Attr color 0/0/0/120/120/120
> > > >  c = $(abs($c - 1))
> > > >  SetAttr #this mybutton1 color $col_$c
> > > > xTextBox #center 110 200 50 "Button - Press me"
> > > >  Id mybutton2;Attr style BUTTON/center/vcenter
> > > >  Attr color 0/0/0/120/120/120
> > > >  c = $(abs($c - 1))
> > > >  SetAttr #this mybutton2 color $col_$c
> > > > -----------------------------------------------------
> > > >
> > >
> >
>

Messages 5325 - 5326 of 5326   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help