[Done] Can't remove window color once set

You need some new stunning features ? Tell us here.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

[Done] Can't remove window color once set

Post by MachineCode »

When I select a color for a window, I can't remove that color unless I manually edit the created code. Can a method be made for removing a color with the color property field, somehow?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Klonk
Enthusiast
Enthusiast
Posts: 173
Joined: Tue Jul 13, 2004 2:17 pm

Re: Can't remove window color once set

Post by Klonk »

Same for text, backgrounds etc.

+1
Bye Karl
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Can't remove window color once set

Post by IdeasVacuum »

In essence, the SetWindowColor(), SetGadgetColor() functions should be removed as required - could probably have a button on the form list, below the colour input, to do that.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
luciano
Enthusiast
Enthusiast
Posts: 151
Joined: Wed Mar 09, 2011 8:25 pm

Re: Can't remove window color once set

Post by luciano »

Colors are removed right-clicking on the color cell, but I found out that Window color is "off by one", you need to right click on the cell above (Parent instead of Color) to have the option to Remove color.
This happens in 5.11 and 5.20 up to B5
(I am testing in windows, I do not know if it happens in other OS's)

Image
User avatar
TI-994A
Addict
Addict
Posts: 2698
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Can't remove window color once set

Post by TI-994A »

luciano wrote:Colors are removed right-clicking on the color cell, but I found out that Window color is "off by one", you need to right click on the cell above (Parent instead of Color) to have the option to Remove color.
Hi luciano. Good catch! Thanks for pointing that out.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Can't remove window color once set

Post by Polo »

Fixed.
qudsia
New User
New User
Posts: 1
Joined: Wed Dec 31, 2014 8:40 am

Re: [Done] Can't remove window color once set

Post by qudsia »

Can someone help me?
I'm using PureBasic 5.11 and opened a new form. Now i want to add a menu to the form and populate it with menu items.
How can a do that?
______________________
Get fast success in 200-120 ccna exam and testking exam questions by using ccna video tutorials.We also offer ccnp routing and switching official certification library and www.kumc.edu for your prep of Florida National University.
Post Reply