[Gambas-user] Request to add...
Fabien Bodard
gambas.fr at ...626...
Thu Aug 3 13:46:01 CEST 2006
mama... so many things for so less...
i ned first to say that i don't like the too many colors programs... if i
want to change i modify one or too control and all after is made with the
Desktop style !
Nevertheless i think maybe we can use groups for making style links...
2006/8/3, Ron Onstenk <ronstk at ...239...>:
>
> On Thursday 03 August 2006 00:03, Benoit Minisini wrote:
> > I see... I imagine that this feature would make GUI with many different
> fonts
> > and color everywhere more easy :-)
>
> For each textbox red text and blue background, border in yellow, font bold
> 10 pix.
> For each listbox blue text and yellow back, border in red, font italic 23
> pix.
> and only edit once, drop many.
>
> >
> > Otherwise, you have cut/copy & paste, and you can set the font of all
> selected
> > controls at once with the property sheet.
>
> True and that is not bad.
> But the user defined default can be saved in the .project file.
> When the programmer want to add later a extra textbox it is prestyled.
> The strong point is this user defaults can be stored for long term.
> Look i.e. to colour settings special carefull selected.
> (for this it should be not only a in the .project but also the gambas
> settings)
>
> >
> > I need a real concrete example to be convinced :-)
>
> Hummm, you have it already.
> You did define the default values for the control properties.
> Try it with other back/fore colour in the IDE/component C source files.
> The change is this defaults are reprogrammable in runtime.
>
> The only other way I know is going to someone with MS Access and
> press right mouse button after selecting a Control in the toolbox.
>
> Toolbox prog-array user form
> ---------------- ---------- ---------------
> default values user values into the *.form
> textbox.forecolor {black} -> I set to {red} -> I put on form and it is
> {red}
>
> Toolbox:
> Control.property with default values on start gambas (or the way as
> current done)
> In fact no change need
>
> prog-array: the properties changed by user in toolbox
> As key/value pair, key is "control/property", value=usersetvalue
> This way by delete/empty the user setting in prog-array and all is
> standard again.
> If the control is put on the form use the value from prog-array if the
> key (control.property) exists else the current standard.
> The property sheet looksup in array the same way and shows it as pseudo
> default.
> Easy to save for next project.
> A kind of house style to get all forms or projects the same look
>
> User form:
> For the *.form file
> If the user has not changed the Toolbox defaults on the form then no
> need
> to set it in the *.form file (as is done now i.e. Colors).
> If the user has set a value then that key/value goes in the *.form file
>
> If the control property is comming out of the prog-array then it is
> the same handling as changing the normal toolbox default.
> In other words, there does not really change here anything, easy :)
>
> For putting the control on the form it lookup in prog-array for exists
> or get the standard defaults.
>
> OK, easy to say but I think it is not really to complex this way.
>
>
> >
> > Regards,
> >
> > --
> > Benoit Minisini
> >
>
> Ron
>
> --
>
> The only bug free software from MickySoft is
> still shrink-wrapped in their warehouse...
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060803/3e88e5d9/attachment.html>
More information about the User
mailing list