I am trying to determine a background colour for a text box in order to run a 'flash' routine to attract attention. Using if blocks, how do I ask if the background has no background colour?
flash {
txtbox.bg colour = if bg color is [blank]
then [red]
else [blank]
}
I typically have, at least in this case, no background in my text boxes. I find it a little cleaner. In this case I want to flash the background to attract attention, alternate background and text colour, blue on blank... white on blue... blue on blank... etc until attention is satisfied, then background goes to blank and text returns to blue
If at design time i set the bgcolour to none and text colour to blue, does that become the default at run time?
I would have thought text compare, but none of the afore mentioned will pick a one worded 'compound' from the list. I am trying to make a correction routine to eliminate accidental 'single word' additions to a list of compound words.
After the routines has run... nothing has changed....
So if I understand correctly, if I have an item in the grocery list, eg; 'cheese' amongst many other items such as "sausage rolls", "custard powder", "frozen peas", can I not examine each [item] in the array and count the words within it even if using split item at spaces?
Or I should be using split at spaces, thereby making a list from the item and then checking the length of the list called 'item's...
Ha aha, yes, I saw from the last post that I was incorrectly examining an item from a list by checking the length, not the list that all its components may have made...
the solution almost poked me in the eye...
by the way Tim, if you set the background colour of a control to, say red, during design time, and change that colour to [0] or [1] during run time, it will go to the default colour of the control, not the colour to which one set at design time.