[Gambas-user] Model "T" Button BackGround Color, Tab order Resolved

Lewis Balentine lewis at ...3412...
Sun Nov 30 15:59:45 CET 2014


OK --- I found the answer to the Tab order.
Kind of makes the Button Color Question mute ...

On 11/30/2014 07:48 AM, Lewis Balentine wrote:
> It is claimed that Henry Ford  said, "You can have a Model 'T' in any
> color you want as long as it is black."
>
> I am having a similar problem with the button controls but in grey. This
> all started when I was testing 'tabbing' between controls. The
> difference in color between the control that has focus and the ones that
> do not was barely perceptible. So first I tried making the text Bold
> when they got focus but some controls do not seem to be getting focus.
> So I though I would try changing the background color. I select button
> one on the form in the IDE and changed the background to bright yellow
> &H00BFBF&.
>
> Then I ran the program and sure enough:
> Any color I want as long as it is grey.
>
> OK ... there is more than one way to skin a cat.
> I put this line in the Sub Form_Open():
> Button1.Background = &H00BFBF&
>
> Then I ran the program again.
> Any color I want as long as it is grey.
> Well at least it is consistent.
>
> So I am guessing that there is a system (gb.desktop or gb.qt4) class
> color array that I need to 'tamper' with to change the button background
> colors: normal, focus, selected? /The Wiki could use a search feature./
>
> The original question I was trying to resolve:
>     What is the order of and is there a way to control the Tab Order of
> controls on a form?
>
> Lewis
>
> [System]
> Gambas=3.6.2
> OperatingSystem=Linux
> Kernel=3.13.0-24-generic
> Architecture=x86_64
> Distribution=Linux Mint 17 Qiana
> Desktop=MATE
> Theme=QGtk
> Language=en_US.UTF-8
> Memory=15994M
>
> [Libraries]
> Cairo=libcairo.so.2.11301.0
> Curl=libcurl.so.4.3.0
> DBus=libdbus-1.so.3.7.6
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.204.0
> GTK+3=libgtk-3.so.0.1000.8
> GTK+=libgtk-x11-2.0.so.0.2400.23
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.44.0.0
> Qt4=libQtCore.so.4.8.6
> SDL=libSDL-1.2.so.0.11.4
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list